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...
#include <dsmc/FreeStream.H>
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 50 of file FreeStream.H.
Public Member Functions | |
TypeName ("FreeStream") | |
Runtime type information. | |
FreeStream (const dictionary &dict, CloudType &cloud) | |
Construct from dictionary. | |
virtual | ~FreeStream () |
virtual void | inflow () |
Introduce particles. | |
![]() | |
TypeName ("InflowBoundaryModel") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
Declare runtime constructor selection table. | |
InflowBoundaryModel (const dictionary &dict, CloudType &owner, const word &type) | |
Construct from dictionary. | |
virtual | ~InflowBoundaryModel () |
Destructor. | |
const CloudType & | owner () const |
Return const access the owner cloud object. | |
CloudType & | owner () |
Return non-const access the owner cloud object for manipulation. | |
const dictionary & | dict () const |
Return the owner cloud dictionary. | |
const dictionary & | coeffDict () const |
Return the coefficients dictionary. |
Additional Inherited Members | |
![]() | |
static autoPtr < InflowBoundaryModel < CloudType > > | New (const dictionary &dict, CloudType &owner) |
Selector. |
FreeStream | ( | const dictionary & | dict, |
CloudType & | cloud | ||
) |
Construct from dictionary.
Definition at line 32 of file FreeStream.C.
References Foam::abort(), DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::FatalError, FatalErrorIn, Foam::findIndex(), forAll, dictionary::lookup(), Foam::nl, p, patches, readScalar, List< T >::setSize(), and dictionary::toc().
|
virtual |
Definition at line 115 of file FreeStream.C.
TypeName | ( | "FreeStream< CloudType >" | ) |
Runtime type information.
|
virtual |
Introduce particles.
Implements InflowBoundaryModel< CloudType >.
Definition at line 122 of file FreeStream.C.
References A, Foam::abort(), Foam::endl(), Foam::erf(), Foam::exp(), f(), polyPatch::faceAreas(), polyPatch::faceCentres(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, Foam::mag(), Foam::max(), mesh, Foam::min(), Foam::nl, p, Foam::mathematicalConstant::pi(), reduce(), List< T >::size(), sqr(), Foam::sqrt(), polyPatch::start(), and U.