FreeStream< CloudType > Class Template Reference

Inserting new particles across the faces of a all patched of type "patch" for a free stream. Uniform values number density, temperature and velocity sourced face-by-face from the boundaryT and boundaryU fields of the cloud. More...

Inheritance diagram for FreeStream< CloudType >:
[legend]
Collaboration diagram for FreeStream< CloudType >:
[legend]

Public Member Functions

 TypeName ("FreeStream")
 Runtime type information. More...
 
 FreeStream (const dictionary &dict, CloudType &cloud)
 Construct from dictionary. More...
 
virtual ~FreeStream ()
 Destructor. More...
 
virtual void autoMap (const mapPolyMesh &)
 Remap the particles to the correct cells following mesh change. More...
 
virtual void inflow ()
 Introduce particles. More...
 
- Public Member Functions inherited from InflowBoundaryModel< CloudType >
 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from InflowBoundaryModel< CloudType >
static autoPtr< InflowBoundaryModel< CloudType > > New (const dictionary &dict, CloudType &owner)
 Selector. More...
 

Detailed Description

template<class CloudType>
class Foam::FreeStream< CloudType >

Inserting new particles across the faces of a all patched of type "patch" for a free stream. Uniform values number density, temperature and velocity sourced face-by-face from the boundaryT and boundaryU fields of the cloud.

Definition at line 51 of file FreeStream.H.

Constructor & Destructor Documentation

◆ FreeStream()

FreeStream ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 38 of file FreeStream.C.

References Foam::abort(), PtrList< T >::append(), InflowBoundaryModel< CloudType >::coeffDict(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), forAll, dictionary::get(), Foam::nl, p, patches, List< T >::setSize(), UList< T >::size(), dictionary::toc(), List< T >::transfer(), and Foam::Zero.

Here is the call graph for this function:

◆ ~FreeStream()

~FreeStream
virtual

Destructor.

Definition at line 113 of file FreeStream.C.

Member Function Documentation

◆ TypeName()

TypeName ( "FreeStream< CloudType >"  )

Runtime type information.

◆ autoMap()

void autoMap ( const mapPolyMesh mapper)
virtual

Remap the particles to the correct cells following mesh change.

Reimplemented from InflowBoundaryModel< CloudType >.

Definition at line 120 of file FreeStream.C.

References polyMesh::boundaryMesh(), forAll, mesh, p, and List< T >::setSize().

Here is the call graph for this function:

◆ inflow()


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