How to simulation propeller using openfoam8 - openfoam

first, I'm sorry. I can't speak English well.
I'm talking using google translate.
I'm not used to using openfoam.
I want to simulation propeller using openfoam8, but openfoam8 haven't pimpleDyMFoam.
Please teach me how to simulation propeller using openfoam8.
thanks.

Related

How to use specific a GPU device for learning in keras R?

I have two gpu device GTX 1080ti.
I do work in Rstudio with keras.
So, I want to use specific gpu device to each script.
I have heard for this, some people recommend to use with(tf$device("/:gpu1").
But, I am using R not python.
I can't find the tf function and device funtion.
And another recommendation is to use os.environ["CUDA_VISIBLE_DEVICES"]="1".
But, I can not find the os.environ function.
Please help me anybody who can help.
So, please tell me more detail about code for this problem.
Thank you.

Need help in R for coding equations

I'm pretty new to using R and I am certainly unsure on how to plug in and graph equations. For an example I have to plot the Goldmann-Hodgkin-Katz equation
(since my reputation is too low I can't send a nice equation so here's a link)
http://www.cnbc.cmu.edu/~bard/passive2/node3.html
This is for a neuroscience class and I'm pretty savvy with coding in java but struggle with terminal based languages.
Thanks for all your help!
To get started, check out http://stat.ethz.ch/R-manual/R-devel/library/graphics/html/curve.html.
Here is an example:
curve(3*x^2 + 2)

R template for evolutionary algorithms?

Is there a ready template to run evolutionary\genetic algorithms in R?
I am interested in a code that would allow me to add graphical output and user input between iterations.
Thanks for reading!
p.s. found this posting Is there any Genetic Programming code written R
I don't know about genetic programming code written in R, but there is a program called HeuristicLab you can use.
There you can add an External Evaluator in R code and there you can add your graphical output.
Here is a link on how to do it:
http://dev.heuristiclab.com/trac/hl/core/wiki/UsersHowtosOptimizingExternalApplications
Its an open source program and the staff that wrote it usually answers any question you have very quickly.
Here is the download page: http://dev.heuristiclab.com/trac/hl/core/wiki
good luck!
Yep, i think http://rsymbolic.org/projects/show/rgp is exactly what you're looking for.

How to make interactive charts together with R language

I'm helping my friend make a website. He previously used R language to generate statistical charts. Now he want to generate some dynamic chart so that when users move mouse over certain part of the chart there will be some description/complementary information pops up for them to read. What kind of technology/tools/packages I can use for this purpose?
PS: I've explored some possible ways, yet none of them fits my needs. I've tried rggobi + ggobi. They can't coz they are not for web applications. iPlot can't do it coz it generates histogram only. I've thought about asking R produces some intermediate date which I can pass to some JavaScript packages like HighCharts. Yet, apparently R is much powerful than JS. R can generates some advanced type of charts which JS just can't do.
You should use R to generate the data and then export it in a format that a javascript framework for graphs can understand.
This way you could benefit from the advanced statistical analysis provided by R and the presentation layer of javascript.
Lots of solutions exist for this problem, but i've heard lots of good things about Raphael and its chart plugin, which you may want to investigate
The playwith package offers facilities to manipulate rgl graphics. A couple of links:
http://code.google.com/p/playwith/w/list
http://www.r-bloggers.com/playing-with-the-%E2%80%98playwith%E2%80%99-package/
Look at the sendplot package or the RSVGTipsDevice package.

Quickly cross-check complex math results?

I am doing matrix operations on large matrices in my C++ program. I need to verify the results that I get, I used to use WolframAlpha for the task up until now. But my inputs are very large now, and the web interface does NOT accept such large values (textfield is limited).
I am looking for a better solution to quickly cross-check/do math problems.
I know there is Matlab but I have never used it and I don't know if thats what will suffice my needs and how steep the learning curve would be?
Is this the time to make the jump? or there are other solutions?
If you don't mind using python, numpy might be an option.
Apart from the license costs, MATLAB is the state of the art numerical math tool. There is octave as free open source alternative, with a similar syntax. The learning curve is for both tools absolutely smooth!
WolframAlpha is web interface to Wolfram Mathematica. The command syntax is exactly the same. If you have access to Mathematica at your university, it would be most smooth choice for you since you already have experience with WolframAlpha.
You may also try some packages to convert Mathematica commands to MATLAB:
ToMatlab
Mathematica Symbolic Toolbox for MATLAB 2.0
Let us know in more details what is your validation process. How your data look like and what commands have you used in WolframALpha? Then we can help you with MATLAB alternative.

Resources