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
107 lines
1.7 KiB
C++
107 lines
1.7 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 basicMultiphaseSystem;
|
|
|
|
phases (solids gas);
|
|
|
|
solids
|
|
{
|
|
type purePhaseModel;
|
|
|
|
diameterModel constant;
|
|
|
|
constantCoeffs
|
|
{
|
|
d 462e-6;
|
|
}
|
|
|
|
alphaMax 0.65;
|
|
residualAlpha 1e-5;
|
|
}
|
|
|
|
gas
|
|
{
|
|
type purePhaseModel;
|
|
|
|
diameterModel none;
|
|
|
|
residualAlpha 1e-5;
|
|
}
|
|
|
|
blending
|
|
{
|
|
default
|
|
{
|
|
type continuous;
|
|
phase gas;
|
|
}
|
|
}
|
|
|
|
surfaceTension
|
|
{
|
|
gas_solids
|
|
{
|
|
type constant;
|
|
sigma 0;
|
|
}
|
|
}
|
|
|
|
drag
|
|
{
|
|
solids_dispersedIn_gas
|
|
{
|
|
type GidaspowErgunWenYu;
|
|
residualAlpha 1e-5;
|
|
residualRe 1e-5;
|
|
}
|
|
}
|
|
|
|
virtualMass
|
|
{
|
|
solids_dispersedIn_gas
|
|
{
|
|
type constantCoefficient;
|
|
Cvm 0;
|
|
}
|
|
}
|
|
|
|
heatTransfer
|
|
{
|
|
solids_dispersedIn_gas
|
|
{
|
|
type RanzMarshall;
|
|
residualAlpha 1e-4;
|
|
}
|
|
}
|
|
|
|
phaseTransfer
|
|
{}
|
|
|
|
lift
|
|
{}
|
|
|
|
wallLubrication
|
|
{}
|
|
|
|
turbulentDispersion
|
|
{}
|
|
|
|
interfaceCompression
|
|
{}
|
|
|
|
// ************************************************************************* //
|