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

Pressure varies with cell size!!

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 13, 2009, 08:35
Default Pressure varies with cell size!!
  #1
New Member
 
Join Date: Mar 2009
Posts: 27
Rep Power: 8
jugghead is on a distinguished road
Hi,

I was using icoFoam and interFoam and noticed that the pressure range (icoFoam) or pressure value (interFoam) varies with cell size and does not seem to converge with refinement. The smaller the cell size, the larger the pressure. If you use the cavity icoFoam case and refine the mesh you see that pressure range continuously increases.

Does somebody know what is wrong or experienced this problem?
jugghead is offline   Reply With Quote

Old   December 14, 2009, 05:42
Default
  #2
New Member
 
Join Date: Mar 2009
Posts: 27
Rep Power: 8
jugghead is on a distinguished road
Is this a problem due to Rhie-Chow interpolation?

Last edited by jugghead; December 15, 2009 at 11:07.
jugghead is offline   Reply With Quote

Old   December 15, 2009, 11:08
Default
  #3
New Member
 
Join Date: Mar 2009
Posts: 27
Rep Power: 8
jugghead is on a distinguished road
Anyone?
jugghead is offline   Reply With Quote

Old   December 15, 2009, 21:52
Default
  #4
Senior Member
 
Kevin Smith
Join Date: Mar 2009
Posts: 103
Rep Power: 8
kev4573 is on a distinguished road
I think this is a problem with the boundary conditions on pressure - take a look at the boundary condition on 'p'. May be an issue with the cells at the intersection of the moving wall and the side walls - you can see the pressure peaks in those corners. I've had difficulties with pressure boundary conditions before in openfoam, they can be tricky at times.
kev4573 is offline   Reply With Quote

Old   December 16, 2009, 05:22
Default
  #5
New Member
 
Join Date: Mar 2009
Posts: 27
Rep Power: 8
jugghead is on a distinguished road
As I said in 1st post, this also happens with interFoam. Even if the pressure is normalized or isn't absolute pressure whatever it should not depend on cell size. It seems to vary linearly with the inverse of cell distance. For example if I have a 1D mesh and have 20 cells the pressure is p, if I have 40 cells the pressure is 2*p and so on.

To repliclate this problem just use interFoam with 1 inlet and 1 outlet a simple plate for example 1m x 0.4m and place a alpha=1 at inlet. Probe the pressure near inlet and refine the mesh. Put a velocity of 0.1 m/s at inlet.
Start with mesh as 25x10 cells and then put 50x20 and then 75x30, etc. and see what happens to pressure.
jugghead is offline   Reply With Quote

Old   December 16, 2009, 05:29
Default
  #6
Senior Member
 
Anonymous
Join Date: Mar 2009
Posts: 110
Rep Power: 8
madad2005 is on a distinguished road
Jugghead, can you try 100x100 and then 300x300 and report what pressure is doing at these stages compared to 75x30?
madad2005 is offline   Reply With Quote

Old   December 16, 2009, 05:51
Default
  #7
New Member
 
Join Date: Mar 2009
Posts: 27
Rep Power: 8
jugghead is on a distinguished road
Attention that this is not turbulent flow. So it should converge pretty easily without resorting to high density meshes. Low Reynolds. You can use a very high viscosity and this happens.
jugghead is offline   Reply With Quote

Old   March 26, 2015, 09:02
Default
  #8
New Member
 
Roman Voronov
Join Date: May 2010
Location: Russia
Posts: 12
Rep Power: 7
rv82 is on a distinguished road
Hello! I try to simulate processes in multisection cyclone unit with OpenFOAM. Previously I did an experiment and experimental pressure values are in 2-3 times lower than simulated values. Velocity values are similar to experimental.

Tell me please, is there another way to obtain normal values, consistent with experimental values, except splitting the mesh? May be it's possible to set some solver's parameters or even change settings in solver's source code?

I tried to simulate my case with this solvers/settings: simpleFoam & pimpleFoam solvers, limitedLinear, linearUpwind & QUICK schemes for div(phi,U), GAMG linear solver for pressure and smoothSolver for other fields with under-relaxation factors 0.3 for pressure and 0.7 for other fields. With all of that, velocity values are consistent with experimental, but pressure values are very big.

Thank you!
rv82 is offline   Reply With Quote

Reply

Tags
cell, pressure, size

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 14:38
Pressure BC for combustion chamber Giuki FLUENT 1 July 19, 2011 11:35
How to read pressure at discrete points paka OpenFOAM 15 July 21, 2008 05:03
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 02:15
Combustion Convergence problems Art Stretton Phoenics 5 April 2, 2002 05:59


All times are GMT -4. The time now is 04:06.