makeGraphs.H
Go to the documentation of this file.
2 (
3  IOobject
4  (
5  "R",
6  runTime.timeName(),
7  mesh,
8  IOobject::NO_READ,
9  IOobject::AUTO_WRITE
10  ),
11  turbulence->sigma()
12 );
13 
14 runTime.write();
15 
16 const word& gFormat = runTime.graphFormat();
17 
18 makeGraph(y, flowDirection & U, "Uf", gFormat);
19 
20 makeGraph(y, turbulence->nu(), gFormat);
22 makeGraph(y, turbulence->epsilon(), gFormat);
23 
24 makeGraph(y, flowDirection & R & flowDirection, "Rff", gFormat);
25 makeGraph(y, wallNormal & R & wallNormal, "Rww", gFormat);
26 makeGraph(y, flowDirection & R & wallNormal, "Rfw", gFormat);
27 
28 makeGraph(y, sqrt(mag(R.component(symmTensor::XX))), "u", gFormat);
29 makeGraph(y, sqrt(mag(R.component(symmTensor::YY))), "v", gFormat);
30 makeGraph(y, sqrt(mag(R.component(symmTensor::ZZ))), "w", gFormat);
31 makeGraph(y, R.component(symmTensor::XY), "uv", gFormat);
32 
33 makeGraph(y, mag(fvc::grad(U)), "gammaDot", gFormat);
volSymmTensorField R(IOobject("R", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), turbulence->sigma())
makeGraph(y, flowDirection &U, "Uf", gFormat)
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
Definition: volFieldsFwd.H:61
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcGrad.C:52
vector flowDirection
Definition: createFields.H:41
engineTime & runTime
dimensionedScalar sqrt(const dimensionedScalar &ds)
const word & gFormat
Definition: makeGraphs.H:16
scalar y
dynamicFvMesh & mesh
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))
Definition: createFields.H:94
U
Definition: pEqn.H:72
dimensioned< scalar > mag(const dimensioned< Type > &)
vector wallNormal(Zero)