Go to the documentation of this file.
59 const label molId = mol().id();
61 scalar molMass(molecules.constProps(molId).mass());
75 const label molId = mol().id();
77 const molecule::constantProperties cP(molecules.constProps(molId));
79 scalar molMass(cP.mass());
81 const diagTensor& molMoI(cP.momentOfInertia());
83 const vector& molV(mol().v());
87 vector molPiGlobal = mol().Q() & mol().pi();
111 if (Pstream::parRun())
136 Info<<
"Number of molecules in system = "
138 <<
"Overall number density = "
140 <<
"Overall mass density = "
142 <<
"Average linear momentum per molecule = "
145 <<
"Average angular momentum per molecule = "
148 <<
"Maximum |velocity| = "
150 <<
"Average linear KE per molecule = "
152 <<
"Average angular KE per molecule = "
154 <<
"Average PE per molecule = "
156 <<
"Average TE per molecule = "
176 Info<<
"No molecules in system" <<
endl;
scalar singleStepTotalLinearKE
scalar singleStepTotalMass
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< scalar > mag(const dimensioned< Type > &)
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
DiagTensor< scalar > diagTensor
A scalar version of the templated DiagTensor.
scalar singleStepTotalAngularKE
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
vector singleStepTotalLinearMomentum(vector::zero)
scalar singleStepTotalrDotf
Vector< scalar > vector
A scalar version of the templated Vector.
vector singleStepTotalAngularMomentum(vector::zero)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
scalar singleStepMaxVelocityMag
dimensioned< scalar > magSqr(const dimensioned< Type > &)