Go to the documentation of this file.
31 template<
class ParcelType>
35 template<
class ParcelType>
38 offsetof(ThermoParcel<ParcelType>, Tc_)
39 - offsetof(ThermoParcel<ParcelType>, T_)
45 template<
class ParcelType>
75 "ThermoParcel::ThermoParcel(const polyMesh&, Istream&, bool)"
80 template<
class ParcelType>
81 template<
class CloudType>
92 c.checkFieldIOobject(
c,
T);
95 c.checkFieldIOobject(
c, Cp);
110 template<
class ParcelType>
111 template<
class CloudType>
114 ParcelType::writeFields(
c);
138 template<
class ParcelType>
147 os << static_cast<const ParcelType&>(
p)
153 os << static_cast<const ParcelType&>(
p);
156 reinterpret_cast<const char*
>(&
p.T_),
164 "Ostream& operator<<(Ostream&, const ThermoParcel<ParcelType>&)"
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
static void writeFields(const CloudType &c)
Write.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
A primitive field of type <T> with automated input and output.
virtual bool write() const
Write using setting from DB.
A class for handling character strings derived from std::string.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar T_
Temperature [K].
scalar Cp_
Specific heat capacity [J/(kg.K)].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Templated base class for dsmc cloud.
ThermoParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
Thermodynamic parcel class with one/two-way coupling with the continuous phase. Includes Kinematic pa...
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
void readFields(const boolList &haveMesh, const fvMesh &mesh, const autoPtr< fvMeshSubset > &subsetterPtr, IOobjectList &allObjects, PtrList< GeoField > &fields)
Base cloud calls templated on particle type.
const dimensionedScalar c
Speed of light in a vacuum.
static const std::size_t sizeofFields_
Size in bytes of the fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
static void readFields(CloudType &c)
Read.