35template<
class CloudType>
48template<
class CloudType>
55template<
class CloudType>
65 label typeId =
p.typeId();
67 const label wppIndex =
p.patch();
76 scalar U_dot_nw =
U & nw;
85 while (
mag(Ut) < SMALL)
108 scalar
T =
cloud.boundaryT().boundaryField()[wppIndex][wppLocalFace];
110 scalar mass =
cloud.constProps(typeId).mass();
112 direction iDof =
cloud.constProps(typeId).internalDegreesOfFreedom();
122 U +=
cloud.boundaryU().boundaryField()[wppIndex][wppLocalFace];
124 Ei =
cloud.equipartitionInternalEnergy(
T, iDof);
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const Mesh & mesh() const
Return mesh.
Wall interaction setting microscopic velocity to a random one drawn from a Maxwellian distribution co...
virtual ~MaxwellianThermal()
Destructor.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
Type sample01()
Return a sample whose components lie in the range [0,1].
Templated wall interaction model class.
A cloud is a registry collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A patch is a list of labels that address the faces in the global face list.
label whichFace(const label l) const
Return label of face in patch from global face label.
const dimensionedScalar k
Boltzmann constant.
Different types of constants.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar log(const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)