All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading thermophysical properties\"<< endl;autoPtr< psiThermo > pThermo (psiThermo::New(mesh))
 
Info<< "Creating thermophysical transport model\"<< endl;autoPtr< fluidThermophysicalTransportModel > thermophysicalTransport (fluidThermophysicalTransportModel::New(turbulence(), thermo))
 

Variables

psiThermo & thermo = pThermo()
 
volScalarField & e = thermo.he()
 Elementary charge. More...
 
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence (compressible::momentumTransportModel::New(rho, U, phi, thermo))
 

Function Documentation

◆ pThermo()

Info<< "Reading thermophysical properties\n" << endl;autoPtr<psiThermo> pThermo ( psiThermo::New(mesh )

◆ thermophysicalTransport()

Info<< "Creating thermophysical transport model\n" << endl;autoPtr<fluidThermophysicalTransportModel> thermophysicalTransport ( fluidThermophysicalTransportModel::New(turbulence(), thermo )

Variable Documentation

◆ thermo

psiThermo& thermo = pThermo()

Definition at line 9 of file createFields.H.

◆ e

volScalarField& e = thermo.he()

Elementary charge.

Definition at line 11 of file createFields.H.

◆ turbulence

Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);volScalarField rho( IOobject ( "rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), thermo.rho());volVectorField rhoU( IOobject ( "rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), rho*U);volScalarField rhoE( IOobject ( "rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), rho*(e + 0.5*magSqr(U)));surfaceScalarField pos( IOobject ( "pos", runTime.timeName(), mesh ), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg( IOobject ( "neg", runTime.timeName(), mesh ), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n" << endl;autoPtr<compressible::momentumTransportModel> turbulence(compressible::momentumTransportModel::New( rho, U, phi, thermo))