Public Member Functions | Private Attributes
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 >:
Inheritance graph
[legend]
Collaboration diagram for FreeStream< CloudType >:
Collaboration graph
[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...
 

Private Attributes

labelList patches_
 The indices of patches to introduce molecules across. More...
 
List< labelmoleculeTypeIds_
 The molecule types to be introduced. More...
 
Field< scalar > numberDensities_
 The number density of the species in the inflow. More...
 
List< List< Field< scalar > > > particleFluxAccumulators_
 A List of Lists of Fields specifying carry-over of mass flux from. 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 49 of file FreeStream.H.

Constructor & Destructor Documentation

◆ FreeStream()

FreeStream ( const dictionary dict,
CloudType cloud 
)

Construct from dictionary.

Definition at line 37 of file FreeStream.C.

References Foam::abort(), Foam::FatalError, FatalErrorInFunction, Foam::findIndex(), forAll, dictionary::lookup(), Foam::nl, p, patches, Foam::readScalar(), List::setSize(), List::size(), and dictionary::toc().

Here is the call graph for this function:

◆ ~FreeStream()

~FreeStream
virtual

Destructor.

Definition at line 114 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 121 of file FreeStream.C.

References forAll, mesh, p, patchi, and List::setSize().

Here is the call graph for this function:

◆ inflow()

void inflow
virtual

Field Documentation

◆ patches_

labelList patches_
private

The indices of patches to introduce molecules across.

Definition at line 56 of file FreeStream.H.

◆ moleculeTypeIds_

List<label> moleculeTypeIds_
private

The molecule types to be introduced.

Definition at line 59 of file FreeStream.H.

◆ numberDensities_

Field<scalar> numberDensities_
private

The number density of the species in the inflow.

Definition at line 62 of file FreeStream.H.

◆ particleFluxAccumulators_

List<List<Field<scalar> > > particleFluxAccumulators_
private

A List of Lists of Fields specifying carry-over of mass flux from.

one timestep to the next + Outer List - one inner List for each patch + Inner List - one Field for every species to be introduced + Each field entry corresponding to a face to be injected across with a particular species

Definition at line 70 of file FreeStream.H.


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