Go to the documentation of this file.
47 int main(
int argc,
char *argv[])
51 "Transient segregated finite-volume solver of linear-elastic,"
52 " small-strain deformation of a solid body, with optional thermal"
53 " diffusion and thermal stresses"
62 #include "createControls.H"
63 #include "createFields.H"
67 Info<<
"\nCalculating displacement field\n" <<
endl;
76 scalar initialResidual = 0;
107 initialResidual = DEqn.solve().max().initialResidual();
111 divSigmaExp =
fvc::div(DEqn.flux());
135 #include "calculateStress.H"
GeometricField< tensor, fvPatchField, volMesh > volTensorField
tmp< GeometricField< Type, faPatchField, areaMesh > > d2dt2(const dimensioned< Type > dt, const faMesh &mesh)
const dimensionedScalar mu
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Ostream & endl(Ostream &os)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
fvMatrix< vector > fvVectorMatrix
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar lambda("lambda", dimTime/sqr(dimLength), laminarTransport)
Execute application functionObjects to post-process existing results.
Info<< "Reading field D\n"<< endl;volVectorField D(IOobject("D", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);autoPtr< volScalarField > Tptr
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
const dimensionedScalar & D
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
static const Identity< scalar > I