createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

mesh setFluxRequired (p.name())
 
mesh setFluxRequired (rho.name())
 
autoPtr< incompressible::momentumTransportModel > turbulence (incompressible::momentumTransportModel::New(U, phi, mixture))
 

Variables

Info<< "Reading field p\"<< endl;volScalarField p(IOobject("p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);mesh.setFluxRequired(p.name());surfaceScalarField rhoPhi(IOobject("rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), fvc::interpolate(rho) *phi);Info<< "Reading transportProperties\"<< endl;incompressibleTwoPhaseMixture mixture(U, phi);volScalarField &alphav(mixture.alpha1());alphav.oldTime();volScalarField &alphal(mixture.alpha2());Info<< "Creating compressibilityModel\"<< endl;autoPtr< barotropicCompressibilityModel > psiModel
 
const volScalarField & psi = psiModel->psi()
 
 rho
 

Function Documentation

◆ setFluxRequired() [1/2]

mesh setFluxRequired ( p.  name())

◆ setFluxRequired() [2/2]

mesh setFluxRequired ( rho.  name())

◆ turbulence()

autoPtr<incompressible::momentumTransportModel> turbulence ( incompressible::momentumTransportModel::New(U, phi, mixture )

Variable Documentation

◆ psiModel

Info<< "Reading field p\n" << endl;volScalarField p( IOobject ( "p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);volScalarField rho( IOobject ( "rho", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);mesh.setFluxRequired(p.name());surfaceScalarField rhoPhi( IOobject ( "rhoPhi", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), fvc::interpolate(rho)*phi);Info<< "Reading transportProperties\n" << endl;incompressibleTwoPhaseMixture mixture(U, phi);volScalarField& alphav(mixture.alpha1());alphav.oldTime();volScalarField& alphal(mixture.alpha2());Info<< "Creating compressibilityModel\n" << endl;autoPtr<barotropicCompressibilityModel> psiModel
Initial value:
=
(
thermodynamicProperties,
alphav
)
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)

Definition at line 72 of file createFields.H.

◆ psi

const volScalarField& psi = psiModel->psi()

Definition at line 79 of file createFields.H.

◆ rho

rho
Initial value:
== max
(
+ alphal*rhol0
+ ((alphav*psiv + alphal*psil) - psi)*pSat,
rhoMin
)
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
alphal
Definition: alphavPsi.H:12
volScalarField & p
Definition: createFields.H:23
const volScalarField & psi
Definition: createFields.H:26

Definition at line 81 of file createFields.H.

Referenced by forAll(), and if().