Go to the documentation of this file.
53 template<
class CloudType>
157 #define makeWallModel(CloudType) \
159 defineNamedTemplateTypeNameAndDebug(Foam::WallModel<Foam::CloudType>, 0); \
163 defineTemplateRunTimeSelectionTable \
165 WallModel<Foam::CloudType>, \
171 #define makeWallModelType(SS, CloudType) \
173 defineNamedTemplateTypeNameAndDebug(Foam::SS<Foam::CloudType>, 0); \
175 Foam::WallModel<Foam::CloudType>:: \
176 adddictionaryConstructorToTable<Foam::SS<Foam::CloudType> > \
177 add##SS##CloudType##ConstructorToTable_;
TypeName("wallModel")
Runtime type information.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, WallModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual scalar pREff(const typename CloudType::parcelType &p) const =0
Return the effective radius for a particle for the model.
virtual label nSubCycles() const =0
For WallModels that control the timestep, calculate the.
const dictionary & dict_
The CollisionModel dictionary.
const dictionary coeffDict_
The coefficients dictionary.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
WallModel(const dictionary &dict, CloudType &owner, const word &type)
Construct from components.
Templated base class for dsmc cloud.
virtual ~WallModel()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
CloudType & owner_
Reference to the owner cloud class.
Templated wall interaction class.
Stores the patch ID and templated data to represent a collision with a wall to be passed to the wall ...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const dictionary & dict() const
Return the dictionary.
const dictionary & coeffDict() const
Return the coefficients dictionary.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const CloudType & owner() const
Return the owner cloud object.
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.