Go to the documentation of this file.
38 #ifndef phaseProperties_H
39 #define phaseProperties_H
53 class phaseProperties;
55 Istream&
operator>>(Istream&, phaseProperties&);
56 Ostream&
operator<<(Ostream&,
const phaseProperties&);
105 void reorder(
const wordList& specieNames);
108 void setCarrierIds(
const wordList& carrierNames);
111 void checkTotalMassFraction()
const;
168 scalar&
Y(
const label speciei);
friend Istream & operator>>(Istream &, phaseProperties &)
static const Enum< phaseType > phaseTypeNames
Corresponding word representations for phase type enumerations.
A class for handling words, derived from Foam::string.
word phaseTypeName() const
Return word representation of the phase type.
Helper class to manage multi-specie phase properties.
Istream & operator>>(Istream &, directionInfo &)
label id(const word &specieName) const
Return the id of a specie in the local list by name.
~phaseProperties()=default
Destructor.
const labelList & carrierIds() const
Return const access to the map to the carrier ids.
const List< word > & names() const
Return the list of specie names.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
friend Ostream & operator<<(Ostream &, const phaseProperties &)
phaseProperties()
Null constructor.
phaseType
Phase type enumeration.
const word & stateLabel() const
Return const access to the phase state label.
phaseType phase() const
Return const access to the phase type.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const wordList solidNames(rp["solid"])
const word & name(const label speciei) const
Return const access to a specie name.
Ostream & operator<<(Ostream &, const boundaryPatch &)
const scalarField & Y() const
Return const access to all specie mass fractions.