|
[Sponsors] |
calculate epsilon from RANS k-Omega simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 20, 2013, 07:07 |
calculate epsilon from RANS k-Omega simulation
|
#1 |
New Member
Join Date: Dec 2012
Posts: 7
Rep Power: 13 |
Hi FOAMers,
in order to get the epsilon value from a RANS simulation (kOmega, kOmegaSST respectively) I was searching the source code. This is what I've found in kOmegaSST.H: Code:
00250 //- Return the turbulence kinetic energy dissipation rate 00251 virtual tmp<volScalarField> epsilon() const 00252 { 00253 return tmp<volScalarField> 00254 ( 00255 new volScalarField 00256 ( 00257 IOobject 00258 ( 00259 "epsilon", 00260 mesh_.time().timeName(), 00261 mesh_ 00262 ), 00263 betaStar_*k_*omega_, 00264 omega_.boundaryField().types() 00265 ) 00266 ); 00267 } Cheers |
|
June 27, 2013, 11:55 |
|
#2 |
New Member
Join Date: Dec 2012
Posts: 7
Rep Power: 13 |
I don't know if this is the best way to get the epsilon value but it works!
1. create the directory ~/Openfoam/$USER-2.1.x/utilities/postProcessing/turbulence/ 2. copy the attached files into. 3. run the command "wmake" from the epsilon directory This will create the folders platforms/.../bin in the ~/Openfoam/$USER-2.1.x/ directory and compiles the epsilon.C file. The executive "epsilon" is created there and can be called by "epsilon" from any case directory. Note: This should work for kOmega as well as for kOmegaSST. While the difference is simply a change of constants: kOmega: epsilon=Cmu*k*omega kOmegaSST: epsilon=betaStar*k*omega Which is normally the same value: betaStar=Cmu=0.09 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to calculate torque from the simulation result | sivakumar | OpenFOAM Post-Processing | 21 | December 11, 2019 12:24 |
Unsteady RANS simulation of Jet in crossflow | harshad88 | FLUENT | 0 | June 2, 2013 14:29 |
epsilon and K blowing up. | sivakumar | OpenFOAM Running, Solving & CFD | 1 | October 25, 2012 05:50 |
Do RANS simulation overpredict maximum Cp? | Sergio Rossi | Main CFD Forum | 0 | May 15, 2007 10:23 |
RANS simulation | prasat | Main CFD Forum | 0 | June 4, 2003 12:04 |