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

parallel vs serial run interFoam - dambreak

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2022, 02:31
Default parallel vs serial run interFoam - dambreak
  #1
Member
 
Anonymous.
Join Date: Sep 2020
Posts: 35
Rep Power: 6
gentodin is on a distinguished road
Hi all, I am currently trying to run interfoam modified solver using MPIrun openfoam's parallel simulation command.

Currently running on OF8. Using decomposepar, simple 4 subdomains (2 2 1).

Run command: mpirun -np 4 interfoam -parallel >> log &

I have 4 subdomains and is testing out if there is any discrepancy for alpha.water in solving with parallel simulation vs serial.

I realised if I run dambreak tutorial under interfoam for parallel vs serial, I get two slightly different values at about 8.45% difference [cell ID 499]

As shown in the picture are the cell values comparison.

Does anyone know why this happen?
How do I prevent this or
How do I improve the accuracy of parallel simulation?
I saw online it maybe some floatTransfer issue i.e. WritePrecision?

I have come across functions like .correctBoundaryConditions() that should help for volScalarField but what about surfaceScalarField?

Do I need to correct them also for parallel simulation?

Please help me if possible

Thank you all,
Stan
Attached Images
File Type: jpg Parallel_interfoam.jpg (159.2 KB, 12 views)
gentodin 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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
Problem in foam-extend 4.0 ggi parallel run Metikurke OpenFOAM Running, Solving & CFD 0 February 20, 2018 07:34
Run with option -parallel, but in serial t.oliveira OpenFOAM Running, Solving & CFD 0 January 30, 2018 16:54
OpenFOAM can't be run in parallel in cluster sibo OpenFOAM Running, Solving & CFD 4 February 21, 2017 17:29
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45


All times are GMT -4. The time now is 18:20.