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.
|
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().
~FreeStream | ( | ) | [virtual]
|
Definition at line 115 of file FreeStream.C.
TypeName | ( | "FreeStream< CloudType >" | ) |
Runtime type information.
void inflow | ( | ) | [virtual]
|
Introduce particles.
Implements InflowBoundaryModel< CloudType >.
Definition at line 122 of file FreeStream.C.
References A, Foam::abort(), polyMesh::boundaryMesh(), TimeState::deltaTValue(), Foam::endl(), Foam::erf(), Foam::exp(), f(), polyPatch::faceAreas(), polyPatch::faceCentres(), polyMesh::faceOwner(), Foam::FatalError, FatalErrorIn, forAll, Foam::Info, Foam::mag(), Foam::max(), mesh, Foam::min(), Foam::nl, p, Foam::mathematicalConstant::pi(), polyMesh::points(), reduce(), List< T >::size(), sqr(), Foam::sqrt(), polyPatch::start(), fvMesh::time(), and U.