executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces multiphaseEulerFoam and all the
corresponding tutorials have been updated and moved to
tutorials/modules/multiphaseEuler.
Class
Foam::solvers::multiphaseEuler
Description
Solver module for a system of any number of compressible fluid phases with a
common pressure, but otherwise separate properties. The type of phase model
is run time selectable and can optionally represent multiple species and
in-phase reactions. The phase system is also run time selectable and can
optionally represent different types of momentum, heat and mass transfer.
Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
pseudo-transient and steady simulations.
Optional fvModels and fvConstraints are provided to enhance the simulation
in many ways including adding various sources, Lagrangian
particles, surface film etc. and constraining or limiting the solution.
SourceFiles
multiphaseEuler.C
See also
Foam::solvers::compressibleVoF
Foam::solvers::fluidSolver
Foam::solvers::incompressibleFluid
121 lines
1.9 KiB
C++
121 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;
|
|
}
|
|
}
|
|
|
|
saturation
|
|
{
|
|
steam_water
|
|
{
|
|
type constant;
|
|
pSat 1e5;
|
|
Tsat 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
|
|
{}
|
|
|
|
// ************************************************************************* //
|