Previous: Turbulence model modification Up: Example of creating new Next: Flat Plate Test Case This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com. Testing new turbulence model Copy tutorial test case cavity for solver pisoFoam (solver for unsteady incompressible turbulent flow):# cd $FOAM_RUN# cp -r $FOAM_TUTORIALS/incompressible/\pisoFoam/RAS/cavity ./Test case is already preset In file system/controlDict add line referring to new turbulence models library: libs ("libuserincompressibleRASModels.so"); libs ("libuserincompressibleRASModels.dll"); In file constant/turbulenceProperties change RASModel and add section with models coefficients: simulationType RAS; RAS { RASModel kEpsilonCprod; turbulence on; printCoeffs on; kEpsilonCprodCoeffs { Cprod 10.0; } } Run test case:# blockMesh# pisoFoam > log & Notice the model coefficients in solver output in file log Figure: Cavity model with kEpsilonCprod turbulence model OpenFOAM Training by CFD Support, CFD SUPPORT, info@cfdsupport.com +420 212 243 883 © CFD support, s.r.o., Sokolovská 270/201, 190 00 Praha 9, Czech Republic