for consistency with fvModels and fvConstraints, to simplify code and case maintenance and to avoid the potentially complex functions entries being unnecessarily parsed by utilities for which functionObject evaluation is disabled. The functions entry in controlDict is still read if the functions file is not present for backward-compatibility, but it is advisable to migrate cases to use the new functions file.
20 lines
836 B
C++
20 lines
836 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 for water, 1 for air, 2 for oil etc.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type phaseMap;
|
|
libs ("libmultiphaseEulerFunctionObjects.so");
|
|
|
|
writeControl writeTime;
|
|
|
|
// ************************************************************************* //
|