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->R()
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);
autoPtr< compressible::turbulenceModel > turbulence
Definition: createFields.H:23
GeometricField< symmTensor, fvPatchField, volMesh > volSymmTensorField
Definition: volFieldsFwd.H:58
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Definition: fvcGrad.C:52
U
Definition: pEqn.H:83
vector flowDirection
Definition: createFields.H:41
dimensionedScalar sqrt(const dimensionedScalar &ds)
const word & gFormat
Definition: makeGraphs.H:16
scalar y
dynamicFvMesh & mesh
makeGraph(y, flowDirection &U,"Uf", gFormat)
volSymmTensorField R(IOobject("R", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), turbulence->R())
dimensioned< scalar > mag(const dimensioned< Type > &)
vector wallNormal(Zero)