Files
OpenFOAM-12/tutorials/modules/CHT/wallBoiling/constant/fluid/phaseProperties
Will Bainbridge 9b373b2950 multiphaseEuler: Use saturation models from the thermo library
The multiphaseEuler module now uses saturation models from the
centralised thermophysical properties library.

The control of these models is slightly different than for the previous
multiphaseEuler-specific saturation models. Where previously a
"saturationPressure" or "saturationTemperature" sub-dictionary was
employed, now "pSat" and "Tsat" entries are used which can be specified
flexibly in a similar manner to function1-s. See the previous commit for
details.
2022-11-16 21:36:13 +00:00

167 lines
2.9 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "constant";
object phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type thermalPhaseChangeMultiphaseSystem;
phases (gas liquid);
gas
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
residualAlpha 1e-6;
}
liquid
{
type purePhaseModel;
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;
}
drag
{
gas_dispersedIn_liquid
{
type IshiiZuber;
}
}
virtualMass
{
gas_dispersedIn_liquid
{
type constantCoefficient;
Cvm 0.5;
}
}
heatTransfer
{
gas_dispersedIn_liquid_inThe_gas
{
type spherical;
}
gas_dispersedIn_liquid_inThe_liquid
{
type RanzMarshall;
}
}
lift
{
gas_dispersedIn_liquid
{
type wallDamped;
lift
{
type Tomiyama;
Cl 0.288;
aspectRatio
{
type constant;
E0 1;
}
}
wallDamping
{
type cosine;
Cd 1.0;
zeroWallDist 0.0002;
}
}
}
wallLubrication
{
gas_dispersedIn_liquid
{
type Antal;
Cw1 -0.01;
Cw2 0.05;
}
}
turbulentDispersion
{
gas_dispersedIn_liquid
{
type LopezDeBertodano;
Ctd 1.0;
residualAlpha 1e-3;
}
}
blending
{
default
{
type continuous;
phase liquid;
}
}
saturationTemperature
{
gas_liquid
{
type function1;
function scale;
xScale 1e-6;
scale 1;
value
{
type tableFile;
format csv;
nHeaderLine 1;
refColumn 1;
componentColumns (0);
mergeSeparators no;
file "$FOAM_TUTORIALS/resources/thermoData/wallBoiling-saturation.csv";
outOfBounds clamp;
interpolationScheme linear;
}
}
}
surfaceTension
{
gas_liquid
{
type constant;
sigma 0.00176574;
}
}
phaseTransfer
{}
// ************************************************************************* //