This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/createFields.H

17 lines
372 B
C++
Raw Normal View History

tetPolyMesh tetMesh(mesh);
Info<< "Creating field motionGamma\n" << endl;
elementScalarField motionGamma
(
IOobject
(
"motionGamma",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
tetMesh,
dimensionedScalar("1.0", dimless, 1.0)
);