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
78 lines
1.9 KiB
C++
78 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;
|
|
object topoSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
actions
|
|
(
|
|
{
|
|
name beforeBend_1d;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
box (-0.03 0.35 -0.03) (0.03 0.37 0.03);
|
|
}
|
|
{
|
|
name afterBend_1d;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
box (-0.03 0.43 0.09) (0.03 0.48 0.11);
|
|
}
|
|
{
|
|
name afterBend_5d;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
box (-0.03 0.43 0.25) (0.03 0.48 0.27);
|
|
}
|
|
{
|
|
name afterBend_9d;
|
|
type cellSet;
|
|
action new;
|
|
source boxToCell;
|
|
box (-0.03 0.43 0.41) (0.03 0.48 0.43);
|
|
}
|
|
{
|
|
name beforeBend_1d;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
set beforeBend_1d;
|
|
}
|
|
{
|
|
name afterBend_1d;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
set afterBend_1d;
|
|
}
|
|
{
|
|
name afterBend_5d;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
set afterBend_5d;
|
|
}
|
|
{
|
|
name afterBend_9d;
|
|
type cellZoneSet;
|
|
action new;
|
|
source setToCellZone;
|
|
set afterBend_9d;
|
|
}
|
|
);
|
|
|
|
// ************************************************************************* //
|