mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
rigidBodyDynamics: Simplified the IO of bodies
This commit is contained in:
@ -3,10 +3,10 @@ bodies0
|
||||
pendulum
|
||||
{
|
||||
type rigidBody;
|
||||
parent root;
|
||||
mass 1;
|
||||
centreOfMass (0 -1 0);
|
||||
inertia (0.001 0 0 0.001 0 0.001);
|
||||
parent root;
|
||||
transform (1 0 0 0 1 0 0 0 1) (0 0 0);
|
||||
joint
|
||||
{
|
||||
@ -30,9 +30,9 @@ bodies
|
||||
weight
|
||||
{
|
||||
type sphere;
|
||||
mergeWith hinge;
|
||||
mass 1;
|
||||
radius 0.05;
|
||||
transform (1 0 0 0 1 0 0 0 1) (0 -1 0);
|
||||
mergeWith hinge;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user