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.
95 lines
1.9 KiB
C++
95 lines
1.9 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;
|
|
location "constant";
|
|
object transportProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
phases
|
|
(
|
|
air
|
|
{
|
|
rho 1;
|
|
nu 1.6e-05;
|
|
kappa 0;
|
|
Cp 0;
|
|
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 3e-3;
|
|
}
|
|
}
|
|
|
|
water
|
|
{
|
|
rho 1000;
|
|
nu 1e-06;
|
|
kappa 0;
|
|
Cp 0;
|
|
|
|
diameterModel constant;
|
|
constantCoeffs
|
|
{
|
|
d 1e-4;
|
|
}
|
|
}
|
|
);
|
|
|
|
|
|
sigmas
|
|
(
|
|
);
|
|
|
|
interfaceCompression
|
|
(
|
|
);
|
|
|
|
virtualMass
|
|
(
|
|
(air water) 0.5
|
|
);
|
|
|
|
drag
|
|
(
|
|
(air water)
|
|
{
|
|
type blended;
|
|
|
|
air
|
|
{
|
|
type SchillerNaumann;
|
|
residualPhaseFraction 0;
|
|
residualSlip 0;
|
|
}
|
|
|
|
water
|
|
{
|
|
type SchillerNaumann;
|
|
residualPhaseFraction 0;
|
|
residualSlip 0;
|
|
}
|
|
|
|
residualPhaseFraction 1e-3;
|
|
residualSlip 1e-3;
|
|
}
|
|
);
|
|
|
|
|
|
// This is a dummy to support the Smagorinsky model
|
|
transportModel Newtonian;
|
|
nu [0 2 -1 0 0 0 0] 0;
|
|
|
|
|
|
// ************************************************************************* //
|