FreeFOAM The Cross-Platform CFD Toolkit
createFields.H
Go to the documentation of this file.
1 autoPtr<hCombustionThermo> thermo
2 (
3  hCombustionThermo::New(mesh)
4 );
5 
6 const volScalarField& h = thermo->h();
7 
9 (
10  IOobject
11  (
12  "rho",
13  runTime.timeName(),
14  mesh
15  ),
16  thermo->rho()
17 );
18 
20 (
21  IOobject
22  (
23  "U",
24  runTime.timeName(),
25  mesh,
26  IOobject::MUST_READ,
27  IOobject::AUTO_WRITE
28  ),
29  mesh
30 );
31 
33 
34 autoPtr<compressible::RASModel> RASModel
35 (
36  compressible::RASModel::New
37  (
38  rho,
39  U,
40  phi,
41  thermo()
42  )
43 );
44 
45 // ************************ vim: set sw=4 sts=4 et: ************************ //