B in the tutorials pisoFoam (LES) cases
Dear Foamers,
I am practicing pisoFom solver for the pitzDaily LES case. I notice 'B' is in the time 0 file. But in later time output files, there is no 'B'. I reviewed the 'creatFields.H' file in the pisoFoam solver, but I did not find a declaration for 'B'. Does anyone know where can I find the declaration of 'B'? And what does 'B' mean? My best regards, Jian |
Which LES model are you using?
The tutorial case you refer to uses the oneEqEddy model. If you open oneEqEddy.H (see src folder), you'll see the definition of B (although not used in the code as far as I see). |
Yes, I used the oneEqEddy model. In the GenSGSStress.C file in the file of '/apps/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/incompressible/LES/GenSGSStress', I find
B_ ( IOobject ( "B", runTime_.timeName(), mesh_, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh_ ), B should be 'AUTO_WRITE' during the running time. But when I run the tutorial case, B is only in the time 0 file. Later, it is gone. |
Hi Jian Zhong
B in LES models is Stress tensor similar R in RANS models in OpenFoam. Have you B in 0 Folder? I think B is in creditfield and you must see that in creditfield B is defined or no? |
Quote:
|
Greetings to all!
Those "B" files were removed in OpenFOAM 2.1.x in August 2012: https://github.com/OpenFOAM/OpenFOAM...a52c14701a61d2 This was done around 2 months after 2.1.1 was released. Best regards, Bruno |
Dear zxj160,
You can modified solver to get R in RANS or B in LES. view source code Utility R in OpenFOAM to get idea and get B in LES Thien |
All times are GMT -4. The time now is 00:27. |