CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

Prescribed motion for rigid body possible?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Felix_Sp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2023, 06:30
Question Prescribed motion for rigid body possible?
  #1
New Member
 
Lydia Schulze
Join Date: Jan 2012
Location: Karlsruhe, Germany
Posts: 20
Rep Power: 14
Lydia is on a distinguished road
Hello REEF3D modeller,

I'm trying to simulate a lock filling process with floating ship with REEF3D.

For that need a large upstream channel with higher water level, a lock with floating box (=ship) with lower water level. In between there should be a solid box (=gate) that has to move with prescribed motion.

I added a little sketch for easier understanding =>plan view

How can I insert the gate.stl as rigid body and define a motion in z-direction?


Any hints are highly appreciated!


Best regards
Lydia


P.S. My current state: a simple box with floating ship and two waterlevels is running successfully. Next step: rigid gate with prescribed motion. Then: open upstream channel with fixed upstream water level. Final aim: Rigid gate with two smaller valves opened with prescribed motion to fill the lock.
Attached Images
File Type: png plan_view_lock_filling.png (5.2 KB, 25 views)
Lydia is offline   Reply With Quote

Old   July 19, 2023, 04:20
Default
  #2
Member
 
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6
Felix_Sp is on a distinguished road
Hey there,

as asked in many threads (e.g. here) REEF3D so far cannot simulate multiple independent floating bodies. As the 6DOF solver is also the only way for prescribed motion of solid bodies(X 210 and X 211), what you want to accomplish is so not yet possible with the 6DOF solver.

From here I am just guessing what could work in the framework of REEF3D, but I have not yet tried such approaches. Maybe someone else has other creative ideas as well .
  • Simulate the gate motion with the 6DOF solver and measure the discharge via P 67. You might need to add a line in gage_discharge_x.cpp as so far the gage is only printing out the iteration, but not the simulation time.
  • In a second simulation, use this information for the simulation of the ship motion as a boundary condition together with the patch boundary conditions P 421 and P 422. P 421 is the obtained discharge and P 422 is the gap in between the gate and the bottom (PatchBC)
  • Depending on your setup, you might need multiple PatchBCs.
I am unsure how good such an approach is, as the velocity profiles and turbulent quantities at the gate of both simulations are not identical.
  • Otherwise, I think only having no ship motion and assuming the ship as a solid, non-moving body will work.
Hope this helps somehow, even though the answer is I guess not very satisfactory. Maybe someone else has a better idea.
Lydia likes this.

Last edited by Felix_Sp; July 19, 2023 at 06:58.
Felix_Sp is offline   Reply With Quote

Old   July 19, 2023, 06:56
Default
  #3
New Member
 
Lydia Schulze
Join Date: Jan 2012
Location: Karlsruhe, Germany
Posts: 20
Rep Power: 14
Lydia is on a distinguished road
Hi Felix,
hi there,


thanks for your reply!
I'm a newbie with REEF3D and your comments and ideas are very helpful for me.

If there are further ideas how to solve my lock filling problem, they are very welcome!

Usually, I use OpenFOAM for modelling but the meshing concept with structured grid and level-set geometry representation in REEF3D and the open source concept seem worth testing cases, that are difficult with OpenFOAM's body-adapted unstructured grids.

Also very interesting are the sediment/scour simulation options. They are also on my testing list. So I might be back here soon, sharing questions and experiences.


Regards
Lydia
Lydia is offline   Reply With Quote

Old   July 19, 2023, 07:34
Default
  #4
Member
 
Felix S.
Join Date: Feb 2021
Location: Germany, Braunschweig
Posts: 88
Rep Power: 6
Felix_Sp is on a distinguished road
Hey Lydia,

REEF3D is a cool toolbox from my perspective. However, it is still a little rough around some edges, as it is younger than OpenFOAM and has yet a smaller community which helps debugging.

In regard to OpenFOAM: A colleague of mine did some heave decay tests with overset meshes, but I have no experience with that. As I only have experience with more "static" cases in OpenFOAM, I cannot really say how good this approach works.

If you are testing open source toolboxes and have access to a good GPU, you might also take a look at DualSPHysics. An SPH method is obviously different from the mesh based approaches. However, they have implemented as many floating bodies as you want. Your problem should be reproducible in DualSPHysics. The problem with SPH is obviously whether you can actually compute it with high enough accuracy, as the method is yet quite expensive in regard to computing power.

Felix
Felix_Sp is offline   Reply With Quote

Old   July 23, 2023, 18:44
Default
  #5
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hi Lydia,

as Felix mentioned, multiple floating bodies with prescribed motion are not supported at the moment. What is your timeframe for your simulations?

I have motion file support for 6DOF on my ToDo list, I will have a look at how this can be extended to multi-body.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   August 21, 2023, 14:38
Default Rigid motion for single body
  #6
New Member
 
Kevin McTaggart
Join Date: May 2018
Posts: 15
Rep Power: 8
KevinMcTaggart is on a distinguished road
Hello Hans. Do you know when rigid motion for a single body might be implemented? Thank you.
KevinMcTaggart is offline   Reply With Quote

Reply

Tags
lock filling, prescribed motion, rigid body


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access to the solid body motion state from a custom interDyMFoam.C ? jmf OpenFOAM Programming & Development 9 January 29, 2022 20:31
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Body Motion Muhammad Taufiq F Fidelity CFD 2 April 24, 2020 13:56
Motion of a flexible body due to force exerted by fluid motion. roxor FLUENT 1 June 20, 2014 11:54
Prescribed mesh motion does not correspond to actual motion rbarrett CFX 8 June 30, 2011 14:22


All times are GMT -4. The time now is 19:18.