CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] (dynamicMeshDict) problems about simulating two floating bodies and its connection

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2019, 23:37
Default (dynamicMeshDict) problems about simulating two floating bodies and its connection
  #1
New Member
 
zuochen_chen
Join Date: Dec 2019
Posts: 1
Rep Power: 0
七辆战车 is on a distinguished road
These days i was trying to simulate two floating bodies in the water by OpenFOAMv1906 (no constraints), but i found some difficulties:
First one is i added two bodies in the dynamicMeshDict like this:
sixDoFRigidBodyMotionCoeffs
{
bodies
{
floatingObject1
{
patches (floatingObject1);
...
centreOfMass (...)
...
}
floatingObject2
{
patches (floatingObject1);
...
centreOfMass (...)
...
}
}
}
and when i was running Application, it noted "cannot find centreOfMass", only i deleted "bodies" and "floatingObject1" in the above file can it work, however, the outcome was that only floatingObject2 got work, so i don't know where the problems are.
And second one is how can i connect two floating bodies by one spring? I tried to use linearSpring in the "restraints", but it's said that linearSpring can only connect anchored point with refAttachmentPt, is this right? If not, how can i do to connect two floating bodies?
Thank you for your answering!
七辆战车 is offline   Reply With Quote

Reply

Tags
linearspring


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 17:55.