2012-09-11 15:42:55 +00:00
|
|
|
Info<< "Reading displacement increment field DU\n" << endl;
|
|
|
|
volVectorField DU
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"DU",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::MUST_READ,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh
|
|
|
|
);
|
|
|
|
|
|
|
|
volTensorField gradDU = fvc::grad(DU);
|
|
|
|
|
2015-05-17 14:25:35 +00:00
|
|
|
// gradDU.checkOut();
|
|
|
|
// gradDU.checkIn();
|
2013-10-11 13:31:14 +00:00
|
|
|
|
2012-09-11 15:42:55 +00:00
|
|
|
Info<< "Reading velocity increment field DV\n" << endl;
|
|
|
|
volVectorField DV
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"DV",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedVector("zero", dimVelocity, vector::zero)
|
|
|
|
);
|
|
|
|
|
|
|
|
Info<< "Reading stress increment field DSigma\n" << endl;
|
|
|
|
volSymmTensorField DSigma
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"DSigma",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
2013-10-11 13:31:14 +00:00
|
|
|
Info<< "Reading strain increment field Depsilon\n" << endl;
|
|
|
|
volSymmTensorField Depsilon
|
2012-09-11 15:42:55 +00:00
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
2013-10-11 13:31:14 +00:00
|
|
|
"Depsilon",
|
2012-09-11 15:42:55 +00:00
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedSymmTensor("zero", dimless, symmTensor::zero)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
Info<< "Reading accumulated displacement field U\n" << endl;
|
|
|
|
volVectorField U
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"U",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedVector("zero", dimLength, vector::zero)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
Info<< "Reading stress field sigma\n" << endl;
|
|
|
|
volSymmTensorField sigma
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"sigma",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
Info<< "Reading stress increment field DSigmaCorr\n" << endl;
|
|
|
|
volSymmTensorField DSigmaCorr
|
|
|
|
(
|
|
|
|
IOobject
|
|
|
|
(
|
|
|
|
"DSigmaCorr",
|
|
|
|
runTime.timeName(),
|
|
|
|
mesh,
|
|
|
|
IOobject::READ_IF_PRESENT,
|
|
|
|
IOobject::AUTO_WRITE
|
|
|
|
),
|
|
|
|
mesh,
|
|
|
|
dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
|
|
|
|
);
|
|
|
|
|
2013-10-11 13:31:14 +00:00
|
|
|
constitutiveModel rheology(sigma, DU);
|
|
|
|
|
2014-06-01 18:12:52 +00:00
|
|
|
volScalarField rho = rheology.rho();
|