QGDsolver
The open source CFD toolbox
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Groups
scalarTransportQHDFoam
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"
,
36
tauQGDf
/
rhof
37
);
38
39
surfaceScalarField
alphaf
40
(
41
"alphaf"
,
42
linearInterpolate(
thermo
.alpha())
43
);
44
45
tauQGDf
const surfaceScalarField & tauQGDf
Definition:
createFields.H:55
U
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh)
alphaf
alphaf
Definition:
updateFields.H:18
taubyrhof
taubyrhof
Definition:
updateFluxes.H:11
rhof
rhof
Definition:
updateFields.H:27
Tf
Tf
Definition:
updateFields.H:33
thermo
rhoQGDThermo & thermo
Definition:
createFields.H:47
Uf
Uf
Definition:
updateFields.H:30
rho
volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho())
T
volScalarField & T
Definition:
createFields.H:53
Generated by
1.8.5