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

Different Pressures on Single and Multiple Processors

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2013, 12:27
Default Different Pressures on Single and Multiple Processors
  #1
New Member
 
Join Date: Apr 2012
Posts: 21
Rep Power: 14
Yahoo is on a distinguished road
Hey Guys
I am having a problem with the pressure on parallel simulations; I get different pressures when I am running on multiple processors. I have tried PCG and GAMG solvers. Any ideas?
Yahoo is offline   Reply With Quote

Old   May 24, 2013, 02:32
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
represent your results by a contour maybe help
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   May 18, 2014, 20:20
Default compressibleInterFoam
  #3
Member
 
Join Date: Sep 2013
Posts: 46
Rep Power: 12
ma-tri-x is on a distinguished road
Hi !

I think I face a similar problem.
I worked several months on simualtion of cavitation bubbles and started with the compressibleInterFoam solver and modified it, but the problem still also remains with the original one(s) (versions: 2.1.1, 2.2.1, 2.3.0):

When at least one of the processor patches crosses the interface, the velocity field is not computed correctly. You observe numerical fragments parallel to the patch like in the following picture
https://www.dropbox.com/s/a4cr4qpyoqjhue2/bug.png

The only version I discovered to be able to deal with the decomposition is the openfoam-extend version.

Has anyone observed this? Is this the same error as discussed here?

Furthermore I discovered that even without decomposing, running a 2D axis-symmetric case has some overestimating properties in the cell of the interface directly at the axis. So if you place a bubble that will collapse onto the axis, it will unphysically get thinner at the axis. This also seems to be no problem in the extend version 3.0 (absolutely same input files).

Regards,
Max
ma-tri-x is offline   Reply With Quote

Old   October 17, 2015, 15:59
Default
  #4
Member
 
Join Date: Sep 2013
Posts: 46
Rep Power: 12
ma-tri-x is on a distinguished road
Quote:
Originally Posted by Yahoo View Post
Hey Guys
I am having a problem with the pressure on parallel simulations; I get different pressures when I am running on multiple processors. I have tried PCG and GAMG solvers. Any ideas?
I found something:

Quote:
Originally Posted by ma-tri-x View Post
Hi!

After years of calculating in parallel with openFOAM of several versions, I finally found the bug:
have a look at your
Code:
controlDict
. Do you adjustTimeStep? Then you have to go have a look into the several processorN-directories of your run and compare the times. Are they the same? Probably NOT. It is because there exist as many CoNums (Courant numbers) as there are processors used. You have to explicitly take the minimum CoNum of ALL processors. So go into the sources of your solver
Code:
cd $WM_PROJECT_DIR/applications/solvers/path-to-solver
and edit the file
Code:
CorantNo.H
from
Code:
    CoNum = max(SfUfbyDelta/mesh.magSf()).value()*deltaT;
to
Code:
    CoNum = max(SfUfbyDelta/mesh.magSf()).value()*deltaT;
    reduce(CoNum,minOp<scalar>());
if you are using also the acousticCoNum then you have to do it for this one as well.
Now run
Code:
./Allwmake
and you'll be fine forever. I think.
ma-tri-x is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving Transient/Unsteady data of multiple surface integrals in single file ankur gupta FLUENT 0 February 22, 2012 13:59
Single Hydraulic diameter for multiple holes thatoneguy Main CFD Forum 0 April 5, 2010 12:58
Problem on multiple processors..works fine on single processor! skabilan OpenFOAM Running, Solving & CFD 2 December 5, 2009 12:19
Multiple domain interfaces on a single surface mike CFX 2 January 26, 2009 17:03
Output multiple hardcopies into a single PS file Winston Lin FLUENT 0 September 16, 2003 18:06


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