CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   solver for LES natural convection (https://www.cfd-online.com/Forums/openfoam-solving/236315-solver-les-natural-convection.html)

rozin70 May 24, 2021 16:43

solver for LES natural convection
 
Hello everyone.
Is there any particular solver for LES model, incompressible, buoyant flow? I couldn't find any. If you have any custom solver for this, would you please share with me?

saidc. May 25, 2021 07:42

Hi Hasan,

Why don't you use buoyantFoam?


Quote:

buoyantPimpleFoam: Transient solver for buoyant, turbulent flow of compressible fluids for ventilation and heat-transfer

Quote:

buoyantBoussinesqPimpleFoam: Transient solver for buoyant, turbulent flow of incompressible fluids.
You can get the solver which you are looking for by changing the turbulent properties to LES.

If you type buoyantBoussinesqPimpleFoam -listTurbulenceModels you can see the options.

Quote:

LES models
12
(
DeardorffDiffStress
Smagorinsky
SpalartAllmarasDDES
SpalartAllmarasDES
SpalartAllmarasIDDES
WALE
dynamicKEqn
dynamicLagrangian
kEqn
kOmegaSSTDDES
kOmegaSSTDES
kOmegaSSTIDDES
)

Kind Regards,
Said.

rozin70 May 25, 2021 09:51

Hi Said,
Thank you for the reply. I searched the tutorial section of buoyantBoussinesqPimpleFoam solver but didn't find any LES example. All of these are in RANS model. If I want to change these into LES, which files do I need to change except the constant (model name) and 0 (boundary condition) folder? Do I need to make any changes to the system folder?

saidc. May 25, 2021 10:26

2 Attachment(s)
Hi Hasan,

You can search in tutorial files with
Code:

grep -r LES
for which files use LES turbulence model. For example when you type that you will find a LES turbulence model which you can coppy to your case directly -if LESModel is appropriate for you- in "incompressible/pisoFoam/LES/pitzDaily/constant/turbulenceProperties".

In system folder you should set maxCo (courant number), time step and maybe runTimeModifiable to yes. I have attached a sample turbulenceProperties and controlDict file for you.

Edit: Also if it doesn't suit you, you should make changes in fvSchemes and fvSolution.

Kind Regards,
Said.


All times are GMT -4. The time now is 18:06.