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

Script for calculation of drag force and yaw moment of the hull

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2023, 00:26
Default Script for calculation of drag force and yaw moment of the hull
  #1
New Member
 
Alexander Stroganov
Join Date: Mar 2023
Posts: 10
Rep Power: 3
CenterRime is on a distinguished road
For calculation of drag force and yaw moment of the hull we build the Python script.
moving and floating catamaran case solver

Main point is how we need understand the pressure data from OpenFoam?

For now that is we understand
1. For incompressible flow (p) it is pressure divided on density.
2. This pressure it is not Pascal or kgs/m2
3. It is not static pressure.
4. In script it is need to use date from surface cell area and normals.
https://www.phanquocthien.org/post-p...using-paraview
5. Para view filters:
# ExtractSurface
#Generate SurfaceNormals
#CellSize (Area)
#CellDataToPointData
6. Result raw data format:
#Point ID,Area,Normals_0,Normals_1,Normals_2,Points_0,Poi nts_1,Points_2,Points_Magnitude,p

Any advice or help how we need understand of OpenFoam pressure data for calculation of drag force and yaw moment of the hull will be really appreciated.

OSBL_GFD.zip
Flow_CFD.jpg
CenterRime is offline   Reply With Quote

Reply

Tags
pressure and density


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
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" ds4719 Main CFD Forum 14 February 18, 2022 19:05


All times are GMT -4. The time now is 16:59.