
[Sponsors] 
March 24, 2023, 06:33 
moving and floating catamaran case solver

#1 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
Good day.
For solve problem of catamaran course stability we need moving and floating catamaran hull case. On forum I was not able to found open examples and solution. Floating Body Forces At present we have accomplished this steps 1. Have OpenFoam installed and compilled interFoam tutorials 2. Read OpenFoam manuals and user guide about meshes and meshes dynamic chapters. 3. Make model for computation a drag force of catamaran hull and turning(yaw) moment for various drift angles 4. Developed postprocess Python script for the computation data of pressure on hull with normal to surface and cell area normalization. Script for calculation of drag force and yaw moment of the hull 5. Build case for rigidBodyMotion study. 6. Start study problem of wave solver for rigid body motion. gfmFoam solver. GFM  ghost fluid method https://www.sciencedirect.com/scienc...29801820309537 https://az659834.vo.msecnd.net/event...9ed9233c153490 7. A calibration calculation of the coefficient of hydrodynamic resistance of bodies of a simple shape has been performed and a comparison with generally accepted experimental values has been carried out. 8. The calculation of the resistance to rectilinear motion, the drift force and the turning moment for the hulls of a catamaran of different shapes of the same displacement is carried out. We will really appreciate any advice and help. All results and case we will publish on github. Last edited by CenterRime; April 9, 2023 at 23:31. 

March 24, 2023, 11:13 

#2  
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
Quote from OpenFoam source
Quote:
Question is what solver it is need to accomplish this float body movement along x direction. Look like this manual is helpful. https://www.tfd.chalmers.se/~hani/ku...usUrquhart.pdf 

March 27, 2023, 03:54 
CfdOf

#3 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
After some efforts we have working case in CfdOf (OpenFoam GUI under FreeCad)
Hull3.zip And results in DualSPHysics project All velocity around moving catamaran hull velocity_of_stream_around_catamaran_hull.jpg and velocity around moving catamaran hull by Y axis velocity_of_stream_around_catamaran_hull_Y.jpg DSPH project here WaterHullSTL_DSPH.zip 

March 31, 2023, 01:28 
Catamaran flow project in CfdOF for freeCad

#4 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
Gradually mastering the calculations in OpenFoam.
We have obtained the result of calculations of the flow around asymmetric knifeshaped catamaran hulls. Flow 3m/s alpha_water.png  wave formation of the flow (alpha.water)  flow acceleration distribution along the Y axis y_velocity_hull.png  flow acceleration distribution along the X axis x_velocity_hull.png  pressure distribution in the flow pressure_around_hull.png Project in CfdOF for freeCad Hull_catamaran_flow.zip 

April 2, 2023, 10:30 
BARAM OpenFoam GUI

#5 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
The essence of the problem that has not yet been solved and a brief description of what has been done in a month.
CFD part. 1. OpenFoam is so far the only open source CDF package available that can calculate models with the movement of floating bodies with two phases  air and water. Other packages are either commercial or do not have such calculation capabilities. 2. Data for the OpenFoam core needs to be prepared. There are several commercial and noncommercial programs for such training. Data can be divided into two categories  3D models (mesh) and calculation conditions. Meshes were obtained based on the plugin for Blender and the plugin for FreeCad Calculation conditions must be prepared manually. These are about 100 basic and about 200 more detailed parameters. 3. Commercial packages have written typical calculation scenarios and detailed explanations of calculation methods. The noncommercial packages only have the most basic scenarios. For example, in the calculations that we have so far been carried out, only the most basic model of fluid behavior is used. This model can be much closer to the experimental data. The solution may be to write scripts of typical Python scripts and provide open access to scripts and documentation. The CfdOF package is closest to solving this problem. However, the CfdOF package does not open readymade calculation models. Manual calculation scenarios have not yet been created. Another option is to create scripts in a trial version of a commercial program (for example, SimFoam) and perform the calculation in the OpenFoam core. Obviously commercial packages will discourage this practice. Wasting time arguing with commercial software is boring. The OpenFoam and CfdOF forums are silent for now. Model tests. In short, model tests do not allow accurate measurement of integral and differential parameters. Therefore, such model tests are usually used to refine the calculation parameters and train the calculation neural network. Also, to answer design questions, it is necessary to make about fifty models symmetrical along two axes of symmetry. Even if made from gypsum with sawdust, it is timeconsuming. We don't have a CNC yet. We try further. Last edited by CenterRime; April 3, 2023 at 00:50. 

April 4, 2023, 07:50 

#6 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
To calculate the turning moment on the body, a model of a uniform incompressible flow is sufficient.
For such a model, it is possible to set the size of the entrained layer, turbulence, body fluid friction resistance, and other characteristics. The proposed method for calculating the turning moment of the hulls of catamarans and trimarans of equal displacement at low speeds: At a speed not exceeding 5 m/s, wave formation and wave interference between the bodies can be neglected. For such a calculation, OpenFoam offers the output of data on the projection and the pressure on each section of the body along the X, Y, Z axes in the form of a table for each moment of time. The condition of equal displacement of hull models can be fulfilled in the simulation program by measuring the volume of the model below the waterline. For models that are not symmetrical along the X axis, the center of buoyancy (center of magnitude) can be calculated in the FreeShip program. The following calculation method can be proposed: 1. We place the body model with the axis of rotation in the CPU in the center of coordinates. 2. We direct the flow at a constant speed at a measured drift angle. 3. We display the pressure values on the sections of the body in the form of a table. 4. We write a script that analyzes tabular pressure data on the right and left hull, if necessary, on the right and left side of the hull. 5. The script displays a beautiful report on the total value and graphs of the values of resistance to rectilinear motion and turning moment along the longitudinal axis of hulls of a given shape and equal displacement. We try further. 

April 4, 2023, 09:53 

#7 
New Member
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 2 
General explanation of mesh movement
https://openfoam.org/release/230/meshmotion/ For rigid body motion need setup correct center of mass and moment of inertia Inertia in rigidBodyMotion Planing boat simulation with InterDyMFoam and force ramp for make it stable rotor motion http://www.divaportal.org/smash/get...FULLTEXT01.pdf Look like all this is good examples of floating body. But how we may move a hull forward? Usually most models of hull in flow it is floating body with restrains on X axis movement and parameters of flow velocity. Look like this is suitable for most hull movements computation tasks. We need combine at last two or more solvers for this model. Here is really good work for catamaran modelling in OpenFoam. https://www.mdpi.com/20734441/14/17/2623 Simulate the movement of boats Last edited by CenterRime; April 5, 2023 at 16:27. 

Tags 
floating body, openfoam 10, propulsion, ship, solver compilation 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
overInterDyMFoam Floating Body Case Simulation Time Step Keeps Decreasing  mahsankhan  OpenFOAM  1  April 12, 2022 05:41 
attachmentPt for floating body at each time step for overInterDyMFoam solver  mahsankhan  OpenFOAM Running, Solving & CFD  0  January 24, 2022 11:13 
floating point exception when moving plate comes close to stationary walls  mike.franky  OpenFOAM Running, Solving & CFD  3  June 15, 2017 11:16 
[waves2Foam] Calculating only the buoyancy force of a floating object moving in waves  ashkan  OpenFOAM Community Contributions  2  February 15, 2016 04:37 
moving mesh problem, simulating a floating plate  adambarfi  OpenFOAM Running, Solving & CFD  3  March 4, 2013 17:31 