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

PimpleFoam - oscillating forces and drag coefficient

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 1, 2018, 06:30
Default PimpleFoam - oscillating forces and drag coefficient
  #1
Member
 
Cristina Hernandez
Join Date: May 2018
Posts: 35
Rep Power: 8
crizpi21 is on a distinguished road
Hi,

I am trying to run a simple case of the flow around a 2D square (side=0.5m) with rounded edges inside a rectangular domain using Pimplefoam solver. My objective is to calculate the drag coefficient at the walls of the square for different radius of curvature of the square.

For a particular radius (case1: r=0.2m), my drag coefficient is fairly stable after 40 s. However, if I decrease the radius (case2: r=0.1m), the drag coefficient oscillates a lot around the "mean" value. See attached drag_coeff_plot.
[Note that magnitude of drag coefficient in both cases is different since for more rounded edges, Cdrag should be lower]

From my understanding, as drag coefficient dependes on forces, which are obtained from pressure, the problem is with pressure calculation.

The only thing that I am changing between both cases is the mesh, that has to be adapted for the different radius, so the size of the cells around the square may not be the same. However, I have done "checkMesh" and non-orthogonality and aspect ratio are very similar in both cases. Find attached files.

I have also plotted the residuals for p (see residuals_p attached file) and they look a bit different, but I do not know if this could be causing the difference.

Can you think about any possible reason why I am obtaining this huge variations in drag coefficient in case2? Maybe I should modify some parameters in my fvSolution and fvSchemes files? I can post them if necessary.

Any tip would be helpful, I am really stuck with this.

Thanks in advance.

Cristina
Attached Images
File Type: png drag_coeff_plot.png (69.1 KB, 125 views)
File Type: jpg residuals_p.jpg (62.6 KB, 104 views)
Attached Files
File Type: txt checkMesh_case1.txt (3.5 KB, 40 views)
File Type: txt checkMesh_case2.txt (3.5 KB, 13 views)
crizpi21 is offline   Reply With Quote

 


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
Calculation of lift and drag coefficients on airfoil CoolHersheys OpenFOAM Post-Processing 5 September 27, 2021 06:04
Drag coefficient too high at flow around a cyclinder Gunni OpenFOAM Running, Solving & CFD 17 October 31, 2019 02:18
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
Post Processing Drag Coefficient squanto773 OpenFOAM Post-Processing 1 March 7, 2012 09:43
coefficient of lift and drag forces nkiru FLUENT 9 August 14, 2008 01:00


All times are GMT -4. The time now is 17:53.