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/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/readMoveMeshMethod.H

11 lines
517 B
C++
Raw Normal View History

2012-09-11 15:42:55 +00:00
//- the method used to interpolate in cell centre displacements to the vertices to move the mesh
word moveMeshMethod(mesh.solutionDict().subDict("solidMechanics").lookup("moveMeshMethod"));
2012-09-11 15:42:55 +00:00
Info << "Move Mesh method: " << moveMeshMethod << endl;
if(moveMeshMethod != "inverseDistance"
&& moveMeshMethod != "leastSquares")
{
FatalError << "moveMeshMethod " << moveMeshMethod << " not found!" << nl
<< "valid methods are:\ninvreseDistance\nleastSquares"
<< exit(FatalError);
}