|
[Sponsors] |
January 30, 2024, 07:12 |
'R' function - continuousGasKEpsilon model
|
#1 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Hi,
After performing a multiphase (E-E) analysis using the continuousGasKEpsilon model, how do I calculate R (OpenFOAM 9)? Since the model has the function present in its code. continuousGasKEpsilon.C Code:
template<class BasicTurbulenceModel> tmp<volSymmTensorField> continuousGasKEpsilon<BasicTurbulenceModel>::R() const { tmp<volScalarField> tk(this->k()); return tmp<volSymmTensorField> ( new volSymmTensorField ( IOobject ( IOobject::groupName("R", this->alphaRhoPhi_.group()), this->runTime_.timeName(), this->mesh_, IOobject::NO_READ, IOobject::NO_WRITE ), ((2.0/3.0)*I)*tk() - (nutEff_)*dev(twoSymm(fvc::grad(this->U_))), tk().boundaryField().types() ) ); } |
|
Tags |
multiphase, openfoam9 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
[blockMesh] Errors during blockMesh meshing | Madeleine P. Vincent | OpenFOAM Meshing & Mesh Conversion | 51 | May 30, 2016 11:51 |
latest OpenFOAM-1.6.x from git failed to compile | phsieh2005 | OpenFOAM Bugs | 25 | February 9, 2010 05:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |