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.
120 lines
1.9 KiB
C++
120 lines
1.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 (steam water);
|
|
|
|
phaseChange on;
|
|
|
|
steam
|
|
{
|
|
type purePhaseModel;
|
|
diameterModel isothermal;
|
|
isothermalCoeffs
|
|
{
|
|
d0 3e-3;
|
|
p0 1e5;
|
|
}
|
|
|
|
residualAlpha 1e-3;
|
|
}
|
|
|
|
water
|
|
{
|
|
type purePhaseModel;
|
|
diameterModel none;
|
|
|
|
residualAlpha 1e-3;
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type continuous;
|
|
phase water;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
{
|
|
steam_water
|
|
{
|
|
type constant;
|
|
sigma 0.07;
|
|
}
|
|
}
|
|
|
|
saturationTemperature
|
|
{
|
|
steam_water
|
|
{
|
|
type constant;
|
|
value 372.76;
|
|
}
|
|
}
|
|
|
|
drag
|
|
{
|
|
steam_dispersedIn_water
|
|
{
|
|
type SchillerNaumann;
|
|
residualRe 1e-3;
|
|
}
|
|
}
|
|
|
|
virtualMass
|
|
{
|
|
steam_dispersedIn_water
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0.5;
|
|
}
|
|
}
|
|
|
|
heatTransfer
|
|
{
|
|
steam_dispersedIn_water_inThe_steam
|
|
{
|
|
type spherical;
|
|
residualAlpha 1e-4;
|
|
}
|
|
|
|
steam_dispersedIn_water_inThe_water
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
}
|
|
|
|
phaseTransfer
|
|
{}
|
|
|
|
lift
|
|
{}
|
|
|
|
wallLubrication
|
|
{}
|
|
|
|
turbulentDispersion
|
|
{}
|
|
|
|
interfaceCompression
|
|
{}
|
|
|
|
// ************************************************************************* //
|