|
[Sponsors] |
alpha.water field zero for parallel run with particular number of processors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2019, 08:01 |
alpha.water field zero for parallel run with particular number of processors
|
#1 |
New Member
Join Date: Jan 2019
Posts: 1
Rep Power: 0 |
Hello everyone,
I'm working with a two-phase problem (droplet on a surface) and a solver based on interFoam with an user-defined alpha contact angle BC. When I'm running a case in serial mode it works. When I'm running it in parallel mode on 5 processors, it also works. But for the same geometry, if I'm running the calculation on 6 processors, the alpha.water values get everywhere zero or nearly zero (which is not the case in serial mode or on 5 processors) and the code is consequently doing the wrong thing without giving an error. Though alpha.water field is actually set and the droplet is existing. This is a code part from the user-defined alpha contact angle BC: if( this->db().foundObject<volScalarField>("alpha.water") ) { volScalarField& alpha1 = const_cast<volScalarField&> ( this->db().lookupObject<volScalarField>("alpha.water" ) ); ... } Furthermore, if I don't change the geometry but only the number of cells in my simulation model, it's still always 6 processors and more that cause the problem. If I increase the geometry dimensions, it starts working for 6 processors, but the same problem appears with 10 and more processors. Important: it's only the partition of the wall with the user-defined alpha contact angle BC that is causing the problem. But it doesn't matter if the droplet is set completely on one processors or if the droplet is partitioned. I'm quite new to openfoam. So I hope I could describe the problem relatively clearly and somebody could help me or just give a hint. I would like to post some code parts, but I don't know at all what the problem is. So if you have further questions I will try to answer. THANK YOU in advance! Best regards VKr |
|
August 30, 2022, 06:12 |
|
#2 |
New Member
Cheng Yu Che
Join Date: Jul 2022
Posts: 4
Rep Power: 4 |
Hi VKr! I have same question. Do you solve it ?
|
|
Tags |
alpha.water, multiphase, number of processors, parrallel run, water phase zero |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' | BrendaEM | OpenFOAM Meshing & Mesh Conversion | 12 | April 3, 2022 19:32 |
interFoam wave propagation and explosion of Courant number and residuals | ChiaraViola | OpenFOAM Running, Solving & CFD | 1 | June 26, 2019 06:36 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 15:49 |
foam-extend_3.1 decompose and pyfoam warning | shipman | OpenFOAM | 3 | July 24, 2014 09:14 |
decomposePar pointfield | flying | OpenFOAM Running, Solving & CFD | 28 | December 30, 2013 16:05 |