Loading...
Searching...
No Matches
createFields.H File Reference
Include dependency graph for createFields.H:

Go to the source code of this file.

Functions

Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", 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);label pRefCell=0;scalar pRefValue=0.0;setRefCell(p, simple.dict(), pRefCell, pRefValue);mesh.setFluxRequired(p.name());Info<< "Reading field pa\n"<< endl;volScalarField pa(IOobject("pa", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Ua\n"<< endl;volVectorField Ua(IOobject("Ua", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);label paRefCell=0;scalar paRefValue=0.0;setRefCell(pa, simple.dict(), paRefCell, paRefValue);mesh.setFluxRequired(pa.name());singlePhaseTransportModel laminarTransport(U, phi);autoPtr< incompressible::turbulenceModel > turbulence (incompressible::turbulenceModel::New(U, phi, laminarTransport))
dimensionedScalar zeroSensitivity (dimVelocity *dimVelocity, Zero)
dimensionedScalar zeroAlpha (dimless/dimTime, Zero)
dimensionedScalar lambda ("lambda", dimTime/sqr(dimLength), laminarTransport)
dimensionedScalar alphaMax ("alphaMax", dimless/dimTime, laminarTransport)
volScalarField alpha (IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
 zeroCells (alpha, inletCells)

Variables

const labelUList & inletCells = mesh.boundary()["inlet"].faceCells()

Function Documentation

◆ turbulence()

Info<< "Reading field p\n"<< endl;volScalarField p(IOobject("p", 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);label pRefCell=0;scalar pRefValue=0.0;setRefCell(p, simple.dict(), pRefCell, pRefValue);mesh.setFluxRequired(p.name());Info<< "Reading field pa\n"<< endl;volScalarField pa(IOobject("pa", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);Info<< "Reading field Ua\n"<< endl;volVectorField Ua(IOobject("Ua", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);label paRefCell=0;scalar paRefValue=0.0;setRefCell(pa, simple.dict(), paRefCell, paRefValue);mesh.setFluxRequired(pa.name());singlePhaseTransportModel laminarTransport(U, phi);autoPtr< incompressible::turbulenceModel > turbulence ( incompressible::turbulenceModel::New(U, phi, laminarTransport) )

References laminarTransport(), phi, and U.

Here is the call graph for this function:

◆ zeroSensitivity()

dimensionedScalar zeroSensitivity ( dimVelocity * dimVelocity,
Zero  )

Referenced by alpha().

Here is the caller graph for this function:

◆ zeroAlpha()

dimensionedScalar zeroAlpha ( dimless/ dimTime,
Zero  )

◆ lambda()

dimensionedScalar lambda ( "lambda" ,
dimTime/ sqrdimLength,
laminarTransport  )

References laminarTransport().

Referenced by alpha(), fourthGrad< Type >::calcGrad(), fusedGaussGrad< Type >::calcGrad(), fusedGaussGrad< Type >::calcGrad(), Foam::calcTE18(), tetrahedron< Point, PointRef >::circumRadius(), cubic< Type >::correction(), surfaceInterpolationScheme< scalar >::dotInterpolate(), blackBodyEmission::EblambdaT(), eddy::eddy(), edgeInterpolationScheme< Type >::euclidianInterpolate(), edgeInterpolationScheme< scalar >::euclidianInterpolate(), for(), fusedGaussConvectionScheme< Type >::fvcDiv(), fusedGaussDivScheme< Type >::fvcDiv(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), fusedGaussLaplacianScheme< Type, GType >::fvcLaplacian(), Foam::Math::incGammaRatio_Q(), radiativeIntensityRay::init(), edgeInterpolationScheme< Type >::interpolate(), segregated::K(), Foam::MULES::limit(), Foam::MULES::limitCorr(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), Foam::MULES::limitSum(), Foam::MULES::limitSum(), blockEdge::linearPosition(), polyLine::localParameter(), makeFvLaplacianScheme(), tetrahedron< point, const point & >::storeOp::operator()(), blockEdge::position(), arcEdge::position(), bezier::position(), lineEdge::position(), polyLineEdge::position(), projectEdge::position(), BSpline::position(), CatmullRomSpline::position(), polyLine::position(), polyline::positionAndDirection(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), fieldSmoother::smoothLambdaMuDisplacement(), surfaceAlignedSBRStressFvMotionSolver::solve(), Foam::fvc::surfaceSum(), Foam::fvc::surfaceSum(), Foam::fvc::surfaceSum(), arcEdge::~arcEdge(), bezier::~bezier(), polyline::~polyline(), and polyLineEdge::~polyLineEdge().

Here is the call graph for this function:

◆ alphaMax()

◆ alpha()

volScalarField alpha ( IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE) ,
lambda * maxUa &U, zeroSensitivity )

References lambda(), mesh, runTime, U, and zeroSensitivity().

Here is the call graph for this function:

◆ zeroCells()

zeroCells ( alpha ,
inletCells  )

References alpha, and inletCells.

Referenced by ATCModel::createLimiter().

Here is the caller graph for this function:

Variable Documentation

◆ inletCells

const labelUList& inletCells = mesh.boundary()["inlet"].faceCells()

Definition at line 106 of file createFields.H.

Referenced by zeroCells().