Implementation of the drag coefficient Formula
Hello Foamers :)
I am trying to simulate a flow around a half-cylinder.In order to evaluate my result and i need calculate some coefficients non-dimensional numbers , like Nussel-number and the drag coefficient: For the calculation of the drag coefficient of the geometry i should use this Formula : https://rb-owa-portal.emea.bosch.com...8eT5B5WMwMl5LQ with https://rb-owa-portal.emea.bosch.com...SIug4AXS5V%2f2 I am using ParaView and Ensight as a Post-Processing Tool. Can anybody explain to me, how and where should implement this Formula, in order to calculate the drag coefficient for every time step ? Thx for the support :) PS: I am using OpenFOAM 2.2.0 |
solved :)
So...:)
Just write this Code in your controlDict-File :) Code:
functions The Folder postProcessing will be created, there you will find the values of Lift, Drag for every time step saved in the forceCoeffs.dat file :D For more information : http://www.cfd-online.com/Forums/ope...efficient.html http://ww3.cad.de/foren/ubb/Forum527...000069-2.shtml |
Hello :)
i did a little mistake :( The simulation was running and the OpenFOAM calculated the drag , lift....and that is why i thought every is perfect .... but i did not calculate the forces properly : Code:
--> FOAM Warning : Thx :) |
You didn't mention what solver you were using but I think the problem might be that you didn't specify the field names in your controlDict file. Here's how I do it with interFoam and pimpleDyMFoam and it works:
Code:
forces |
thanks !!:)
|
All times are GMT -4. The time now is 05:26. |