executed with foamRun for single region simulations of foamMultiRun for
multi-region simulations. Replaces multiphaseInterFoam and all the
corresponding tutorials have been updated and moved to
tutorials/modules/incompressibleMultiphaseVoF.
incompressibleMultiphaseVoF is derived from the multiphaseVoFSolver which adds
multiphase capability to the VoFSolver base-class used as the basis of all
two-phase and multiphase VoF solvers.
Class
Foam::solvers::incompressibleMultiphaseVoF
Description
Solver module for the solution of multiple incompressible, isothermal
immiscible fluids using a VOF (volume of fluid) phase-fraction based
interface capturing approach, with optional mesh motion and mesh topology
changes including adaptive re-meshing.
The momentum and other fluid properties are of the "mixture" and a single
momentum equation is solved.
A mixture approach for momentum transport is provided in which a single
laminar, RAS or LES model is selected to model the momentum stress.
Uses the flexible PIMPLE (PISO-SIMPLE) solution for time-resolved and
pseudo-transient and steady simulations.
SourceFiles
incompressibleMultiphaseVoF.C
See also
Foam::solvers::VoFSolver
Foam::solvers::multiphaseVoFSolver
65 lines
1.7 KiB
C++
65 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 "system";
|
|
object setFieldsDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
defaultFieldValues
|
|
(
|
|
volScalarFieldValue alpha.air 1
|
|
volScalarFieldValue alpha.water 0
|
|
volScalarFieldValue alpha.oil 0
|
|
volScalarFieldValue alpha.mercury 0
|
|
volVectorFieldValue U (0 0 0)
|
|
);
|
|
|
|
regions
|
|
(
|
|
boxToCell
|
|
{
|
|
box (0 0 -1) (0.1461 0.292 1);
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha.water 1
|
|
volScalarFieldValue alpha.oil 0
|
|
volScalarFieldValue alpha.mercury 0
|
|
volScalarFieldValue alpha.air 0
|
|
);
|
|
}
|
|
boxToCell
|
|
{
|
|
box (0.1461 0 -1) (0.2922 0.292 1);
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha.water 0
|
|
volScalarFieldValue alpha.oil 1
|
|
volScalarFieldValue alpha.mercury 0
|
|
volScalarFieldValue alpha.air 0
|
|
);
|
|
}
|
|
boxToCell
|
|
{
|
|
box (0 0 -1) (0.1461 0.1 1);
|
|
fieldValues
|
|
(
|
|
volScalarFieldValue alpha.water 0
|
|
volScalarFieldValue alpha.oil 0
|
|
volScalarFieldValue alpha.mercury 1
|
|
volScalarFieldValue alpha.air 0
|
|
);
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|