54 return is >> wlat.
wl >> wlat.
t;
60 return os << wlat.
wl << wlat.
t;
64 inline bool operator==
70 return a.
wl ==
b.wl && a.
t ==
b.t;
74 inline bool operator!=
118 return movingPhaseModels_;
125 return movingPhaseModels_;
132 return stationaryPhaseModels_;
139 return stationaryPhaseModels_;
146 return anisothermalPhaseModels_;
153 return anisothermalPhaseModels_;
160 return multicomponentPhaseModels_;
167 return multicomponentPhaseModels_;
176 if (phaseModels_.size() != 2)
179 <<
"Call from a two-phase model in a multi-phase system."
183 if (&phase == &phaseModels_[0])
185 return phaseModels_[1];
189 return phaseModels_[0];
261 template<
class GeoField>
270 if (fieldList.
set(phasei))
272 fieldList[phasei] += field;
289 template<
class GeoField,
class Group>
300 fieldList[
group.index()] += field;
317 template<
class GeoField,
class Group>
322 const GeoField& field,
330 template<
class GeoField,
class Group>
341 *fieldTable[
group.name()] += field;
358 template<
class GeoField,
class Group>
363 const GeoField& field,
371 template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
382 Afs.
set(i, As[i][i]*fs[i]);
388 Afs[i] += As[i][j]*fs[j];
#define forAll(list, i)
Loop across all elements in list.
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.
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
static word groupName(Name name, const word &group)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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.
static autoPtr< dictionary > New(Istream &)
Construct top-level dictionary on freestore from Istream.
Finite volume constraints.
Mesh data needed to do the Finite Volume discretisation.
const IOMRFZoneList & 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 phaseModelPartialList & anisothermalPhases() const
Return the models for phases that have variable temperature.
const pimpleNoLoopControl & pimple() const
Return pimpleNoLoopControl.
const phaseModelPartialList & stationaryPhases() const
Return the models for phases that are stationary.
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.
#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)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
void addField(const label phasei, const word &name, tmp< GeoField > field, PtrList< GeoField > &fieldList)
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)