Loading...
Searching...
No Matches
createFields.H File Reference

Go to the source code of this file.

Functions

 Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > (new volVectorField(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh))
 
volVectorField U0 (U)
 
 Info<< "Reading/calculating face flux field phi\n"<< endl;_phi=autoPtr< surfaceScalarField > (new surfaceScalarField(IOobject("phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), linearInterpolate(U) &mesh.Sf()))
 
surfaceScalarField phi0 (phi)
 
 Info<< "Reading transportProperties\n"<< endl;_transportProperties=autoPtr< IOdictionary > (new IOdictionary(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE)))
 
 Info<< "Reading viscosity nu\n"<< endl;_nu=autoPtr< dimensionedScalar > (new dimensionedScalar(_transportProperties().lookup("nu")))
 

Variables

volVectorField & U = _U()
 
 _U0
 
surfaceScalarField & phi = _phi()
 
 _phi0
 

Function Documentation

◆ Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField >()

Info<< "Reading field U\n"<< endl;_U=autoPtr< volVectorField > ( new volVectorFieldIOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE), mesh)

◆ Info<< "Reading transportProperties\n"<< endl;_transportProperties=autoPtr< IOdictionary >()

Info<< "Reading transportProperties\n"<< endl;_transportProperties=autoPtr< IOdictionary > ( new IOdictionaryIOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))

◆ Info<< "Reading viscosity nu\n"<< endl;_nu=autoPtr< dimensionedScalar >()

Info<< "Reading viscosity nu\n"<< endl;_nu=autoPtr< dimensionedScalar > ( new dimensionedScalar_transportProperties().lookup("nu"))

◆ Info<< "Reading/calculating face flux field phi\n"<< endl;_phi=autoPtr< surfaceScalarField >()

Info<< "Reading/calculating face flux field phi\n"<< endl;_phi=autoPtr< surfaceScalarField > ( new surfaceScalarFieldIOobject("phi", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), linearInterpolate(U) &mesh.Sf())

◆ phi0()

surfaceScalarField phi0 ( phi )

◆ U0()

volVectorField U0 ( U )
Examples
17YJunction.C.

Variable Documentation

◆ _phi0

_phi0
Initial value:
= autoPtr<surfaceScalarField>
(
new surfaceScalarField(phi0)
)
surfaceScalarField phi0(phi)

Definition at line 71 of file createFields.H.

◆ _U0

_U0
Initial value:
= autoPtr<volVectorField>
(
new volVectorField(U0)
)
volVectorField U0(U)

Definition at line 46 of file createFields.H.

◆ phi

surfaceScalarField& phi = _phi()

◆ U

volVectorField& U = _U()