33template<
class CloudType>
41 UFactor_(this->
coeffDict().getScalar(
"UFactor"))
45template<
class CloudType>
49 UFactor_(pim.UFactor_)
55template<
class CloudType>
71 this->owner().patchData(
p,
pp, nw, Up);
80 U -= UFactor_*2.0*Un*nw;
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
const CloudType & owner() const
Return const access to the owner cloud.
Templated patch interaction model class.
PatchInteractionModel(CloudType &owner)
Construct null from owner.
Simple rebound patch interaction model.
virtual bool correct(typename CloudType::parcelType &p, const polyPatch &pp, bool &keepParticle)
Apply velocity correction.
Rebound(const dictionary &dict, CloudType &cloud)
Construct from dictionary.
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.
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
DSMCCloud< dsmcParcel > CloudType
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")