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