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

alpha.water field zero for parallel run with particular number of processors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 25, 2019, 07:01
Default alpha.water field zero for parallel run with particular number of processors
  #1
VKr
New Member
 
Join Date: Jan 2019
Posts: 1
Rep Power: 0
VKr is on a distinguished road
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
VKr is offline   Reply With Quote

Old   August 30, 2022, 05:12
Default
  #2
New Member
 
Cheng Yu Che
Join Date: Jul 2022
Posts: 4
Rep Power: 3
cheng0672 is on a distinguished road
Hi VKr! I have same question. Do you solve it ?
cheng0672 is offline   Reply With Quote

Reply

Tags
alpha.water, multiphase, number of processors, parrallel run, water phase zero


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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
interFoam wave propagation and explosion of Courant number and residuals ChiaraViola OpenFOAM Running, Solving & CFD 1 June 26, 2019 05:36
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 15:05


All times are GMT -4. The time now is 11:39.