43 int main(
int argc,
char *argv[])
50 #include "createControls.H" 51 #include "createFields.H" 55 Info<<
"\nCalculating displacement field\n" <<
endl;
57 while (runTime.loop())
59 Info<<
"Iteration: " << runTime.value() <<
nl <<
endl;
64 scalar initialResidual = 0;
95 initialResidual = DEqn.solve().max().initialResidual();
123 #include "calculateStress.H" 125 Info<<
"ExecutionTime = " << runTime.elapsedCpuTime() <<
" s" 126 <<
" ClockTime = " << runTime.elapsedClockTime() <<
" s"
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvPatchField, volMesh > > d2dt2(const GeometricField< Type, fvPatchField, volMesh > &vf)
GeometricField< tensor, fvPatchField, volMesh > volTensorField
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Switch compactNormalStress(stressControl.lookup("compactNormalStress"))
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static const Identity< scalar > I
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Info<< "Reading field D\n"<< endl;volVectorField D(IOobject("D", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);autoPtr< volScalarField > Tptr(NULL)
const dimensionedScalar mu
Atomic mass unit.
fvMatrix< vector > fvVectorMatrix
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
Execute application functionObjects to post-process existing results.