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 <FreeStream.H>


Public Member Functions | |
| TypeName ("FreeStream") | |
| Runtime type information. | |
| FreeStream (const dictionary &dict, CloudType &cloud) | |
| Construct from dictionary. | |
| virtual | ~FreeStream () |
| Destructor. | |
| virtual void | autoMap (const mapPolyMesh &) |
| Remap the particles to the correct cells following mesh change. | |
| virtual void | inflow () |
| Introduce particles. | |
| Public Member Functions inherited from InflowBoundaryModel< CloudType > | |
| TypeName ("InflowBoundaryModel") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner)) | |
| Declare runtime constructor selection table. | |
| InflowBoundaryModel (CloudType &owner) | |
| Construct null from owner. | |
| 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 Public Member Functions inherited from InflowBoundaryModel< CloudType > | |
| static autoPtr< InflowBoundaryModel< CloudType > > | New (const dictionary &dict, CloudType &owner) |
| Selector. | |
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 45 of file FreeStream.H.
| FreeStream | ( | const dictionary & | dict, |
| CloudType & | cloud ) |
Construct from dictionary.
Definition at line 31 of file FreeStream.C.
References Foam::abort(), InflowBoundaryModel< CloudType >::coeffDict(), InflowBoundaryModel< CloudType >::dict(), Foam::FatalError, FatalErrorInFunction, HashTable< T, Key, Hash >::find(), forAll, dictionary::get(), Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, InflowBoundaryModel< CloudType >::InflowBoundaryModel(), Foam::isType(), Foam::nl, p, patches, UList< T >::size(), dictionary::toc(), HashTable< T, Key, Hash >::transfer(), and Foam::Zero.

|
virtual |
Destructor.
Definition at line 106 of file FreeStream.C.
Runtime type information.
References InflowBoundaryModel< CloudType >::dict().

|
virtual |
Remap the particles to the correct cells following mesh change.
Reimplemented from InflowBoundaryModel< CloudType >.
Definition at line 113 of file FreeStream.C.
References forAll, mesh, InflowBoundaryModel< CloudType >::owner(), p, and List< T >::setSize().

|
virtual |
Introduce particles.
Implements InflowBoundaryModel< CloudType >.
Definition at line 134 of file FreeStream.C.
References Foam::abort(), Foam::endl(), Foam::erf(), Foam::exp(), f(), polyMeshTetDecomposition::faceTetIndices(), tetIndices::faceTri(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::Info, Foam::constant::physicoChemical::k, UList< T >::last(), Foam::mag(), triangle< Point, PointRef >::mag(), Foam::max(), mesh, Foam::min(), n, Foam::nl, Foam::normalised(), InflowBoundaryModel< CloudType >::owner(), p, Foam::constant::mathematical::pi(), triangle< Point, PointRef >::randomPoint(), Foam::returnReduce(), rndGen, UList< T >::size(), Foam::sqr(), Foam::sqrt(), U, and Foam::Zero.
