|
[Sponsors] |
February 21, 2022, 02:31 |
parallel vs serial run interFoam - dambreak
|
#1 |
Member
Anonymous.
Join Date: Sep 2020
Posts: 35
Rep Power: 6 |
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 |
|
|
|
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 |