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.
65 lines
2.0 KiB
C++
65 lines
2.0 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 dictionary;
|
|
object transportProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
phases (water vapour);
|
|
|
|
phaseChangeTwoPhaseMixture SchnerrSauer;
|
|
|
|
pSat [1 -1 -2 0 0 0 0] 2300; // Saturation pressure
|
|
|
|
sigma [1 0 -2 0 0 0 0] 0.07;
|
|
|
|
water
|
|
{
|
|
transportModel Newtonian;
|
|
nu [0 2 -1 0 0 0 0] 9e-07;
|
|
rho [1 -3 0 0 0 0 0] 1000;
|
|
}
|
|
|
|
vapour
|
|
{
|
|
transportModel Newtonian;
|
|
nu [0 2 -1 0 0 0 0] 4.273e-04;
|
|
rho [1 -3 0 0 0 0 0] 0.02308;
|
|
}
|
|
|
|
KunzCoeffs
|
|
{
|
|
UInf UInf [0 1 -1 0 0 0 0] 20.0;
|
|
tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m
|
|
Cc Cc [0 0 0 0 0 0 0] 1000;
|
|
Cv Cv [0 0 0 0 0 0 0] 1000;
|
|
}
|
|
|
|
MerkleCoeffs
|
|
{
|
|
UInf UInf [0 1 -1 0 0 0 0] 20.0;
|
|
tInf tInf [0 0 1 0 0 0 0] 0.005; // L = 0.1 m
|
|
Cc Cc [0 0 0 0 0 0 0] 80;
|
|
Cv Cv [0 0 0 0 0 0 0] 1e-03;
|
|
}
|
|
|
|
SchnerrSauerCoeffs
|
|
{
|
|
n n [0 -3 0 0 0 0 0] 1.6e+13;
|
|
dNuc dNuc [0 1 0 0 0 0 0] 2.0e-06;
|
|
Cc Cc [0 0 0 0 0 0 0] 1;
|
|
Cv Cv [0 0 0 0 0 0 0] 1;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|