1 Info<< "Reading field DU\n" << endl;
15 volTensorField gradDU = fvc::grad(DU);
24 IOobject::READ_IF_PRESENT,
28 dimensionedVector("zero", dimLength, vector::zero)
38 IOobject::READ_IF_PRESENT,
42 dimensionedTensor("zero", dimless, tensor::zero)
45 //- Increment of Green finite strain tensor
46 volSymmTensorField DEpsilon
53 IOobject::READ_IF_PRESENT,
57 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
60 volSymmTensorField epsilon
67 IOobject::READ_IF_PRESENT,
71 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
75 volSymmTensorField epsilonP
82 IOobject::READ_IF_PRESENT,
86 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
90 //- Increment of 2nd Piola-Kirchhoff stress tensor
91 volSymmTensorField DSigma
98 IOobject::READ_IF_PRESENT,
102 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
105 //- 2nd Piola-Kirchhoff stress tensor
106 volSymmTensorField sigma
113 IOobject::READ_IF_PRESENT,
117 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
120 volVectorField divDSigmaExp
131 dimensionedVector("zero", dimensionSet(1,-2,-2,0,0,0,0), vector::zero)
134 volVectorField divDSigmaNonLinExp
138 "divDSigmaNonLinExp",
145 dimensionedVector("zero", dimensionSet(1,-2,-2,0,0,0,0), vector::zero)
148 constitutiveModel rheology(sigma, DU);
150 volScalarField rho = rheology.rho();
152 volScalarField mu = rheology.mu();
153 volScalarField lambda = rheology.lambda();
154 surfaceScalarField muf = fvc::interpolate(mu, "mu");
155 surfaceScalarField lambdaf = fvc::interpolate(lambda, "lambda");
157 surfaceVectorField n = mesh.Sf()/mesh.magSf();
159 // plastic strain increment
160 const volSymmTensorField& DEpsilonP = rheology.DEpsilonP();
162 // for aitken relaxation
163 volVectorField aitkenDelta
174 dimensionedVector("zero", dimLength, vector::zero)
176 // aitken relaxation factor
177 scalar aitkenInitialRes = 1.0;
178 scalar aitkenTheta = 0.1;
180 // volVectorField resid
185 // runTime.timeName(),
187 // IOobject::NO_READ,
188 // IOobject::AUTO_WRITE
191 // dimensionedVector("zero", dimless, vector::zero)