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

Offset on the force derived for each cylinder composing a float

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2020, 03:29
Default Offset on the force derived for each cylinder composing a float
  #1
New Member
 
Constance Clément
Join Date: Nov 2018
Location: Paris
Posts: 6
Rep Power: 7
ConstanceC is on a distinguished road
Hi everyone,

I work on the modelling of a fixed float in waves composed by several cylinders. The simulation is runned with waveFoam to propagate waves (based on interFoam to solve the interface). The mesh is obtained with snappyHexMesh tool. I thus get a patch for each cylinder called “cylinder_i” and a patch called “float” corresponding to the sum of every patch “cylinder_i”. To determine the force on a given patch I add to controlDict:

Code:
float
        {
             type       forces;
             libs       ("libforces.so");
             patches         ("float");
             rhoInf          1000;
             timeStart 0;
             log             on;
             writeControl    adjustableRunTime;
             writeInterval   0.01;
             CofR            (0 0   0);
        }
Cylinder_1
        {
             type       forces;
             libs       ("libforces.so");
             patches         ("Cylinder_1");
             rhoInf          1000;
             timeStart 0;
             log             on;
             writeControl    adjustableRunTime;
             writeInterval   0.01;
             CofR            (0 0   0);
        }
The problem is: the force on the cylinder has an offset. More precisely, the force derived for cylinder_1 oscillates around 75kN whereas the force for cylinder_2 oscillates around -64N. I do not understand this offset/shift. The force is derived integrating the pressure field around the cylinder and should oscillates around 0. (When I model only the cylinder_1 in waves, I get a force of the same amplitude but oscillating around 0).
What’s also surprising is that when I sum all the forces shifted derived for the cylinders, I get a total force oscillating around 0 and identical to the force derived with the patch “float”. Thus the offsets are compensated when they are summed. I do not understand this shift, it seems that it is due to the presence of the several cylinders connected. But with interFoam solver, no structural forces are modelled.

Have you encountered the same issue when post-treating the force on a specific part of a float ?

Thanks a lot,

Constance
ConstanceC is offline   Reply With Quote

Reply

Tags
cylinder, force, interfoam, libforces.so, wavefoam


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
UDF in Fluent Andrew Fluent UDF and Scheme Programming 5 March 7, 2016 03:38
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
How the force derived on a 2D model? rikio FLUENT 2 October 11, 2010 21:41
How the force derived on a 2D model? rikio FLUENT 0 October 10, 2010 05:25
Attempting to validate force code with 2D cylinder andrewburns OpenFOAM Running, Solving & CFD 41 January 2, 2008 23:55


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