BUGFIX: Illegal use of uninitialised value (backport)
[foam-extend-3.2.git] / applications / utilities / postProcessing / wall / wallHeatFlux / createFields.H
blob64eac51eaad8af1042699d1fec496c497dd68b6a
1 autoPtr<hCombustionThermo> thermo
3     hCombustionThermo::New(mesh)
4 );
6 const volScalarField& h = thermo->h();
8 volScalarField rho
10     IOobject
11     (
12         "rho",
13         runTime.timeName(),
14         mesh
15     ),
16     thermo->rho()
19 volVectorField U
21     IOobject
22     (
23         "U",
24         runTime.timeName(),
25         mesh,
26         IOobject::MUST_READ,
27         IOobject::AUTO_WRITE
28     ),
29     mesh
32 #include "compressibleCreatePhi.H"
34 autoPtr<compressible::RASModel> RASModel
36     compressible::RASModel::New
37     (
38         rho,
39         U,
40         phi,
41         thermo()
42     )