CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   Ship Drag Calculation (

Curro5150 April 6, 2010 17:41

Ship Drag Calculation
Hello all,

I am new to openFoam, and I am trying to solve the ship moving with free surface problem using InterFoam (with OpenFoam 1.5). In order to compute the drag the force function (which for some reason I haven't been able to make work anyway-any examples available?) will compute the whole pressures around the hull, rather than only the pressures on the submerged portion. I was thinking of a simple approach of computing the Forces by integrating this expression:


However, in Paraview I haven't been able to do this. Am I missing something?

Otherwise, can it be done easily with a script after the computing is finished?

I will appreciate any help and welcome any other simple approach to the problem.



shirazbj April 7, 2010 09:21

There is a calculator in ParaView. Maybe it can help.

Curro5150 April 7, 2010 09:35

Yes, that was what I was trying to do, however, I found no way to acces the face normal in ParaView. Is it possible?

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