47 const dictionaryEntry phaseInfo(dictionary::null, is);
50 pp.phase_ =
pp.phaseTypeNames[phaseInfo.keyword()];
51 pp.stateLabel_ =
pp.phaseToStateLabel(
pp.phase_);
63 pp.Y_[cmpti] =
dict.get<scalar>(
pp.names_[cmpti]);
65 pp.checkTotalMassFraction();
75 os.beginBlock(
pp.phaseTypeNames[
pp.phase_]);
79 os.writeEntry(
pp.names_[cmpti],
pp.Y_[cmpti]);
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Helper class to manage multi-specie phase properties.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
::Foam::direction nComponents(const expressions::valueTypeCode) noexcept
The number of components associated with given valueTypeCode.
#define forAll(list, i)
Loop across all elements in list.
Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
phaseProperties()
Default construct, as 'UNKNOWN' state.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
static constexpr const zero Zero
Global zero (0)