56 return is >> wlat.
wl >> wlat.
t;
62 return os << wlat.
wl << wlat.
t;
66 inline bool operator==
72 return a.
wl ==
b.wl && a.
t ==
b.t;
76 inline bool operator!=
120 return movingPhaseModels_;
127 return movingPhaseModels_;
134 return stationaryPhaseModels_;
141 return stationaryPhaseModels_;
148 return thermalPhaseModels_;
155 return thermalPhaseModels_;
162 return multicomponentPhaseModels_;
169 return multicomponentPhaseModels_;
178 if (phaseModels_.size() != 2)
181 <<
"Call from a two-phase model in a multi-phase system."
185 if (&phase == &phaseModels_[0])
187 return phaseModels_[1];
191 return phaseModels_[0];
263 template<
class GeoField>
272 if (fieldList.
set(phasei))
274 fieldList[phasei] += field;
291 template<
class GeoField,
class Group>
302 fieldList[
group.index()] += field;
319 template<
class GeoField,
class Group>
324 const GeoField& field,
332 template<
class GeoField,
class Group>
343 *fieldTable[
group.name()] += field;
360 template<
class GeoField,
class Group>
365 const GeoField& field,
373 template<
class Type,
class GeoMesh>
384 Afs.
set(i, As[i][i]*fs[i]);
390 Afs[i] += As[i][j]*fs[j];
#define forAll(list, i)
Loop across all elements in list.
static fvModels & New(const word &name, const fvMesh &mesh)
Construct and return the named DemandDrivenMeshObject.
Generic GeometricField class.
A HashTable specialisation for hashing pointers.
bool set(const Key &, const T &newElmt)
Set a new hashedEntry, overwriting existing entries.
bool found(const Key &) const
Return true if hashedEntry is found in table.
static word groupName(Name name, const word &group)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
MRF zones DemandDrivenMeshObject read from MRFProperties dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
Finite volume constraints.
Mesh data needed to do the Finite Volume discretisation.
const MRFZones & MRF() const
Return MRF zones.
const phaseModel & otherPhase(const phaseModel &phase) const
Return the phase not given as an argument in a two-phase system.
const fvMesh & mesh_
Reference to the mesh.
const dimensionedScalar & deltaN() const
Stabilisation for normalisation of the interface normal.
const Foam::fvModels & fvModels() const
Access the fvModels.
const surfaceScalarField & phi() const
Return the mixture flux.
const volScalarField & dpdt() const
Return the rate of change of the pressure.
const phaseModelPartialList & multicomponentPhases() const
Return the models for phases that have multiple species.
const phaseModelPartialList & movingPhases() const
Return the models for phases that are moving.
const phaseModelList & phases() const
Return the phase models.
const pimpleNoLoopControl & pimple() const
Return pimpleNoLoopControl.
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
const phaseModelPartialList & thermalPhases() const
Return the models for phases that have variable temperature.
const fvMesh & mesh() const
Return the mesh.
const Foam::fvConstraints & fvConstraints() const
Access the fvConstraints.
Pimple no-loop control class. Implements various option flags, but leaves loop controls to the deriva...
A class for managing temporary objects.
wordListAndType(Istream &is)
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const char *const group
Group name for atomic constants.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Istream & operator>>(Istream &, pointEdgeDist &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void addField(const label phasei, const word &name, tmp< GeoField > field, PtrList< GeoField > &fieldList)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)