OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

createFields.H File Reference

Go to the source code of this file.


Functions

volScalarField rho (IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT), alpha1 *rho1+(scalar(1)-alpha1)*rho2, alpha1.boundaryField().types())
rho oldTime ()
 setRefCell (p, mesh.solutionDict().subDict("PISO"), pRefCell, pRefValue)
interfaceProperties interface (alpha1, U, twoPhaseProperties())
autoPtr
< incompressible::turbulenceModel > 
turbulence (incompressible::turbulenceModel::New(U, phi, twoPhaseProperties()))

Variables

Info<< "Reading field p\n"
<< endl;volScalarField p(IOobject("p",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Reading field alpha1\n"
<< endl;volScalarField alpha1(IOobject("alpha1",
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);Info
<< "Creating
phaseChangeTwoPhaseMixture\n"
<< endl;autoPtr
< phaseChangeTwoPhaseMixture > 
twoPhaseProperties
const dimensionedScalar & rho1 = twoPhaseProperties->rho1()
const dimensionedScalar & rho2 = twoPhaseProperties->rho2()
const dimensionedScalar & pSat = twoPhaseProperties->pSat()
label pRefCell = 0
scalar pRefValue = 0.0

Function Documentation

volScalarField rho ( IOobject("rho", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT)  ,
alpha1 *rho1+(scalar(1)-alpha1)*  rho2,
alpha1.  boundaryField).types( 
)

rho oldTime (  ) 

setRefCell ( p  ,
mesh.  solutionDict).subDict("PISO",
pRefCell  ,
pRefValue   
)

interfaceProperties interface ( alpha1  ,
U  ,
twoPhaseProperties()   
)

Referenced by if().

Here is the caller graph for this function:

autoPtr<incompressible::turbulenceModel> turbulence ( incompressible::turbulenceModel::  NewU, phi, twoPhaseProperties()  ) 


Variable Documentation

Info<< "Reading field p\n" << endl; volScalarField p ( IOobject ( "p", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Reading field alpha1\n" << endl; volScalarField alpha1 ( IOobject ( "alpha1", 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 ); Info<< "Creating phaseChangeTwoPhaseMixture\n" << endl; autoPtr<phaseChangeTwoPhaseMixture> twoPhaseProperties

Initial value:

        phaseChangeTwoPhaseMixture::New(U, phi)

Definition at line 46 of file createFields.H.

const dimensionedScalar& rho1 = twoPhaseProperties->rho1()

Definition at line 49 of file createFields.H.

Referenced by if().

const dimensionedScalar& rho2 = twoPhaseProperties->rho2()

Definition at line 50 of file createFields.H.

Referenced by if().

const dimensionedScalar& pSat = twoPhaseProperties->pSat()

Definition at line 51 of file createFields.H.

label pRefCell = 0

Definition at line 69 of file createFields.H.

scalar pRefValue = 0.0

Definition at line 70 of file createFields.H.

Copyright © 2000-2009 OpenCFD Ltd