CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Laminar flux (https://www.cfd-online.com/Forums/openfoam/101278-laminar-flux.html)

libia87 April 30, 2012 05:17

Laminar flux
 
HI!

I have a problem similar like "buoyantBoussinesqSimpleFoam" and I would like to know how to change from turbulent flux to laminar flux because I use this example to simulate my problem.

I do this because i'm new with OpenFOAM and I would like to change the parameters of this tutorial,

Thanks!

nimasam April 30, 2012 18:16

Code:

RASModel        laminar;

Linse May 1, 2012 10:24

In case the note from nimasam is not explanatory enough (though everything in there is said!), here a bit more in detail:

The files you have to change are both in CASENAME/constant and are named RASProperties and turbulenceProperties.
Within RASProperties you have to set the entry for "RASModel" to something different from "laminar". The different legal options are enumerated in the user guide. You also have to switch "turbulence" to "on".
Within turbulenceProperties you will have to switch to RASModel.

I guess if you want to do a LES-simulation, you should exchange RAS by LES and above explanations are true again... ;-)

Hope that helps!

libia87 May 2, 2012 03:45

Quote:

Originally Posted by Linse (Post 358645)
In case the note from nimasam is not explanatory enough (though everything in there is said!), here a bit more in detail:

The files you have to change are both in CASENAME/constant and are named RASProperties and turbulenceProperties.
Within RASProperties you have to set the entry for "RASModel" to something different from "laminar". The different legal options are enumerated in the user guide. You also have to switch "turbulence" to "on".
Within turbulenceProperties you will have to switch to RASModel.

I guess if you want to do a LES-simulation, you should exchange RAS by LES and above explanations are true again... ;-)

Hope that helps!

thanks! but in "turbulence" I have to switch to "off" if I want a laminar flux, right??

in the tutorial "BuoyantBoussinesqSimpleFoam" doesn't exist the turbulenceProperties, there are "g", "RASProperties" and "transportProperties"

Tiffany September 5, 2012 13:51

I am also trying to use the dummy RAS turbulence model for laminar flow. (I am using buoyantBoussinesqPimpleFoam as my solver though.) I was wondering, what theory is OpenFOAM programed to use for this model? I don't know C++, so I'm struggling trying to figure out what the source code is actually doing. I have a link to it here: https://unihub.ru/tools/ofservice/br...inar/laminar.H

Do you guys know what equations/theory OpenFOAM is using to solve here?

Thank you!


All times are GMT -4. The time now is 14:34.