mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials/mesh/moveDynamicMesh/simpleHarmonicMotion: update constraints
This commit is contained in:
@ -54,21 +54,14 @@ boundaryField
|
|||||||
}
|
}
|
||||||
constraints
|
constraints
|
||||||
{
|
{
|
||||||
maxIterations 500;
|
|
||||||
|
|
||||||
fixedAxes1
|
fixedAxes1
|
||||||
{
|
{
|
||||||
sixDoFRigidBodyMotionConstraint fixedOrientation;
|
sixDoFRigidBodyMotionConstraint fixedOrientation;
|
||||||
tolerance 1e-6;
|
|
||||||
relaxationFactor 1.0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fixedLine1
|
fixedLine1
|
||||||
{
|
{
|
||||||
sixDoFRigidBodyMotionConstraint fixedLine;
|
sixDoFRigidBodyMotionConstraint fixedLine;
|
||||||
tolerance 1e-6;
|
|
||||||
relaxationFactor 1.0;
|
|
||||||
refPoint $centreOfMass;
|
|
||||||
direction (0 0 1);
|
direction (0 0 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user