1 Info<< "Reading field DU\n" << endl;
15 volTensorField gradDU = fvc::grad(DU);
17 Info<< "Creating field U\n" << endl;
25 IOobject::READ_IF_PRESENT,
29 dimensionedVector("zero", dimLength, vector::zero)
39 IOobject::READ_IF_PRESENT,
43 dimensionedTensor("zero", dimless, tensor::zero)
46 //- Increment of Green finite strain tensor
47 volSymmTensorField DEpsilon
54 IOobject::READ_IF_PRESENT,
58 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
61 volSymmTensorField epsilon
68 IOobject::READ_IF_PRESENT,
72 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
76 volSymmTensorField epsilonP
83 IOobject::READ_IF_PRESENT,
87 dimensionedSymmTensor("zero", dimless, symmTensor::zero)
91 //- Increment of 2nd Piola-Kirchhoff stress tensor
92 volSymmTensorField DSigma
99 IOobject::READ_IF_PRESENT,
103 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
106 //- 2nd Piola-Kirchhoff stress tensor
107 volSymmTensorField sigma
114 IOobject::READ_IF_PRESENT,
118 dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero)
121 volVectorField divDSigmaExp
132 dimensionedVector("zero", dimensionSet(1, -2, -2, 0, 0, 0, 0), vector::zero)
135 volVectorField divDSigmaNonLinExp
139 "divDSigmaNonLinExp",
146 dimensionedVector("zero", dimensionSet(1,-2,-2,0,0,0,0), vector::zero)
149 constitutiveModel rheology(sigma, DU);
151 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)
177 // aitken relaxation factor
178 scalar aitkenInitialRes = 1.0;
179 scalar aitkenTheta = 0.1;
181 // volVectorField resid
186 // runTime.timeName(),
188 // IOobject::NO_READ,
189 // IOobject::AUTO_WRITE
192 // dimensionedVector("zero", dimless, vector::zero)