|
[Sponsors] |
running rhoCentralFoam in parallel: cannot find patchField entry for procBoundary |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Henry
Join Date: May 2016
Posts: 15
Rep Power: 8 ![]() |
Hi,
I'm fairly new to OpenFOAM and am trying to run the rhoCentralFoam solver in parallel (with 8 processors). I keep getting the following error: "--> FOAM FATAL IO ERROR: Cannot find patchField entry for procBoundary0to3 file: home/mpiuser/OpenFOAM/mpiuser-3.0.1/run/henry/rhoCentralTest/processor0/0/p.boundaryField from line 25 to line 58. From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh&, const dictionary&) in file /home/openfoam/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 209 FOAM parallel run exiting" I have tried creating placeholder procBoundary entries in the 0/p, 0/T and 0/U files inside the boundaryField dictionary in each of those files: boundaryField { inlet { type fixedValue; value uniform (100 0 0); } ... there are other patch entries here procBoundary0to1 // this is what I tried to add (for each processor to processor connection) { type processor; } } The error I get when I do this, however, is even more complicated and unintelligible. I feel like I am missing something simple. Is there a file or dictionary entry missing somewhere that is required for a rhoCentralFoam parallel run? Thanks, Henry |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Henry
Join Date: May 2016
Posts: 15
Rep Power: 8 ![]() |
Sometimes we miss stupid things: this is solved with a simple
"#include $WM_PROJECT_DIR/etc/caseDicts/setConstraintTypes" statement in each of the 0/* files. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Dec 2020
Posts: 1
Rep Power: 0 ![]() |
The patch that you entered is the correct fix.
Except that you put in 'procBoundary0to1' instead of 'procBoundary0to3'. Just add the following to your p file: procBoundary0to3 { type processor; value uniform 0; } If the error occurs for u or k the text against the 'value' string will need to be different. |
|
![]() |
![]() |
![]() |
Tags |
parallel compressible, parallel error, patchfield, processor boundary, rhocentralfoam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 07:54 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 16:08 |
Parallel Running With Problems | guilha | OpenFOAM Running, Solving & CFD | 1 | July 26, 2014 10:55 |
multiphase solver - parallel processing - GAMG | thibault_pringuey | OpenFOAM Programming & Development | 2 | August 27, 2013 22:03 |
[solidMechanics] Running contactStressFoam in Parallel | Hisham | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 2 | October 16, 2012 10:34 |