InflowBoundaryModel< CloudType > Class Template Referenceabstract

Templated inflow boundary model class. More...

Inheritance diagram for InflowBoundaryModel< CloudType >:
[legend]

Public Member Functions

 TypeName ("InflowBoundaryModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
 Declare runtime constructor selection table. More...
 
 InflowBoundaryModel (CloudType &owner)
 Construct null from owner. More...
 
 InflowBoundaryModel (const dictionary &dict, CloudType &owner, const word &type)
 Construct from dictionary. More...
 
virtual ~InflowBoundaryModel ()
 Destructor. More...
 
const CloudTypeowner () const
 Return const access the owner cloud object. More...
 
CloudTypeowner ()
 Return non-const access the owner cloud object for manipulation. More...
 
const dictionarydict () const
 Return the owner cloud dictionary. More...
 
const dictionarycoeffDict () const
 Return the coefficients dictionary. More...
 
virtual void autoMap (const mapPolyMesh &)
 Remap the particles to the correct cells following mesh change. More...
 
virtual void inflow ()=0
 Introduce particles. More...
 

Static Public Member Functions

static autoPtr< InflowBoundaryModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::InflowBoundaryModel< CloudType >

Templated inflow boundary model class.

Source files

Definition at line 55 of file InflowBoundaryModel.H.

Constructor & Destructor Documentation

◆ InflowBoundaryModel() [1/2]

Construct null from owner.

Definition at line 33 of file InflowBoundaryModel.C.

◆ InflowBoundaryModel() [2/2]

InflowBoundaryModel ( const dictionary dict,
CloudType owner,
const word type 
)

Construct from dictionary.

Definition at line 42 of file InflowBoundaryModel.C.

◆ ~InflowBoundaryModel()

Destructor.

Definition at line 58 of file InflowBoundaryModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "InflowBoundaryModel< CloudType >"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
InflowBoundaryModel< CloudType ,
dictionary  ,
(const dictionary &dict, CloudType &owner ,
(dict, owner  
)

Declare runtime constructor selection table.

◆ New()

Foam::autoPtr< Foam::InflowBoundaryModel< CloudType > > New ( const dictionary dict,
CloudType owner 
)
static

Selector.

Definition at line 35 of file InflowBoundaryModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.

Here is the call graph for this function:

◆ owner() [1/2]

const CloudType & owner
inline

Return const access the owner cloud object.

Definition at line 65 of file InflowBoundaryModel.C.

◆ owner() [2/2]

CloudType & owner
inline

Return non-const access the owner cloud object for manipulation.

Definition at line 72 of file InflowBoundaryModel.C.

◆ dict()

const Foam::dictionary & dict
inline

Return the owner cloud dictionary.

Definition at line 79 of file InflowBoundaryModel.C.

◆ coeffDict()

const Foam::dictionary & coeffDict
inline

Return the coefficients dictionary.

Definition at line 86 of file InflowBoundaryModel.C.

Referenced by FreeStream< CloudType >::FreeStream().

Here is the caller graph for this function:

◆ autoMap()

virtual void autoMap ( const mapPolyMesh )
inlinevirtual

Remap the particles to the correct cells following mesh change.

Reimplemented in FreeStream< CloudType >.

Definition at line 131 of file InflowBoundaryModel.H.

◆ inflow()

virtual void inflow ( )
pure virtual

Introduce particles.

Implemented in FreeStream< CloudType >, and NoInflow< CloudType >.


The documentation for this class was generated from the following files: