55 template<
class CloudType>
82 const dictionary&
dict,
94 const dictionary&
dict,
105 static autoPtr<WallModel<CloudType>>
New 107 const dictionary&
dict,
145 const List<point>& flatSitePoints,
146 const List<WallSiteData<vector>>& flatSiteData,
147 const List<point>& sharpSitePoints,
148 const List<WallSiteData<vector>>& sharpSiteData
159 #define makeWallModel(CloudType) \ 161 defineNamedTemplateTypeNameAndDebug(Foam::WallModel<Foam::CloudType>, 0); \ 165 defineTemplateRunTimeSelectionTable \ 167 WallModel<Foam::CloudType>, \ 173 #define makeWallModelType(SS, CloudType) \ 175 defineNamedTemplateTypeNameAndDebug(Foam::SS<Foam::CloudType>, 0); \ 177 Foam::WallModel<Foam::CloudType>:: \ 178 adddictionaryConstructorToTable<Foam::SS<Foam::CloudType>> \ 179 add##SS##CloudType##ConstructorToTable_; virtual label nSubCycles() const =0
For WallModels that control the timestep, calculate the.
DSMCCloud< dsmcParcel > CloudType
const dictionary & coeffDict() const
Return the coefficients dictionary.
const CloudType & owner() const
Return the owner cloud object.
virtual void evaluateWall(typename CloudType::parcelType &p, const List< point > &flatSitePoints, const List< WallSiteData< vector >> &flatSiteData, const List< point > &sharpSitePoints, const List< WallSiteData< vector >> &sharpSiteData) const =0
Calculate the wall interaction for a parcel.
WallModel(const dictionary &dict, CloudType &owner, const word &type)
Construct from components.
declareRunTimeSelectionTable(autoPtr, WallModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const dictionary & dict() const
Return the dictionary.
TypeName("wallModel")
Runtime type information.
virtual bool controlsTimestep() const =0
Whether the WallModel has a timestep limit that will.
static autoPtr< WallModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
virtual ~WallModel()
Destructor.
virtual scalar pREff(const typename CloudType::parcelType &p) const =0
Return the effective radius for a particle for the model.
Macros to ease declaration of run-time selection tables.