All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
createFaceFields.H
Go to the documentation of this file.
1  /*
2  *
3  * Linear interpolation of fields from volumes to face centers
4  *
5  */
6 
7  // Density
8  surfaceScalarField rhof
9  (
10  "rhof",
11  linearInterpolate(rho)
12  );
13 
14  // Velocity
15  surfaceVectorField Uf
16  (
17  "Uf",
18  linearInterpolate(U)
19  );
20 
21  surfaceScalarField Tf
22  (
23  "Tf",
24  linearInterpolate(T)
25  );
26 
27  /*
28  *
29  * QGD coefficients
30  *
31  */
32  // OpenFOAM delta coeffs can be negative for coupled patches
33  surfaceScalarField taubyrhof
34  (
35  "taubyrhof",
37  );
38 
39  surfaceScalarField alphaf
40  (
41  "alphaf",
42  linearInterpolate(thermo.alpha())
43  );
44 
45 
const surfaceScalarField & tauQGDf
Definition: createFields.H:55
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
alphaf
Definition: updateFields.H:18
taubyrhof
Definition: updateFluxes.H:11
rhof
Definition: updateFields.H:27
Tf
Definition: updateFields.H:33
rhoQGDThermo & thermo
Definition: createFields.H:47
Uf
Definition: updateFields.H:30
volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
volScalarField & T
Definition: createFields.H:53