Initial commit for version 2.0.x patch release
[OpenFOAM-2.0.x.git] / applications / test / cyclic / createFields.H
blob0ec3c54a2fd1fa5f69cbd3759688fc511df8c3e0
1     Info<< nl << "Reading field p" << endl;
2     volScalarField p
3     (
4         IOobject
5         (
6             "p",
7             runTime.timeName(),
8             mesh,
9             IOobject::MUST_READ,
10             IOobject::AUTO_WRITE
11         ),
12         mesh
13     );
15     Info<< nl << "Reading field U" << endl;
16     volVectorField U
17     (
18         IOobject
19         (
20             "U",
21             runTime.timeName(),
22             mesh,
23             IOobject::MUST_READ,
24             IOobject::AUTO_WRITE
25         ),
26         mesh
27     );