CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Solve Simple foam for laminar flow (http://www.cfd-online.com/Forums/openfoam-solving/58076-solve-simple-foam-laminar-flow.html)

nandiganavishal January 16, 2009 15:52

Hi All, I am relatively new
 
Hi All,

I am relatively new to openFoam.. I just finished solving the tutorial for SimpleFoam, but I would like to know how the simple foam is used for laminar flow equations as the k epslon terms are not there for laminar flow right... So how do we change the code to make it work for laminar flow...

Kindly give your suggestions in this regard.

Regards

Vishal

msrinath80 January 17, 2009 02:46

In the constant/RASProperties
 
In the constant/RASProperties file, set the RASModel to 'laminar' instead of 'kEpsilon' and turbulence to 'off' instead of 'on'.

When running the case, you should then see these messages before the first time step:
--------------
Selecting incompressible transport model Newtonian
Selecting RAS turbulence model laminar
--------------

To find out all the available options, set the 'RASModel' to some arbitrary text, say 'scooby_doo' and then run simpleFoam. The code will then return something like:

Unknown RASModel type scooby_doo

Valid RASModel types are :

15
(
NonlinearKEShih
kEpsilon
realizableKE
LienCubicKELowRe
LienLeschzinerLowRe
LaunderSharmaKE
laminar
SpalartAllmaras
LienCubicKE
LamBremhorstKE
RNGkEpsilon
LRR
QZeta
LaunderGibsonRSTM
kOmegaSST
)

Now, you have a full list of available turbulence models!

mahendra January 17, 2009 10:03

What does turbulence when set
 
What does turbulence when set to "on" or "off" while selecting RASModel laminar mean?

nandiganavishal January 19, 2009 14:35

Hi Srinath, Thanks a lot fo
 
Hi Srinath,

Thanks a lot for the reply. I would like to know if I select these two options, then what should we do for the RASModel transport properties... as there are many property values like kepsilon etc.. similarly in the fvsolution all these k-e values are present.. wat should one do to these parameters...

Kindly let me know...

Regards

Vishal

msrinath80 January 20, 2009 01:56

Well, they're not used to my k
 
Well, they're not used to my knowledge. So they are just ignored for laminar flow.


All times are GMT -4. The time now is 05:33.