1 Info<< "Reading incremental displacement field DU\n" << endl;
15 volTensorField gradDU = fvc::grad(DU);
17 Info<< "Reading accumulated displacement field U\n" << endl;
25 IOobject::READ_IF_PRESENT,
29 dimensionedVector("zero", dimLength, vector::zero)
32 Info << "Reading accumulated strain field epsilon\n" << endl;
33 volSymmTensorField epsilon
40 IOobject::READ_IF_PRESENT,
44 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
47 // total plastic strain
48 volSymmTensorField epsilonP
55 IOobject::READ_IF_PRESENT,
59 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
62 volSymmTensorField DEpsilon
69 IOobject::READ_IF_PRESENT,
73 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
76 Info << "Reading accumulated stress field sigma\n" << endl;
77 volSymmTensorField sigma
84 IOobject::READ_IF_PRESENT,
88 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
92 Info << "Reading incremental stress field DSigma\n" << endl;
93 volSymmTensorField DSigma
100 IOobject::READ_IF_PRESENT,
104 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
107 //- explicit terms in the momentum equation
108 volVectorField divDSigmaExp
119 dimensionedVector("zero", dimensionSet(1, -2, -2, 0, 0, 0, 0), vector::zero)
122 volVectorField divDSigmaNonLinExp
126 "divDSigmaNonLinExp",
133 dimensionedVector("zero", dimensionSet(1,-2,-2,0,0,0,0), vector::zero)
136 constitutiveModel rheology(sigma, DU);
138 volScalarField rho = rheology.rho();
139 volScalarField mu = rheology.mu();
140 volScalarField lambda = rheology.lambda();
141 surfaceScalarField muf = fvc::interpolate(rheology.mu());
142 surfaceScalarField lambdaf = fvc::interpolate(rheology.lambda());
144 surfaceVectorField n = mesh.Sf()/mesh.magSf();
146 // plastic strain increment
147 const volSymmTensorField& DEpsilonP = rheology.DEpsilonP();
149 // for aitken relaxation
150 volVectorField aitkenDelta
161 dimensionedVector("zero", dimLength, vector::zero)
164 // aitken relaxation factor
165 scalar aitkenInitialRes = 1.0;
166 scalar aitkenTheta = 0.1;
168 // volVectorField resid
173 // runTime.timeName(),
175 // IOobject::NO_READ,
176 // IOobject::AUTO_WRITE
179 // dimensionedVector("zero", dimless, vector::zero)