19 /functionObjects::writeFile::outputPrefix
25 coordSet(
true,
"y",
y),
31 "epsilon",
turbulence->nu()().primitiveField(),
37 "u",
sqrt(
mag(
R.component(symmTensor::XX)))().primitiveField(),
38 "v",
sqrt(
mag(
R.component(symmTensor::YY)))().primitiveField(),
39 "w",
sqrt(
mag(
R.component(symmTensor::ZZ)))().primitiveField(),
41 "uv",
R.component(symmTensor::XY)().primitiveField(),
volSymmTensorField R(IOobject("R", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), turbulence->sigma())
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & executable() const
Name of executable without the path.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
dimensionedScalar sqrt(const dimensionedScalar &ds)
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence(compressible::momentumTransportModel::New(rho, U, phi, thermo))
dimensioned< scalar > mag(const dimensioned< Type > &)
Foam::argList args(argc, argv)