Templated base class for dsmc cloud. More...
#include <dsmc/DsmcCloud_.H>
Templated base class for dsmc cloud.
Definition at line 69 of file DsmcCloud_.H.
Public Member Functions | |
DsmcCloud (const word &cloudName, const fvMesh &mesh, bool readFields=true) | |
Construct given name and mesh, will read Parcels and fields from. | |
DsmcCloud (const word &cloudName, const fvMesh &mesh, const IOdictionary &dsmcInitialiseDict) | |
Construct given name, mesh and initialisation dictionary. | |
virtual | ~DsmcCloud () |
Destructor. | |
const word & | cloudName () const |
Return the cloud type. | |
const fvMesh & | mesh () const |
Return refernce to the mesh. | |
const IOdictionary & | particleProperties () const |
Return particle properties dictionary. | |
const List< word > & | typeIdList () const |
Return the idList. | |
scalar | nParticle () const |
Return the number of real particles represented by one. | |
const List< DynamicList < ParcelType * > > & | cellOccupancy () const |
Return the cell occupancy addressing. | |
volScalarField & | sigmaTcRMax () |
Return the sigmaTcRMax field. non-const access to allow. | |
scalarField & | collisionSelectionRemainder () |
Return the collision selection remainder field. non-const. | |
const List< typename ParcelType::constantProperties > & | constProps () const |
Return all of the constant properties. | |
const ParcelType::constantProperties & | constProps (label typeId) const |
Return the constant properties of the given typeId. | |
Random & | rndGen () |
Return refernce to the random object. | |
volScalarField::GeometricBoundaryField & | qBF () |
Return non-const heat flux boundary field reference. | |
volVectorField::GeometricBoundaryField & | fDBF () |
Return non-const force density at boundary field reference. | |
volScalarField::GeometricBoundaryField & | rhoNBF () |
Return non-const number density boundary field reference. | |
volScalarField::GeometricBoundaryField & | rhoMBF () |
Return non-const mass density boundary field reference. | |
volScalarField::GeometricBoundaryField & | linearKEBF () |
Return non-const linear kinetic energy density boundary. | |
volScalarField::GeometricBoundaryField & | internalEBF () |
Return non-const internal energy density boundary field. | |
volScalarField::GeometricBoundaryField & | iDofBF () |
Return non-const internal degree of freedom density boundary. | |
volVectorField::GeometricBoundaryField & | momentumBF () |
Return non-const momentum density boundary field reference. | |
const volScalarField & | boundaryT () const |
Return macroscopic temperature. | |
const volVectorField & | boundaryU () const |
Return macroscopic velocity. | |
const volScalarField & | q () const |
Return heat flux at surface field. | |
const volVectorField & | fD () const |
Return force density at surface field. | |
const volScalarField & | rhoN () const |
Return the real particle number density field. | |
const volScalarField & | rhoM () const |
Return the particle mass density field. | |
const volScalarField & | dsmcRhoN () const |
Return the field of number of DSMC particles. | |
const volScalarField & | linearKE () const |
Return the total linear kinetic energy (translational and. | |
const volScalarField & | internalE () const |
Return the internal energy density field. | |
const volScalarField & | iDof () const |
Return the average internal degrees of freedom field. | |
const volVectorField & | momentum () const |
Return the momentum density field. | |
vector | equipartitionLinearVelocity (scalar temperature, scalar mass) |
Generate a random velocity sampled from the Maxwellian speed. | |
scalar | equipartitionInternalEnergy (scalar temperature, scalar internalDegreesOfFreedom) |
Generate a random internal energy, sampled from the. | |
scalar | maxwellianAverageSpeed (scalar temperature, scalar mass) const |
Average particle speed. | |
scalarField | maxwellianAverageSpeed (scalarField temperature, scalar mass) const |
scalar | maxwellianRMSSpeed (scalar temperature, scalar mass) const |
RMS particle speed. | |
scalarField | maxwellianRMSSpeed (scalarField temperature, scalar mass) const |
scalar | maxwellianMostProbableSpeed (scalar temperature, scalar mass) const |
Most probable speed. | |
scalarField | maxwellianMostProbableSpeed (scalarField temperature, scalar mass) const |
const BinaryCollisionModel < DsmcCloud< ParcelType > > & | binaryCollision () const |
Return reference to binary elastic collision model. | |
BinaryCollisionModel < DsmcCloud< ParcelType > > & | binaryCollision () |
Return non-const reference to binary elastic collision model. | |
const WallInteractionModel < DsmcCloud< ParcelType > > & | wallInteraction () const |
Return reference to wall interaction model. | |
WallInteractionModel < DsmcCloud< ParcelType > > & | wallInteraction () |
Return non-const reference to wall interaction model. | |
const InflowBoundaryModel < DsmcCloud< ParcelType > > & | inflowBoundary () const |
Return reference to wall interaction model. | |
InflowBoundaryModel< DsmcCloud < ParcelType > > & | inflowBoundary () |
Return non-const reference to wall interaction model. | |
scalar | massInjected () const |
Total mass injected. | |
scalar | massInSystem () const |
Total mass in system. | |
vector | linearMomentumOfSystem () const |
Total linear momentum of the system. | |
scalar | linearKineticEnergyOfSystem () const |
Total linear kinetic energy in the system. | |
scalar | internalEnergyOfSystem () const |
Total internal energy in the system. | |
void | info () const |
Print cloud information. | |
void | dumpParticlePositions () const |
Dump particle positions to .obj file. | |
void | addNewParcel (const vector &position, const vector &U, const scalar Ei, const label cellId, const label typeId) |
Add new parcel. | |
void | evolve () |
Evolve the cloud (move, collide) | |
void | clear () |
Clear the Cloud. | |
![]() | |
TypeName ("Cloud") | |
Runtime type information. | |
Cloud (const polyMesh &mesh, const IDLList< ParcelType > &particles) | |
Construct from mesh and a list of particles. | |
Cloud (const polyMesh &mesh, const word &cloudName, const IDLList< ParcelType > &particles) | |
Construct from mesh, cloud name, and a list of particles. | |
Cloud (const polyMesh &mesh, const bool checkClass=true) | |
Construct from mesh by reading from file. | |
Cloud (const polyMesh &pMesh, const word &cloudName, const bool checkClass=true) | |
Construct from mesh by reading from file with given cloud instance. | |
const polyMesh & | pMesh () const |
Return the polyMesh reference. | |
bool | internalFace (const label facei) const |
Is this global face an internal face? | |
bool | boundaryFace (const label facei) const |
Is this global face a boundary face? | |
label | facePatch (const label facei) const |
Which patch is this global face on. | |
label | patchFace (const label patchi, const label facei) const |
Which face of this patch is this global face. | |
label | size () const |
Return number of elements in table. | |
const const_iterator | begin () const |
const_iterator set to the beginning of the HashTable | |
iterator | begin () |
iterator set to the begining of the HashTable | |
const const_iterator | cbegin () const |
const_iterator set to the beginning of the HashTable | |
const const_iterator | end () const |
const_iterator set to beyond the end of the HashTable | |
iterator | end () |
iterator set to beyond the end of the HashTable | |
const const_iterator | cend () const |
const_iterator set to beyond the end of the HashTable | |
label | getNewParticleID () const |
Get unique particle creation id. | |
void | addParticle (ParcelType *pPtr) |
Transfer particle to cloud. | |
void | deleteParticle (ParcelType &) |
Remove particle from cloud and delete. | |
void | move (TrackingData &td) |
Move the particles. | |
virtual void | autoMap (const mapPolyMesh &) |
Remap the cells of particles corresponding to the. | |
IOobject | fieldIOobject (const word &fieldName, const IOobject::readOption r) const |
Helper to construct IOobject for field and current time. | |
void | checkFieldIOobject (const Cloud< ParcelType > &c, const IOField< DataType > &data) const |
Check lagrangian data field. | |
virtual void | readFields () |
Read the field data for the cloud of particles. Dummy at. | |
virtual void | writeFields () const |
Write the field data for the cloud of particles Dummy at. | |
virtual bool | writeObject (IOstream::streamFormat fmt, IOstream::versionNumber ver, IOstream::compressionType cmp) const |
Write using given format, version and compression. | |
void | writePositions () const |
Write positions to <cloudName>_positions.obj file. | |
![]() | |
TypeName ("cloud") | |
Runtime type information. | |
cloud (const objectRegistry &, const word &cloudName="") | |
Construct for the given objectRegistry and named cloud instance. | |
virtual | ~cloud () |
Destructor. | |
![]() | |
TypeName ("objectRegistry") | |
Declare type name for this IOobject. | |
objectRegistry (const Time &db, const label nIoObjects=128) | |
Construct the time objectRegistry given an initial estimate. | |
objectRegistry (const IOobject &io, const label nIoObjects=128) | |
Construct a sub-registry given an IObject to describe the registry. | |
virtual | ~objectRegistry () |
const Time & | time () const |
Return time. | |
const objectRegistry & | parent () const |
Return the parent objectRegistry. | |
virtual const fileName & | dbDir () const |
Local directory path of this objectRegistry relative to the time. | |
wordList | names () const |
Return the list of names of the IOobjects. | |
wordList | names (const word &className) const |
Return the list of names of the IOobjects of given class name. | |
template<class Type > | |
wordList | names () const |
Return the list of names of the IOobjects of given type. | |
const objectRegistry & | subRegistry (const word &name) const |
Lookup and return a const sub-objectRegistry. | |
template<class Type > | |
HashTable< const Type * > | lookupClass () const |
Lookup and return all the object of the given Type. | |
template<class Type > | |
bool | foundObject (const word &name) const |
Is the named Type. | |
template<class Type > | |
const Type & | lookupObject (const word &name) const |
Lookup and return the object of the given Type. | |
label | getEvent () const |
Return new event number. | |
virtual void | rename (const word &newName) |
Rename. | |
bool | checkIn (regIOobject &) const |
Add an regIOobject to registry. | |
bool | checkOut (regIOobject &) const |
Remove an regIOobject from registry. | |
virtual bool | modified () const |
Return true if any of the object's files have been modified. | |
void | readModifiedObjects () |
Read the objects that have been modified. | |
virtual bool | readIfModified () |
Read object if modified. | |
virtual bool | writeData (Ostream &) const |
writeData function required by regIOobject but not used | |
![]() | |
TypeName ("regIOobject") | |
Runtime type information. | |
regIOobject (const IOobject &, const bool isTime=false) | |
Construct from IOobject. Optional flag for if IOobject is the. | |
regIOobject (const regIOobject &) | |
Construct as copy. | |
regIOobject (const regIOobject &, bool registerCopy) | |
Construct as copy, and transferring registry registration to copy. | |
virtual | ~regIOobject () |
bool | checkIn () |
Add object to registry. | |
bool | checkOut () |
Remove object from registry. | |
bool | ownedByRegistry () const |
Is this object owned by the registry? | |
void | store () |
Transfer ownership of this object to its registry. | |
void | release () |
Release ownership of this object from its registry. | |
label | eventNo () const |
Event number at last update. | |
label & | eventNo () |
Event number at last update. | |
bool | upToDate (const word &) const |
Am I uptodate with respect to other regIOobjects. | |
bool | upToDate (const word &, const word &) const |
bool | upToDate (const word &, const word &, const word &) const |
bool | upToDate (const word &, const word &, const word &, const word &) const |
void | setUpToDate () |
Flag me as up to date. | |
Istream & | readStream (const word &) |
Return Istream and check object type against that given. | |
void | close () |
Close Istream. | |
virtual bool | readData (Istream &) |
Virtual readData function. | |
virtual bool | read () |
Read object. | |
virtual bool | write () const |
Write using setting from DB. | |
void | operator= (const IOobject &) |
![]() | |
TypeName ("IOobject") | |
Runtime type information. | |
IOobject (const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, registry, io options. | |
IOobject (const word &name, const fileName &instance, const fileName &local, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from name, instance, local, registry, io options. | |
IOobject (const fileName &path, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true) | |
Construct from path, registry, io options. | |
Foam::autoPtr< IOobject > | clone () const |
Clone. | |
virtual | ~IOobject () |
const objectRegistry & | db () const |
Return the local objectRegistry. | |
const word & | name () const |
Return name. | |
const word & | headerClassName () const |
Return name of the class name read from header. | |
string & | note () |
Return non-constant access to the optional note. | |
const string & | note () const |
Return the optional note. | |
bool | registerObject () const |
Register object created from this IOobject with registry if true. | |
readOption | readOpt () const |
readOption & | readOpt () |
writeOption | writeOpt () const |
writeOption & | writeOpt () |
const fileName & | rootPath () const |
const fileName & | caseName () const |
const fileName & | instance () const |
fileName & | instance () |
const fileName & | local () const |
fileName | path () const |
Return complete path. | |
fileName | path (const word &instance, const fileName &local="") const |
Return complete path with alternative instance and local. | |
fileName | objectPath () const |
Return complete path + object name. | |
fileName | filePath () const |
Return complete path + object name if the file exists. | |
bool | readHeader (Istream &) |
Read header. | |
bool | headerOk () |
Read and check header info. | |
bool | writeHeader (Ostream &) const |
Write header. | |
bool | good () const |
bool | bad () const |
![]() | |
bool | set (const word &, const regIOobject *&newElmt) |
Assign a new hashedEntry, overwriting existing entries. | |
HashTable (const label size=128) | |
Construct given initial table size. | |
HashTable (Istream &, const label size=128) | |
Construct from Istream. | |
HashTable (const HashTable< regIOobject *, word, string::hash > &) | |
Construct as copy. | |
HashTable (const Xfer< HashTable< regIOobject *, word, string::hash > > &) | |
Construct by transferring the parameter contents. | |
~HashTable () | |
bool | empty () const |
Return true if the hash table is empty. | |
bool | found (const word &) const |
Return true if hashedEntry is found in table. | |
iterator | find (const word &) |
Find and return an iterator set at the hashedEntry. | |
const_iterator | find (const word &) const |
Find and return an const_iterator set at the hashedEntry. | |
List< word > | toc () const |
Return the table of contents. | |
List< word > | sortedToc () const |
Return the table of contents as a sorted list. | |
Ostream & | printInfo (Ostream &) const |
Print information. | |
bool | insert (const word &, const regIOobject *&newElmt) |
Insert a new hashedEntry. | |
bool | erase (const iterator &) |
Erase an hashedEntry specified by given iterator. | |
bool | erase (const word &) |
Erase an hashedEntry specified by given key if in table. | |
label | erase (const UList< word > &) |
Remove entries given by the listed keys from this HashTable. | |
label | erase (const HashTable< AnyType, word, AnyHash > &) |
Remove entries given by the given keys from this HashTable. | |
void | resize (const label newSize) |
Resize the hash table for efficiency. | |
void | clearStorage () |
Clear the table entries and the table itself. | |
void | transfer (HashTable< regIOobject *, word, string::hash > &) |
Transfer the contents of the argument table into this table. | |
Xfer< HashTable< regIOobject *, word, string::hash > > | xfer () |
Transfer contents to the Xfer container. | |
regIOobject *& | operator[] (const word &) |
Find and return an hashedEntry. | |
const regIOobject *& | operator[] (const word &) const |
Find and return an hashedEntry. | |
regIOobject *& | operator() (const word &) |
Find and return an hashedEntry, create it null if not present. | |
void | operator= (const HashTable< regIOobject *, word, string::hash > &) |
Assignment. | |
bool | operator== (const HashTable< regIOobject *, word, string::hash > &) const |
Equality. Two hash tables are equal if all contents of first are. | |
bool | operator!= (const HashTable< regIOobject *, word, string::hash > &) const |
The opposite of the equality operation. Takes linear time. | |
![]() | |
IDLList () | |
Null construct. | |
IDLList (const ParcelType &a) | |
Construct given initial T. | |
IDLList (Istream &is, const INew &inewt) | |
Construct from Istream using given Istream constructor class. | |
IDLList (Istream &is) | |
Construct from Istream. | |
IDLList (const IDLList< ParcelType > &idll, const CloneArg &cloneArg) | |
Copy constructor with additional argument for clone. | |
![]() | |
ILList () | |
Null construct. | |
ILList (ParcelType *a) | |
Construct given initial T. | |
ILList (Istream &) | |
Construct from Istream. | |
ILList (const ILList< DLListBase, ParcelType > &) | |
Construct as copy. | |
ILList (const ILList< DLListBase, ParcelType > &lst, const CloneArg &cloneArg) | |
Copy constructor with additional argument for clone. | |
ILList (Istream &, const INew &) | |
Construct from Istream using given Istream constructor class. | |
~ILList () | |
bool | eraseHead () |
Remove the head element specified from the list and delete it. | |
bool | erase (ParcelType *p) |
Remove the specified element from the list and delete it. | |
void | transfer (ILList< DLListBase, ParcelType > &) |
Transfer the contents of the argument into this List. | |
void | operator= (const ILList< DLListBase, ParcelType > &) |
![]() | |
UILList () | |
Null construct. | |
UILList (ParcelType *a) | |
Construct given initial T. | |
UILList (const UILList< DLListBase, ParcelType > &) | |
Construct as copy. | |
ParcelType * | first () |
Return the first entry. | |
const ParcelType * | first () const |
Return the first entry. | |
ParcelType * | last () |
Return the last entry. | |
const ParcelType * | last () const |
Return the last entry. | |
ParcelType * | removeHead () |
Remove and return head. | |
ParcelType * | remove (ParcelType *p) |
Remove and return element. | |
ParcelType * | remove (iterator &it) |
Remove and return specified by iterator. | |
void | operator= (const UILList< DLListBase, ParcelType > &) |
bool | operator== (const UILList< DLListBase, ParcelType > &) const |
Equality operation on ULists of the same type. | |
bool | operator!= (const UILList< DLListBase, ParcelType > &) const |
The opposite of the equality operation. Takes linear time. | |
![]() | |
DLListBase () | |
Null construct. | |
DLListBase (link *) | |
Construct given initial entry. | |
~DLListBase () | |
bool | empty () const |
Return true if the list is empty. | |
void | insert (link *) |
Add at head of list. | |
void | append (link *) |
Add at tail of list. | |
bool | swapUp (link *) |
Swap this element with the one above unless it is at the top. | |
bool | swapDown (link *) |
Swap this element with the one below unless it is at the bottom. | |
link * | remove (link *) |
Remove and return element. | |
link * | replace (link *oldLink, link *newLink) |
Replace oldLink with newLink and return element. | |
link * | replace (iterator &oldIter, link *newLink) |
Replace oldIter with newLink and return element. | |
void | transfer (DLListBase &) |
Transfer the contents of the argument into this List. | |
![]() | |
TypeName ("DsmcBaseCloud") | |
Runtime type information. | |
DsmcBaseCloud () | |
Null constructor. | |
virtual | ~DsmcBaseCloud () |
Destructor. |
Static Public Attributes | |
static scalar | kb = 1.380650277e-23 |
Boltzmann constant. | |
![]() | |
static word | cloudPropertiesName |
Name of cloud properties dictionary. | |
![]() | |
static const word | prefix |
The prefix to local: lagrangian. | |
static word | defaultName |
The default cloud name: defaultCloud. |
Additional Inherited Members | |
![]() | |
typedef ParcelType | particleType |
typedef IDLList< ParcelType > ::iterator | iterator |
typedef IDLList< ParcelType > ::const_iterator | const_iterator |
Construct given name and mesh, will read Parcels and fields from.
file
Definition at line 601 of file DsmcCloud_.C.
References forAll, and Foam::readFields().
DsmcCloud | ( | const word & | cloudName, |
const fvMesh & | mesh, | ||
const IOdictionary & | dsmcInitialiseDict | ||
) |
Construct given name, mesh and initialisation dictionary.
Definition at line 823 of file DsmcCloud_.C.
References clear().
|
virtual |
Destructor.
Definition at line 1043 of file DsmcCloud_.C.
|
inline |
Return the cloud type.
Definition at line 29 of file DsmcCloudI_.H.
|
inline |
Return refernce to the mesh.
Definition at line 36 of file DsmcCloudI_.H.
|
inline |
Return particle properties dictionary.
Definition at line 44 of file DsmcCloudI_.H.
|
inline |
Return the idList.
Definition at line 52 of file DsmcCloudI_.H.
|
inline |
Return the number of real particles represented by one.
parcel
Definition at line 59 of file DsmcCloudI_.H.
|
inline |
Return the cell occupancy addressing.
Definition at line 67 of file DsmcCloudI_.H.
|
inline |
Return the sigmaTcRMax field. non-const access to allow.
updating.
Definition at line 74 of file DsmcCloudI_.H.
|
inline |
Return the collision selection remainder field. non-const.
access to allow updating.
Definition at line 82 of file DsmcCloudI_.H.
|
inline |
Return all of the constant properties.
Definition at line 90 of file DsmcCloudI_.H.
|
inline |
Return the constant properties of the given typeId.
Definition at line 99 of file DsmcCloudI_.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and Foam::nl.
|
inline |
Return refernce to the random object.
Definition at line 116 of file DsmcCloudI_.H.
|
inline |
Return non-const heat flux boundary field reference.
Definition at line 124 of file DsmcCloudI_.H.
|
inline |
Return non-const force density at boundary field reference.
Definition at line 132 of file DsmcCloudI_.H.
|
inline |
Return non-const number density boundary field reference.
Definition at line 140 of file DsmcCloudI_.H.
|
inline |
Return non-const mass density boundary field reference.
Definition at line 148 of file DsmcCloudI_.H.
|
inline |
Return non-const linear kinetic energy density boundary.
field reference
Definition at line 156 of file DsmcCloudI_.H.
|
inline |
Return non-const internal energy density boundary field.
reference
Definition at line 164 of file DsmcCloudI_.H.
|
inline |
Return non-const internal degree of freedom density boundary.
field reference
Definition at line 172 of file DsmcCloudI_.H.
|
inline |
Return non-const momentum density boundary field reference.
Definition at line 180 of file DsmcCloudI_.H.
|
inline |
Return macroscopic temperature.
Definition at line 188 of file DsmcCloudI_.H.
|
inline |
Return macroscopic velocity.
Definition at line 196 of file DsmcCloudI_.H.
|
inline |
Return heat flux at surface field.
Definition at line 402 of file DsmcCloudI_.H.
|
inline |
Return force density at surface field.
Definition at line 409 of file DsmcCloudI_.H.
|
inline |
Return the real particle number density field.
Definition at line 417 of file DsmcCloudI_.H.
|
inline |
Return the particle mass density field.
Definition at line 424 of file DsmcCloudI_.H.
|
inline |
Return the field of number of DSMC particles.
Definition at line 432 of file DsmcCloudI_.H.
|
inline |
Return the total linear kinetic energy (translational and.
thermal density field
Definition at line 440 of file DsmcCloudI_.H.
|
inline |
Return the internal energy density field.
Definition at line 448 of file DsmcCloudI_.H.
|
inline |
Return the average internal degrees of freedom field.
Definition at line 456 of file DsmcCloudI_.H.
|
inline |
Return the momentum density field.
Definition at line 463 of file DsmcCloudI_.H.
Foam::vector equipartitionLinearVelocity | ( | scalar | temperature, |
scalar | mass | ||
) |
Generate a random velocity sampled from the Maxwellian speed.
distribution
Definition at line 1121 of file DsmcCloud_.C.
References Foam::sqrt().
Foam::scalar equipartitionInternalEnergy | ( | scalar | temperature, |
scalar | internalDegreesOfFreedom | ||
) |
Generate a random internal energy, sampled from the.
equilibrium distribution (Bird eqn 11.22 and 11.23 and adapting code from DSMC3.FOR)
Definition at line 1139 of file DsmcCloud_.C.
References Foam::exp(), Foam::log(), and Foam::pow().
|
inline |
Average particle speed.
Definition at line 333 of file DsmcCloudI_.H.
References Foam::mathematicalConstant::pi(), and Foam::sqrt().
|
inline |
Definition at line 345 of file DsmcCloudI_.H.
References Foam::mathematicalConstant::pi(), and Foam::sqrt().
|
inline |
|
inline |
Definition at line 368 of file DsmcCloudI_.H.
References Foam::sqrt().
|
inline |
|
inline |
Definition at line 392 of file DsmcCloudI_.H.
References Foam::sqrt().
|
inline |
Return reference to binary elastic collision model.
Definition at line 204 of file DsmcCloudI_.H.
|
inline |
Return non-const reference to binary elastic collision model.
Definition at line 212 of file DsmcCloudI_.H.
|
inline |
Return reference to wall interaction model.
Definition at line 220 of file DsmcCloudI_.H.
|
inline |
Return non-const reference to wall interaction model.
Definition at line 228 of file DsmcCloudI_.H.
|
inline |
Return reference to wall interaction model.
Definition at line 236 of file DsmcCloudI_.H.
|
inline |
Return non-const reference to wall interaction model.
Definition at line 244 of file DsmcCloudI_.H.
|
inline |
Total mass injected.
|
inline |
Total mass in system.
Definition at line 251 of file DsmcCloudI_.H.
References forAllConstIter, and p.
|
inline |
Total linear momentum of the system.
Definition at line 272 of file DsmcCloudI_.H.
References forAllConstIter, and p.
|
inline |
Total linear kinetic energy in the system.
Definition at line 294 of file DsmcCloudI_.H.
References forAllConstIter, and p.
|
inline |
Total internal energy in the system.
Definition at line 316 of file DsmcCloudI_.H.
References forAllConstIter, and p.
void info | ( | ) | const |
Print cloud information.
Reimplemented from IOobject.
Definition at line 1077 of file DsmcCloud_.C.
References Foam::endl(), Foam::Info, Foam::mag(), name(), Foam::nl, reduce(), and Foam::returnReduce().
void dumpParticlePositions | ( | ) | const |
Dump particle positions to .obj file.
Definition at line 1179 of file DsmcCloud_.C.
References OSstream::flush(), forAllConstIter, name(), Foam::nl, and timeName.
void addNewParcel | ( | const vector & | position, |
const vector & | U, | ||
const scalar | Ei, | ||
const label | cellId, | ||
const label | typeId | ||
) |
Add new parcel.
Definition at line 575 of file DsmcCloud_.C.
void evolve | ( | ) |
Evolve the cloud (move, collide)
Definition at line 1050 of file DsmcCloud_.C.
|
inline |
Clear the Cloud.
Reimplemented from Cloud< ParcelType >.
Definition at line 470 of file DsmcCloudI_.H.
References clear().
|
static |