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

Calculation of drag coefficient in porous zone

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2016, 13:25
Default Calculation of drag coefficient in porous zone
  #1
Member
 
Anirudh Kulkarni
Join Date: May 2016
Posts: 62
Rep Power: 10
Tempest is on a distinguished road
Dear foamers,

How can I calculate drag coefficient for porous zone without using forceCoeffs macro in controlDict.

One option is to take the difference of average pressure at the front and rear face of the body for pressure drag. And for viscous drag difference of du/dy at top and bottom face of body.

I can extract pressure values by using sampleDict. But I am not able to extract du/dy.

I am defining volTensorField gradU = fvc::grad(U)

volScalarField dUdy = gradU.component(tensor::YY)

But I am not sure this is correct. Please help me out here.
Tempest is offline   Reply With Quote

Old   December 16, 2016, 05:13
Default
  #2
Senior Member
 
Huynh Phong Thanh
Join Date: Aug 2013
Location: Ho Chi Minh City
Posts: 105
Rep Power: 13
hiuluom is on a distinguished road
1. You can extract porous region by using foamToVTk.

you can refer the link here. How to visualize cellset region in OF?

2. Using paraview to openfoam porous region and then refer the link to calculate the force:

https://www.simscale.com/docs/conten...ce-computation
hiuluom is offline   Reply With Quote

Old   January 20, 2017, 18:52
Default non-porous drag forces on porous sphere
  #3
New Member
 
Join Date: Jan 2017
Posts: 1
Rep Power: 0
pantalaimon is on a distinguished road
Hi,

I am attempting to compute the forces on a porous sphere in laminar flow conditions using OF.

I can produce the flow field fine, and I can compute the porous forces within the porous sphere via controlDict, specifying the cellZone. However the forces that I am interested in are the non-porous drag forces: i.e., the drag forces due to the delta pressure on the front and rear of the sphere and skin friction, which are derived from variables outside the cellZone.

I thought that I could follow the above suggestions. In paraview, it's easy to view the cellZone by itself, as per the first suggestion. However, paraview seems to be unable to "Generate Surface Normals" for the cellZone as suggested here.

Does this feature only work with cellSets, as per tutorial, or has anyone got it working for cellZones?

Or indeed, has anyone a different suggestion for the computation of the (non-porous) drag force on a porous body?

Cheers!
pantalaimon is offline   Reply With Quote

Old   February 8, 2019, 14:21
Default
  #4
Senior Member
 
Join Date: Jun 2011
Posts: 163
Rep Power: 15
mechy is on a distinguished road
Quote:
Originally Posted by pantalaimon View Post
Hi,

I am attempting to compute the forces on a porous sphere in laminar flow conditions using OF.

I can produce the flow field fine, and I can compute the porous forces within the porous sphere via controlDict, specifying the cellZone. However the forces that I am interested in are the non-porous drag forces: i.e., the drag forces due to the delta pressure on the front and rear of the sphere and skin friction, which are derived from variables outside the cellZone.

I thought that I could follow the above suggestions. In paraview, it's easy to view the cellZone by itself, as per the first suggestion. However, paraview seems to be unable to "Generate Surface Normals" for the cellZone as suggested here.

Does this feature only work with cellSets, as per tutorial, or has anyone got it working for cellZones?

Or indeed, has anyone a different suggestion for the computation of the (non-porous) drag force on a porous body?

Cheers!
Hello
Dear pantalaimon
I have the same problem
do you find it's solution ?

Best Regards
mechy is offline   Reply With Quote

Old   February 16, 2019, 08:30
Default same problem
  #5
New Member
 
zein elserfy
Join Date: May 2018
Posts: 25
Rep Power: 8
zeinelserfy is on a distinguished road
does anyine find a solution for that case?
zeinelserfy 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
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 06:18
drag coefficient calculation Konstantine OpenFOAM Running, Solving & CFD 9 September 23, 2014 14:55
calculation of Drag Coefficient in CFX? ganesh chakravarthi CFX 5 May 28, 2014 19:54
Lift and Drag calculation if wing is porous in nature mooby FLUENT 5 May 12, 2014 10:50
Journal file error magicalmarshmallow FLUENT 3 April 4, 2014 13:25


All times are GMT -4. The time now is 22:07.