mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
sixDoFRigidBodyMotion: remove the constraint and restraint "Coeffs"
sub-dict and put the coefficients in the containing dictionary.
This commit is contained in:
@ -33,7 +33,6 @@ boundaryField
|
||||
momentOfInertia (0.1052 0.1052 0.1778);
|
||||
mass 9.6;
|
||||
velocity (0 0 0);
|
||||
orientation (1 0 0 0 1 0 0 0 1);
|
||||
acceleration (0 0 0);
|
||||
angularMomentum (0 0 0);
|
||||
torque (0 0 0);
|
||||
@ -46,14 +45,11 @@ boundaryField
|
||||
{
|
||||
sixDoFRigidBodyMotionRestraint linearSpring;
|
||||
|
||||
linearSpringCoeffs
|
||||
{
|
||||
anchor (0.5 0.5 1);
|
||||
refAttachmentPt $centreOfMass;
|
||||
stiffness 5000;
|
||||
damping 50;
|
||||
restLength 0.4;
|
||||
}
|
||||
anchor (0.5 0.5 1);
|
||||
refAttachmentPt $centreOfMass;
|
||||
stiffness 5000;
|
||||
damping 50;
|
||||
restLength 0.4;
|
||||
}
|
||||
}
|
||||
constraints
|
||||
@ -65,7 +61,6 @@ boundaryField
|
||||
sixDoFRigidBodyMotionConstraint fixedOrientation;
|
||||
tolerance 1e-6;
|
||||
relaxationFactor 1.0;
|
||||
fixedOrientationCoeffs {}
|
||||
}
|
||||
|
||||
fixedLine1
|
||||
@ -73,11 +68,8 @@ boundaryField
|
||||
sixDoFRigidBodyMotionConstraint fixedLine;
|
||||
tolerance 1e-6;
|
||||
relaxationFactor 1.0;
|
||||
fixedLineCoeffs
|
||||
{
|
||||
refPoint $centreOfMass;
|
||||
direction (0 0 1);
|
||||
}
|
||||
refPoint $centreOfMass;
|
||||
direction (0 0 1);
|
||||
}
|
||||
}
|
||||
value uniform (0 0 0);
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
dynamicFvMesh dynamicMotionSolverFvMesh;
|
||||
|
||||
motionSolverLibs ("libfvMotionSolvers.so");
|
||||
motionSolverLibs ("libfvMotionSolvers.so" "libsixDoFRigidBodyMotion.so");
|
||||
|
||||
solver displacementLaplacian;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user