- Replaces prostar3 mesh format, which we no longer support. - Update initial conditions to use regex and include file.
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object epsilon;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#include "include/initialConditions"
|
|
|
|
dimensions [0 2 -3 0 0 0 0];
|
|
|
|
internalField uniform $turbulentEpsilon;
|
|
|
|
boundaryField
|
|
{
|
|
"(inlet|outlet).*"
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform $turbulentEpsilon;
|
|
value $internalField;
|
|
}
|
|
|
|
"sym.*"
|
|
{
|
|
type empty;
|
|
}
|
|
|
|
"wall.*"
|
|
{
|
|
type epsilonWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform $turbulentEpsilon;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|