createFields.H
Go to the documentation of this file.
1  Info<< "\nReading field U\n" << endl;
3  (
4  IOobject
5  (
6  "U",
7  runTime.timeName(),
8  mesh,
9  IOobject::MUST_READ,
10  IOobject::AUTO_WRITE
11  ),
12  mesh
13  );
14 
15  word polyatomicCloudName("polyatomicCloud");
16 
17  potential polyPot
18  (
19  mesh,
20  IOdictionary
21  (
22  IOobject
23  (
24  polyatomicCloudName + "Properties",
25  mesh.time().constant(),
26  mesh,
27  IOobject::MUST_READ_IF_MODIFIED,
28  IOobject::NO_WRITE,
29  false
30  )
31  )
32  );
33 
34  polyatomicCloud polyatomics(polyatomicCloudName, mesh, polyPot);
35 
36  word monoatomicCloudName("monoatomicCloud");
37 
38  potential monoPot
39  (
40  mesh,
41  IOdictionary
42  (
43  IOobject
44  (
45  monoatomicCloudName + "Properties",
46  mesh.time().constant(),
47  mesh,
48  IOobject::MUST_READ_IF_MODIFIED,
49  IOobject::NO_WRITE,
50  false
51  )
52  )
53  );
54 
55  monoatomicCloud monoatomics(monoatomicCloudName, mesh, monoPot);
volVectorField U(IOobject( "U", runTime.timeName(), runTime, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedVector("zero", dimVelocity, vector::zero), p.boundaryField().types())
messageStream Info
dynamicFvMesh & mesh
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:55