Description
This functionObject writes the phase-fraction map field alpha.map with
incremental value ranges for each phase
e.g., with values 0-1 for water, 1-2 for air, 2-3 for oil etc.
Example of function object specification:
\verbatim
phaseMap
{
type phaseMap;
libs ("libreactingEulerFoamFunctionObjects.so");
writeControl writeTime;
}
\endverbatim
Usage
\table
Property | Description | Required | Default value
type | type name: phaseMap | yes |
\endtable
This replaces the alphas functionality previously built-in to
reactingMultiphaseEulerFoam so that the storage, calculation and writing of the
phase map field is now under user control.
20 lines
839 B
C++
20 lines
839 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Writes the phase-fraction map field alpha.map with incremental value ranges
|
|
for each phase e.g., with values 0-1 for water, 1-2 for air, 2-3 for oil
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type phaseMap;
|
|
libs ("libreactingEulerFoamFunctionObjects.so");
|
|
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|