createFields.H File Reference
Go to the source code of this file.
|
Functions |
Info<< "Reading thermophysical
properties\n"<< endl;autoPtr
< hhuCombustionThermo > | pThermo (hhuCombustionThermo::New(mesh)) |
| volScalarField | rho (IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho()) |
Info<< "min(b) = "<< min(b).value()
<< endl;const volScalarField
&T=thermo.T();Info
<< "\nReading field U\n"
<< endl;volVectorField U(IOobject("U",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Creating turbulence model\n"
<< endl;autoPtr
< compressible::turbulenceModel > | turbulence (compressible::turbulenceModel::New(rho, U, phi, thermo)) |
Info<< "Creating field DpDt\n"
<< endl;volScalarField DpDt=fvc::DDt(surfaceScalarField("phiU",
phi/fvc::interpolate(rho)), p);Info
<< "Creating field Xi\n"
<< endl;volScalarField Xi(IOobject("Xi",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);Info
<< "Creating the unstrained
laminar flame speed\n"<< endl;autoPtr
< laminarFlameSpeed > | unstrainedLaminarFlameSpeed (laminarFlameSpeed::New(thermo)) |
| | if (composition.contains("ft")) |
| fields | add (b) |
| fields | add (h) |
| fields | add (hu) |
Variables |
| hhuCombustionThermo & | thermo = pThermo() |
| basicMultiComponentMixture & | composition = thermo.composition() |
| volScalarField & | p = thermo.p() |
| const volScalarField & | psi = thermo.psi() |
| volScalarField & | h = thermo.h() |
| volScalarField & | hu = thermo.hu() |
| volScalarField & | b = composition.Y("b") |
Info<< "Reading strained
laminar flame speed field Su\n"
<< endl;volScalarField Su(IOobject("Su",
runTime.timeName(), mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE), mesh);dimensionedScalar
SuMin=0.01 *Su.average();dimensionedScalar
SuMax=4 *Su.average();Info
<< "Calculating turbulent
flame speed field St\n"<< endl;volScalarField
St(IOobject("St",
runTime.timeName(), mesh,
IOobject::NO_READ,
IOobject::AUTO_WRITE), Xi *Su);multivariateSurfaceInterpolationScheme
< scalar >::fieldTable | fields |
Function Documentation
| Info<< "Reading thermophysical properties\n" << endl; autoPtr<hhuCombustionThermo> pThermo |
( |
hhuCombustionThermo:: |
Newmesh |
) |
|
| volScalarField rho |
( |
IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE) |
, |
|
|
thermo. |
rho() | |
|
) |
| | |
| Info<< "min(b) = " << min(b).value() << endl; const volScalarField& T = thermo.T(); Info<< "\nReading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Creating turbulence model\n" << endl; autoPtr<compressible::turbulenceModel> turbulence |
( |
compressible::turbulenceModel:: |
Newrho, U, phi, thermo |
) |
|
| Info<< "Creating field DpDt\n" << endl; volScalarField DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p); Info<< "Creating field Xi\n" << endl; volScalarField Xi ( IOobject ( "Xi", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Info<< "Creating the unstrained laminar flame speed\n" << endl; autoPtr<laminarFlameSpeed> unstrainedLaminarFlameSpeed |
( |
laminarFlameSpeed:: |
Newthermo |
) |
|
| if |
( |
composition. |
contains"ft" |
) |
|
Variable Documentation
| hhuCombustionThermo& thermo = pThermo() |
| Info<< "Reading strained laminar flame speed field Su\n" << endl; volScalarField Su ( IOobject ( "Su", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); dimensionedScalar SuMin = 0.01*Su.average(); dimensionedScalar SuMax = 4*Su.average(); Info<< "Calculating turbulent flame speed field St\n" << endl; volScalarField St ( IOobject ( "St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), Xi*Su ); multivariateSurfaceInterpolationScheme<scalar>::fieldTable fields |
Copyright © 2000-2009 OpenCFD Ltd
|