Fixed URL for libccmio-2.6.1 (bug report #5 by Thomas Oliveira)
[foam-extend-3.2.git] / applications / solvers / solidMechanics / deprecatedSolvers / newStressedFoam / createFields.H
blob2801d4b991f994a36a3861a2358f492ce5734d66
1     Info<< "Reading field U\n" << endl;
2     volVectorField U
3     (
4         IOobject
5         (
6             "U",
7             runTime.timeName(),
8             mesh,
9             IOobject::MUST_READ,
10             IOobject::AUTO_WRITE
11         ),
12         mesh
13     );
15     volSymmTensorField sigma
16     (
17         IOobject
18         (
19             "sigma",
20             runTime.timeName(),
21             mesh,
22             IOobject::READ_IF_PRESENT,
23             IOobject::AUTO_WRITE
24         ),
25         mesh,
26         dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
27     );
29     rheologyModel rheology(sigma);