Go to the documentation of this file.
46 int main(
int argc,
char *argv[])
55 #include "createFields.H"
59 Info<<
"\nCalculating displacement field\n" <<
endl;
61 while (runTime.loop())
63 Info<<
"Iteration: " << runTime.value() <<
nl <<
endl;
68 scalar initialResidual = 0;
99 initialResidual = DEqn.solve().max().initialResidual();
103 divSigmaExp =
fvc::div(DEqn.flux());
127 #include "calculateStress.H"
129 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s"
130 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
GeometricField< tensor, fvPatchField, volMesh > volTensorField
tmp< GeometricField< Type, fvPatchField, volMesh > > d2dt2(const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Switch compactNormalStress(stressControl.lookup("compactNormalStress"))
const dimensionedScalar mu
Atomic mass unit.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
fvMatrix< vector > fvVectorMatrix
int main(int argc, char *argv[])
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const sphericalTensor I(1)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Info<< "Reading field D\n"<< endl;volVectorField D(IOobject("D", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);autoPtr< volScalarField > Tptr(NULL)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))