so that the specification of the name and dimensions are optional in property dictionaries. Update tutorials so that the name of the dimensionedScalar property is no longer duplicated but optional dimensions are still provided and are checked on read.
66 lines
1.8 KiB
C++
66 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class volScalarField;
|
|
location "0";
|
|
object epsilon;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 2 -3 0 0 0 0];
|
|
|
|
internalField uniform 0.1;
|
|
|
|
boundaryField
|
|
{
|
|
outer
|
|
{
|
|
type uniformInletOutlet;
|
|
uniformInletValue 0.1;
|
|
value uniform 0.1;
|
|
}
|
|
ground
|
|
{
|
|
type epsilonWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform 0.1;
|
|
}
|
|
blockedFaces
|
|
{
|
|
type epsilonWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform 0.1;
|
|
}
|
|
baffleWall
|
|
{
|
|
type epsilonWallFunction;
|
|
Cmu 0.09;
|
|
kappa 0.41;
|
|
E 9.8;
|
|
value uniform 1e-05;
|
|
}
|
|
baffleCyclic_half0
|
|
{
|
|
type cyclic;
|
|
}
|
|
baffleCyclic_half1
|
|
{
|
|
type cyclic;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|