Info<< "Reading field U\n" << endl; volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); volTensorField gradU //= fvc::grad(U); ( IOobject ( "grad(U)", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedTensor("zero", dimless, tensor::zero) ); volSymmTensorField epsilon ( IOobject ( "epsilon", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh, dimensionedSymmTensor("zero", dimless, symmTensor::zero) ); volSymmTensorField sigma ( IOobject ( "sigma", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh, dimensionedSymmTensor("zero", dimForce/dimArea, symmTensor::zero) ); volVectorField divSigmaExp ( IOobject ( "divSigmaExp", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), mesh, dimensionedVector("zero", dimForce/dimVolume, vector::zero) ); //- rheology constitutiveModel rheology(sigma, U); volSymmTensor4thOrderField C = rheology.C(); surfaceSymmTensor4thOrderField Cf = fvc::interpolate(C, "C"); volDiagTensorField K = rheology.K(); surfaceDiagTensorField Kf = fvc::interpolate(K, "K"); volScalarField rho = rheology.rho(); surfaceVectorField n = mesh.Sf()/mesh.magSf();