Go to the source code of this file.
|
Info<< "Reading field U\n"<< endl;volVectorField U(IOobject("U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Creating face flux\n"<< endl;surfaceScalarField phi(IOobject("phi", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mesh, dimensionedScalar(mesh.Sf().dimensions() *U.dimensions(), 0));autoPtr< viscosityModel > | viscosity (viscosityModel::New(mesh)) |
|
autoPtr< incompressible::momentumTransportModel > | turbulence (incompressible::momentumTransportModel::New(U, phi, viscosity)) |
|
dimensionedVector | Ubar ("Ubar", dimVelocity, viscosity) |
|
dimensionedVector | gradP ("gradP", dimensionSet(0, 1, -2, 0, 0), Zero) |
|
◆ viscosity()
Info<< "Reading field U\n" << endl;volVectorField U( IOobject ( "U", runTime.name(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh);Info<< "Creating face flux\n" << endl;surfaceScalarField phi( IOobject ( "phi", runTime.name(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedScalar(mesh.Sf().dimensions()*U.dimensions(), 0));autoPtr<viscosityModel> viscosity |
( |
viscosityModel::New(mesh) |
| ) |
|
◆ turbulence()
autoPtr<incompressible::momentumTransportModel> turbulence |
( |
incompressible::momentumTransportModel::New(U, phi, viscosity) |
| ) |
|
Referenced by diffusion::correct(), EDC::correct(), PaSR::correct(), relaxation::correct(), main(), PDRDragModel::New(), XiEqModel::New(), XiGModel::New(), XiModel::New(), LESdelta::New(), combustionModel::phi(), and combustionModel::rho().
◆ Ubar()
dimensionedVector Ubar |
( |
"Ubar" |
, |
|
|
dimVelocity |
, |
|
|
viscosity |
|
|
) |
| |
◆ gradP()
dimensionedVector gradP |
( |
"gradP" |
, |
|
|
dimensionSet(0, 1, -2, 0, 0) |
, |
|
|
Zero |
|
|
) |
| |
◆ flowDirection
vector flowDirection = (Ubar/mag(Ubar)).value() |
◆ flowMask