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 pf
22  (
23  "pf",
24  linearInterpolate(p)
25  );
26 
27  //
28  surfaceVectorField Wf
29  (
30  "Wf",
31  linearInterpolate(W)
32  );
33 
34  surfaceVectorField BdFrcf
35  (
36  "BdFrcf",
37  linearInterpolate(BdFrc)
38  );
39 
40  surfaceScalarField Tf
41  (
42  "Tf",
43  linearInterpolate(T)
44  );
45 
46  // Heat capacity at constant pressure
47  surfaceScalarField Cpf
48  (
49  "Cpf",
50  linearInterpolate(thermo.Cp())
51  );
52 
53  surfaceScalarField muf
54  (
55  "muf",
56  linearInterpolate(thermo.mu()*0.0)
57  );
58 
59  /*
60  *
61  * QGD coefficients
62  *
63  */
64  // OpenFOAM delta coeffs can be negative for coupled patches
65  surfaceScalarField taubyrhof
66  (
67  "taubyrhof",
69  );
70 
71  surfaceScalarField alphaf
72  (
73  "alphaf",
74  linearInterpolate(thermo.alpha())
75  );
76 
77 
Cpf
Definition: updateFields.H:42
volVectorField W(IOobject("W", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), U)
pf
Definition: updateFields.H:21
BdFrcf
Definition: updateFields.H:36
const surfaceScalarField & tauQGDf
Definition: createFields.H:55
muf
Definition: updateFields.H:38
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
BdFrc
Definition: updateFields.H:35
rhoQGDThermo & thermo
Definition: createFields.H:47
Wf
Definition: QHDUEqn.H:31
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
volScalarField & p
Definition: createFields.H:52