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

Add calculation of drag in a solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2018, 13:18
Default Add calculation of drag in a solver
  #1
EdP
New Member
 
Eduardo
Join Date: May 2018
Posts: 1
Rep Power: 0
EdP is on a distinguished road
Hi everyone,


I'm doing a project in college with OpenFoam5.0 about cargo ship and I need to calculate the ship's drag, but I'm can't find where put the function. I'd like to know where (what folder) I put the drag function to realize the calculates. I'm using the solver DTCHull from tutorials InterFoam
EdP is offline   Reply With Quote

Old   May 24, 2018, 03:07
Default
  #2
Member
 
Andreas P.
Join Date: May 2017
Posts: 41
Rep Power: 9
AndreasPe is on a distinguished road
Forces can be calculated with the "forces" and the typical drag and lift coefficients with the "force coefficients" function object. See for example this documentation:


https://www.openfoam.com/documentati...es-forces.html



https://www.openfoam.com/documentati...ce-coeffs.html



These function objects should exist in any openfoam version. Just add it in your controlDict and the results will be written in the log file as well as in a seperate file if you wish.
AndreasPe 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
Hybrid discretisation - blend factor gcoopermax CFX 5 September 23, 2016 09:05
Wall component calculation using foamCalc vs Solver Bernhard OpenFOAM Post-Processing 5 February 15, 2014 16:30
How to add Radiation to existing buoyantBoussinesqSimpleFoam solver MasAmi OpenFOAM Running, Solving & CFD 4 January 16, 2014 07:17
Calculation of Drag Coefficient manually PRASHANT GHADGE FLUENT 4 December 13, 2012 16:31
Warning 097- AB Siemens 6 November 15, 2004 05:41


All times are GMT -4. The time now is 00:23.