createMDFields.H File Reference

Go to the source code of this file.

Functions

List< scalarFieldallSpeciesN_RU (molecules.potential().nIds(), scalarField(mesh.nCells(), 0.0))
 
List< scalarFieldallSpeciesM_RU (molecules.potential().nIds(), scalarField(mesh.nCells(), 0.0))
 
List< vectorFieldallSpeciesVelocitySum_RU (molecules.potential().nIds(), vectorField(mesh.nCells(), Zero))
 
List< scalarFieldallSpeciesVelocityMagSquaredSum_RU (molecules.potential().nIds(), scalarField(mesh.nCells(), 0.0))
 
Info<< nl<< "Creating fields."<< endl;PtrList< volScalarField > allSpeciesRhoN (molecules.potential().nIds())
 
 forAll (allSpeciesRhoN, rN)
 
Info<< " Creating total number density field"<< endl;volScalarField totalRhoN(IOobject("rhoN_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimless/dimVolume, "zeroGradient");totalRhoN.primitiveFieldRef()=0;totalRhoN.correctBoundaryConditions();PtrList< volScalarField > allSpeciesRhoM (molecules.potential().nIds())
 
 forAll (allSpeciesRhoM, rM)
 
Info<< " Creating total mass density field"<< endl;volScalarField totalRhoM(IOobject("rhoM_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimMass/dimVolume, "zeroGradient");totalRhoM.primitiveFieldRef()=0;totalRhoM.correctBoundaryConditions();PtrList< volVectorField > allSpeciesVelocity (molecules.potential().nIds())
 
 forAll (allSpeciesVelocity, v)
 
Info<< " Creating total velocity field"<< endl;volVectorField totalVelocity(IOobject("velocity_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedVector(dimVelocity, Zero));PtrList< volScalarField > allSpeciesTemperature (molecules.potential().nIds())
 
 forAll (allSpeciesTemperature, t)
 
Info<< " Creating total temperature field"<< endl;volScalarField totalTemperature(IOobject("temperature_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimTemperature, "zeroGradient");totalTemperature.primitiveFieldRef()=0;totalTemperature.correctBoundaryConditions();PtrList< volScalarField > allSpeciesMeanKE (molecules.potential().nIds())
 
 forAll (allSpeciesMeanKE, mKE)
 

Function Documentation

◆ allSpeciesN_RU()

List<scalarField> allSpeciesN_RU ( molecules.  potential).nIds(,
scalarField(mesh.nCells(), 0.0)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ allSpeciesM_RU()

List<scalarField> allSpeciesM_RU ( molecules.  potential).nIds(,
scalarField(mesh.nCells(), 0.0)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ allSpeciesVelocitySum_RU()

List<vectorField> allSpeciesVelocitySum_RU ( molecules.  potential).nIds(,
vectorField(mesh.nCells(), Zero)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ allSpeciesVelocityMagSquaredSum_RU()

List<scalarField> allSpeciesVelocityMagSquaredSum_RU ( molecules.  potential).nIds(,
scalarField(mesh.nCells(), 0.0)   
)

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ allSpeciesRhoN()

Info<< nl << "Creating fields." << endl;PtrList<volScalarField> allSpeciesRhoN ( molecules.  potential).nIds()

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ forAll() [1/5]

forAll ( allSpeciesRhoN  ,
rN   
)

Definition at line 40 of file createMDFields.H.

References allSpeciesRhoM(), allSpeciesRhoN(), Foam::dimless, Foam::dimVolume, Foam::endl(), Foam::Info, and mesh.

Here is the call graph for this function:

◆ allSpeciesRhoM()

Info<< " Creating total number density field" << endl;volScalarField totalRhoN( IOobject ( "rhoN_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimless/dimVolume, "zeroGradient");totalRhoN.primitiveFieldRef() = 0;totalRhoN.correctBoundaryConditions();PtrList<volScalarField> allSpeciesRhoM ( molecules.  potential).nIds()

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ forAll() [2/5]

forAll ( allSpeciesRhoM  ,
rM   
)

Definition at line 95 of file createMDFields.H.

References allSpeciesRhoM(), allSpeciesVelocity(), Foam::dimMass, Foam::dimVolume, Foam::endl(), Foam::Info, and mesh.

Here is the call graph for this function:

◆ allSpeciesVelocity()

Info<< " Creating total mass density field" << endl;volScalarField totalRhoM( IOobject ( "rhoM_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimMass/dimVolume, "zeroGradient");totalRhoM.primitiveFieldRef() = 0;totalRhoM.correctBoundaryConditions();PtrList<volVectorField> allSpeciesVelocity ( molecules.  potential).nIds()

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ forAll() [3/5]

forAll ( allSpeciesVelocity  ,
 
)

Definition at line 150 of file createMDFields.H.

References allSpeciesTemperature(), allSpeciesVelocity(), Foam::dimVelocity, Foam::endl(), Foam::Info, mesh, and Foam::Zero.

Here is the call graph for this function:

◆ allSpeciesTemperature()

Info<< " Creating total velocity field" << endl;volVectorField totalVelocity( IOobject ( "velocity_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedVector(dimVelocity, Zero));PtrList<volScalarField> allSpeciesTemperature ( molecules.  potential).nIds()

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ forAll() [4/5]

forAll ( allSpeciesTemperature  ,
 
)

Definition at line 220 of file createMDFields.H.

References allSpeciesMeanKE(), allSpeciesTemperature(), Foam::dimTemperature, Foam::endl(), Foam::Info, and mesh.

Here is the call graph for this function:

◆ allSpeciesMeanKE()

Info<< " Creating total temperature field" << endl;volScalarField totalTemperature( IOobject ( "temperature_total", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimTemperature, "zeroGradient");totalTemperature.primitiveFieldRef() = 0;totalTemperature.correctBoundaryConditions();PtrList<volScalarField> allSpeciesMeanKE ( molecules.  potential).nIds()

Referenced by forAll(), and if().

Here is the caller graph for this function:

◆ forAll() [5/5]

forAll ( allSpeciesMeanKE  ,
mKE   
)

Definition at line 276 of file createMDFields.H.

References allSpeciesMeanKE(), Foam::endl(), Foam::Info, mesh, and GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef().

Here is the call graph for this function: