|
|
|
DsmcCloud< ParcelType > Class Template ReferenceTemplated base class for dsmc cloud. More...
Inheritance diagram for DsmcCloud< ParcelType >:
![]()
Collaboration diagram for DsmcCloud< ParcelType >:
![]()
Detailed Descriptiontemplate<class ParcelType>
Templated base class for dsmc cloud.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| DsmcCloud | ( | const word & | cloudName, | |
| const volScalarField & | T, | |||
| const volVectorField & | U | |||
| ) | [inline] |
Construct given name and mesh, will read Parcels from file.
Definition at line 517 of file DsmcCloud.C.
Construct given name and mesh. Used to initialise.
Definition at line 629 of file DsmcCloud.C.
References Random::scalar01().

| ~DsmcCloud | ( | ) | [inline, virtual] |
| const Foam::word & cloudName | ( | ) | const [inline] |
| const Foam::fvMesh & mesh | ( | ) | const [inline] |
Return refernce to the mesh.
Definition at line 28 of file DsmcCloudI.H.
Referenced by DsmcCloud< ParcelType >::cachedDeltaT().

| const Foam::IOdictionary & particleProperties | ( | ) | const [inline] |
| const Foam::List< Foam::word > & typeIdList | ( | ) | const [inline] |
| Foam::scalar nParticle | ( | ) | const [inline] |
Return the number of real particles represented by one.
Definition at line 51 of file DsmcCloudI.H.
| const Foam::List< Foam::DynamicList< ParcelType * > > & cellOccupancy | ( | ) | const [inline] |
| Foam::volScalarField & sigmaTcRMax | ( | ) | [inline] |
Return the sigmaTcRMax field. non-const access to allow.
updating.
Definition at line 66 of file DsmcCloudI.H.
| Foam::scalarField & collisionSelectionRemainder | ( | ) | [inline] |
Return the collision selection remainder field. non-const.
access to allow updating.
Definition at line 74 of file DsmcCloudI.H.
| const Foam::List< typename ParcelType::constantProperties > & constProps | ( | ) | const [inline] |
| const ParcelType::constantProperties & constProps | ( | label | typeId | ) | const [inline] |
| Foam::Random & rndGen | ( | ) | [inline] |
| void storeDeltaT | ( | ) | [inline] |
| Foam::scalar cachedDeltaT | ( | ) | const [inline] |
Return the cached value of deltaT.
Definition at line 122 of file DsmcCloudI.H.
References TimeState::deltaT(), DsmcCloud< ParcelType >::mesh(), and fvMesh::time().

| const Foam::volScalarField & q | ( | ) | const [inline] |
| Foam::volScalarField & q | ( | ) | [inline] |
| const Foam::volVectorField & fD | ( | ) | const [inline] |
| Foam::volVectorField & fD | ( | ) | [inline] |
| const Foam::volScalarField & T | ( | ) | const [inline] |
| const Foam::volVectorField & U | ( | ) | const [inline] |
| Foam::vector equipartitionLinearVelocity | ( | scalar | temperature, | |
| scalar | mass | |||
| ) | [inline] |
Generate a random velocity sampled from the Maxwellian speed.
Definition at line 841 of file DsmcCloud.C.
| Foam::scalar equipartitionInternalEnergy | ( | scalar | temperature, | |
| scalar | internalDegreesOfFreedom | |||
| ) | [inline] |
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 859 of file DsmcCloud.C.
| Foam::scalar maxwellianAverageSpeed | ( | scalar | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
| Foam::scalarField maxwellianAverageSpeed | ( | scalarField | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
Definition at line 312 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, Foam::mathematicalConstant::pi, and Foam::sqrt().

| Foam::scalar maxwellianRMSSpeed | ( | scalar | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
RMS particle speed.
Definition at line 323 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, Foam::mathematicalConstant::pi, and Foam::sqrt().

| Foam::scalarField maxwellianRMSSpeed | ( | scalarField | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
Definition at line 334 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, and Foam::sqrt().

| Foam::scalar maxwellianMostProbableSpeed | ( | scalar | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
Most probable speed.
Definition at line 346 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, and Foam::sqrt().

| Foam::scalarField maxwellianMostProbableSpeed | ( | scalarField | temperature, | |
| scalar | mass | |||
| ) | const [inline] |
Definition at line 358 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, and Foam::sqrt().

| const Foam::BinaryCollisionModel< Foam::DsmcCloud< ParcelType > > & binaryCollision | ( | ) | const [inline] |
| Foam::BinaryCollisionModel< Foam::DsmcCloud< ParcelType > > & binaryCollision | ( | ) | [inline] |
Return non-const reference to binary elastic collision model.
Definition at line 180 of file DsmcCloudI.H.
| const Foam::WallInteractionModel< Foam::DsmcCloud< ParcelType > > & wallInteraction | ( | ) | const [inline] |
| Foam::WallInteractionModel< Foam::DsmcCloud< ParcelType > > & wallInteraction | ( | ) | [inline] |
| const Foam::InflowBoundaryModel< Foam::DsmcCloud< ParcelType > > & inflowBoundary | ( | ) | const [inline] |
| Foam::InflowBoundaryModel< Foam::DsmcCloud< ParcelType > > & inflowBoundary | ( | ) | [inline] |
| scalar massInjected | ( | ) | const [inline] |
Total mass injected.
| Foam::scalar massInSystem | ( | ) | const [inline] |
| Foam::vector linearMomentumOfSystem | ( | ) | const [inline] |
| Foam::scalar linearKineticEnergyOfSystem | ( | ) | const [inline] |
| Foam::scalar internalEnergyOfSystem | ( | ) | const [inline] |
| void info | ( | ) | const [inline] |
| void dumpParticlePositions | ( | ) | const [inline] |
| const Foam::tmp< Foam::volScalarField > rhoN | ( | ) | const [inline] |
Return the real particle number density field.
Definition at line 369 of file DsmcCloudI.H.
References DsmcCloud< ParcelType >::kb, and Foam::sqrt().

| const Foam::tmp< Foam::volScalarField > rhoM | ( | ) | const [inline] |
| const Foam::tmp< Foam::volScalarField > dsmcRhoN | ( | ) | const [inline] |
| const Foam::tmp< Foam::volVectorField > momentum | ( | ) | const [inline] |
| const Foam::tmp< Foam::volScalarField > linearKE | ( | ) | const [inline] |
Return the total linear kinetic energy (translational and.
thermal density field
Definition at line 520 of file DsmcCloudI.H.
| const Foam::tmp< Foam::volScalarField > internalE | ( | ) | const [inline] |
| const Foam::tmp< Foam::volScalarField > iDof | ( | ) | const [inline] |
| void evolve | ( | ) | [inline] |
| void clear | ( | ) | [inline] |
Clear the Cloud.
Reimplemented from Cloud< ParcelType >.
Definition at line 631 of file DsmcCloudI.H.
Foam::scalar kb = 1.380650277e-23 [inline, static] |
Boltzmann constant.
Definition at line 179 of file DsmcCloud.H.
Referenced by DsmcCloud< ParcelType >::maxwellianAverageSpeed(), DsmcCloud< ParcelType >::maxwellianMostProbableSpeed(), DsmcCloud< ParcelType >::maxwellianRMSSpeed(), and DsmcCloud< ParcelType >::rhoN().