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);
Foam::endl
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
Foam::Info
messageStream Info
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:18
Foam::volVectorField
GeometricField< vector, fvPatchField, volMesh > volVectorField
Definition: volFieldsFwd.H:55
U
volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), Urel+SRF->U())