mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
78 lines
2.2 KiB
C++
78 lines
2.2 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/bottomWater";
|
|
object T;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 0 0 1 0 0 0];
|
|
|
|
internalField uniform 300;
|
|
|
|
boundaryField
|
|
{
|
|
minX
|
|
{
|
|
type fixedValue;
|
|
value uniform 300;
|
|
}
|
|
maxX
|
|
{
|
|
type inletOutlet;
|
|
value uniform 300;
|
|
inletValue uniform 300;
|
|
}
|
|
minY
|
|
{
|
|
type zeroGradient;
|
|
value uniform 300;
|
|
}
|
|
minZ
|
|
{
|
|
type zeroGradient;
|
|
value uniform 300;
|
|
}
|
|
maxZ
|
|
{
|
|
type zeroGradient;
|
|
value uniform 300;
|
|
}
|
|
bottomWater_to_rightSolid
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
value uniform 300;
|
|
Tnbr T;
|
|
kappa fluidThermo;
|
|
kappaName none;
|
|
}
|
|
bottomWater_to_leftSolid
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
value uniform 300;
|
|
Tnbr T;
|
|
kappa fluidThermo;
|
|
kappaName none;
|
|
}
|
|
bottomWater_to_heater
|
|
{
|
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
|
value uniform 300;
|
|
Tnbr T;
|
|
kappa fluidThermo;
|
|
kappaName none;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|