CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to take into account buoyancy force for floating object ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2021, 04:44
Default How to take into account buoyancy force for floating object ?
  #1
New Member
 
Florian
Join Date: Apr 2021
Posts: 8
Rep Power: 5
FloB is on a distinguished road
Hi,

These last days, I studied floating object modeling on openFoam particularly thanks to floating object tutorial of interDyMFoam (https://github.com/OpenFOAM/OpenFOAM...floatingObject).

In this tutorial, the solid is constrained by a fixed line and a fixed axis, which prevent vertical motions.
I suppressed these constraints and chose an initial submerged volume and a mass so that buoyancy force is equal to weight force. With these parameters, normally, the solid should stay at the equilibrium (no velocity is applied at the inlet : water is still).

However, I observed the solid directly sinks and reaches huge velocities (vertical but also... horizontal !!) after 0.1 s. Then, logically, it crashes.


I deduced buoyancy force is not taken into account by the model.

Am I right ? If yes, how to use it ? I don't want a constant force pointing upward : I would like a real buoyancy force which change every time in function of the submerged volume at time t.


Thanks in advance,

Florian
FloB is offline   Reply With Quote

Old   July 6, 2021, 11:06
Default
  #2
New Member
 
Florian
Join Date: Apr 2021
Posts: 8
Rep Power: 5
FloB is on a distinguished road
In fact, I think buoyancy is taken into account because pressure is increasing with depth, which create automatically an upward force applied on the floater.

My cases crash because of a bug that I do not know how to solve.
When I change the geometry of my floater (particularly when it is much more long than large) or when I suppress the original constraints (fixed line and fixed axis) applied in the tutorial, pressure explodes which provokes huge velocities and so a crash after a certain time.

When I visualize the results in paraFoam (the first 0.1 s, with a time step of 1e-3s), I observe an oscillation of pressure in time and space with positive and negative values which increase in absolute value until it explodes... You'll find attached some screenshots from paraFoam.


I do not know where this bug is coming from. Changing the schemes seem to help but it is not sufficient, I've tried many other things without success..

If someone has already got this kind of problem, I would appreciate some help, thanks.
Attached Images
File Type: jpg -1.jpg (44.3 KB, 43 views)
File Type: jpg 0.jpg (90.3 KB, 39 views)
File Type: jpg 1.jpg (91.3 KB, 28 views)
File Type: jpg 2.jpg (50.7 KB, 24 views)
File Type: jpg 3.jpg (46.6 KB, 20 views)
FloB is offline   Reply With Quote

Old   November 30, 2021, 19:33
Default
  #3
New Member
 
Faro Schäfer
Join Date: Nov 2021
Posts: 10
Rep Power: 6
zweihuehner is on a distinguished road
I am not sure if it is related to the problem. But I also had similar results with the floating Object tutorial after I changed the position of the object. I however did not change the density.


The pressure exploded after a while and simulation blew up.

I realized the center of mass was not set correctly in dynamicMeshDict and it worked afterwards.
zweihuehner is offline   Reply With Quote

Old   December 6, 2022, 11:31
Default
  #4
New Member
 
Ranjodh Rai
Join Date: Feb 2021
Posts: 3
Rep Power: 5
Ranj is on a distinguished road
Hi Florian, did you manage to solve this problem??
Ranj is offline   Reply With Quote

Reply


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 force values calculated by the function object. gigili206 OpenFOAM Programming & Development 1 June 27, 2023 12:15
Does 6 DOF solver take into account drag force? cryabroad FLUENT 0 August 4, 2016 19:42
In buoyancy mode, how can we define the material for the object? wolverinmi CFX 11 April 30, 2016 10:20
Buoyancy force of second phase in Eulerian model amin.z Fluent Multiphase 6 March 16, 2015 09:14
buoyancy force of second phase in Eulerian model amin.z FLUENT 5 March 14, 2015 02:40


All times are GMT -4. The time now is 22:03.