CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Problem running in parallel with patch and patchField

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   June 30, 2017, 06:50
Default Problem running in parallel with patch and patchField
New Member
Join Date: Jun 2017
Posts: 9
Rep Power: 7
Byba is on a distinguished road
Dear users,

I have a problem running in parallel OpenFoam. A program uses the solver chtMultiRegionFoam that I modify to simulate two regions: water and solid material.
If I run it with a single core, I do not have problems. When I run in parallel (4 core), using decompoParDict for each region, I have problem only with water (not solid) and the following error message appears:

inconsistent patch and patchField types for patch type symmetry and patchField type simmetryfile: 

/home/christian/user/user/case/0/coolant/cellToRegion.boundaryField.sides from line 26 to line 26.    From function static Foam::tmp<Foam::fvPatchField<Type> > 

Foam::fvPatchField<Type>::New(const Foam::fvPatch&, const 

Foam::DimensionedField<Type, Foam::volMesh>&, const Foam::dictionary&) [with Type = double]    in file /home/christian/OpenFOAM/OpenFOAM-4.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 160.FOAM exiting
I tried to modify the program, in order to have the right matching between Patch and PatchField: it doesn't work. This problem is strange because it should also appear for the case of a single core.
Any suggestions, please?
Thank you for your time.


Last edited by Byba; June 30, 2017 at 10:14.
Byba is offline   Reply With Quote

Old   April 27, 2021, 10:27
New Member
Join Date: Apr 2021
Posts: 7
Rep Power: 3
jennyjian is on a distinguished road
Actually I meet this problem as well in a immersed boundary program, when I run the decomposePar command, it worked. However if I continue typing the
mpirun -np 4 icoIbFoam -parallel, the error message came out,"
inconsistent patch and patchField types for field phi
patch type immersedBoundary and patchField type calculated"
When I run the single core simulation it worked perfectly.
So this is really strange.
jennyjian is offline   Reply With Quote


chtmultiregionfoam, decomposepar, openfoam, parallel calculation, patch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Unknown patchField type alphatWallFunction for patch type wall ranasa OpenFOAM Running, Solving & CFD 7 November 21, 2019 03:13
Unknown patchField type nutSpalartAllmarasWallFunction for patch type wall Salim OpenFOAM 4 December 14, 2016 18:26
Unknown patchField type rampedFixedValue for patch type wall razi.me05 OpenFOAM Running, Solving & CFD 0 September 23, 2015 03:59
Unknown patchField type compressible::alphatWallFunction for patch type wall dante03 OpenFOAM 1 April 10, 2014 02:15
Create a GeometricField of a given type on given patch? philippose OpenFOAM Programming & Development 4 August 12, 2013 13:41

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