29 gradD_(const_cast<volTensorField&>(
30 mesh.thisDb().lookupObject<volTensorField>(
"gradD"))),
31 sigmaD_(const_cast<volSymmTensorField&>(
32 mesh.thisDb().lookupObject<volSymmTensorField>(
"sigmaD"))),
33 divSigmaExp_(const_cast<volVectorField&>(
34 mesh.thisDb().lookupObject<volVectorField>(
"divSigmaExp"))),
35 lambda_(const_cast<volScalarField&>(
36 mesh.thisDb().lookupObject<volScalarField>(
"solid:lambda"))),
37 mu_(const_cast<volScalarField&>(
38 mesh.thisDb().lookupObject<volScalarField>(
"solid:mu")))
41 IOdictionary thermalProperties(
44 mesh.time().constant(),
49 Switch thermalStress(thermalProperties.lookup(
"thermalStress"));
52 FatalErrorIn(
"") <<
"thermalStress=true not supported" << abort(FatalError);
57 Switch compactNormalStress(
stressControl.lookup(
"compactNormalStress"));
59 if (!compactNormalStress)
61 FatalErrorIn(
"") <<
"compactNormalStress=false not supported" << abort(FatalError);
67 if (
D_.boundaryField()[patchI].type() ==
"tractionDisplacement")
104 == fvm::laplacian(2 *
mu_ +
lambda_,
D_,
"laplacian(DD,D)")
127 D_.correctBoundaryConditions();
133 D_.correctBoundaryConditions();
159 D_.correctBoundaryConditions();