boundary condition icofoam: how to make a ramp
I hope I am in the right forum here.
I want to change the icofoam case in the tutorial in a way that the upper wall doesn't has the speed of "1" at the beginning.
So I need "timeVaryingUniformFixedValue". But to use that type I need to write "EXE_LIBS = -lcfdTools" into the Make/options file and than recompile it. (This is what I have read so far).
First of all, ist that true?
And second, I am using Ubuntu. So with "sudo gedit" I was able to change the file in "opt/openfoam210/applications/solvers"...
But how do I recompile it from there? Or am I doing everything wrong here :-(
Thanks for every answer
In order to apply different boundary conditions you don't need to compile anything, you just have to modify the files in the directory 0 (please read the manual :-) ).
In general, in order to apply timeVaryingUniformFixedValue you would do the following:
i) open 0/U with an editor and change the field
ii) create a file in the main directory of the case called "time-series" and place the time and velocity values like this
(0. (0 0 0))
(1. (1 0 0))
More information on this BC
Compilation is performed with "wmake" or "wmake libso" (again, read the manual).
But you don't really need this right now.
Thank you very much, but it doesn't work.
Here is the problem:
And I don't know how to do that.
Ok, now your problem is much clearer!
I didn't realize there were such changes in v2.1.0.
Here, take a look at this:
"uniformFixedValue" is what you are looking for
(I guess it's the part with the "table")
Thank you very much.
I didn't realize that the new version can't work with the old tutorials.
This is how I solve it now:
|All times are GMT -4. The time now is 13:35.|