|
[Sponsors] |
boundary condition icofoam: how to make a ramp |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 6, 2012, 06:22 |
boundary condition icofoam: how to make a ramp
|
#1 |
New Member
Join Date: Jan 2012
Location: Germany
Posts: 9
Rep Power: 14 |
hey,
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 |
|
January 6, 2012, 11:40 |
|
#2 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
Hello
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 movingWall { type timeVaryingUniformFixedValue; fileName "time-series"; outOfBounds clamp; } 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 http://www.cfd-online.com/Forums/ope...foam-15-a.html http://www.cfd-online.com/Forums/ope...value-b-c.html http://www.cfd-online.com/Forums/ope...ixedvalue.html http://www.cfd-online.com/Forums/ope...ixedvalue.html Compilation is performed with "wmake" or "wmake libso" (again, read the manual). But you don't really need this right now. Regards, S.P. |
|
January 6, 2012, 15:40 |
|
#3 | |
New Member
Join Date: Jan 2012
Location: Germany
Posts: 9
Rep Power: 14 |
Thank you very much, but it doesn't work.
Here is the problem: Quote:
And I don't know how to do that. |
||
January 6, 2012, 15:57 |
|
#4 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
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: http://www.openfoam.org/version2.1.0...conditions.php "uniformFixedValue" is what you are looking for (I guess it's the part with the "table") |
|
January 6, 2012, 18:19 |
|
#5 | |
New Member
Join Date: Jan 2012
Location: Germany
Posts: 9
Rep Power: 14 |
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: Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boundary Conditions | Thomas P. Abraham | Main CFD Forum | 20 | July 7, 2013 06:05 |
SymmetryPlane Boundary Condition | raytracer | OpenFOAM Running, Solving & CFD | 0 | July 11, 2008 18:04 |
CFX Solver : Sudden crash | Hervé | CFX | 2 | June 16, 2008 07:40 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 16:55 |