CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

SnappyHexMesh in Parallel problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2012, 19:00
Unhappy SnappyHexMesh in Parallel problem
  #1
New Member
 
Join Date: Apr 2012
Location: UK
Posts: 3
Rep Power: 5
swifty is on a distinguished road
Hello,

I am trying to run snappyHexMesh in parallel using openFOAM 2.1.0 to mesh an aerofoil. I had it working without any problems in serial first, I only have problems now I am trying in parallel. I start by running blockMesh to generate a base mesh, then I decompose the mesh using scotch for 2 processors. Then change the decompose dictionary to ptscotch and run snappyHexMesh. This fails with the following error,

[0] processorPolyPatch::calcGeometry : Writing my 6925 faces to OBJ file "/home/aswift/OpenFOAM/aswift-2.1.0/run/coord_seligFmt/aerofoil/processor0/procBoundary0to1_faces.obj"
[1] processorPolyPatch::calcGeometry : Writing my 6925 faces to OBJ file "/home/aswift/OpenFOAM/aswift-2.1.0/run/coord_seligFmt/aerofoil/processor1/procBoundary1to0_faces.obj"
[1] processorPolyPatch::calcGeometry : Dumping cell centre lines between corresponding face centres to OBJ file"/home/aswift/OpenFOAM/aswift-2.1.0/run/coord_seligFmt/aerofoil/processor1/procBoundary1to0_faceCentresConnections.obj"
[0] processorPolyPatch::calcGeometry : Dumping cell centre lines between corresponding face centres to OBJ file"/home/aswift/OpenFOAM/aswift-2.1.0/run/coord_seligFmt/aerofoil/processor0/procBoundary0to1_faceCentresConnections.obj"
[1]
[1]
[1] --> FOAM FATAL ERROR:
[1] face 597 area does not match neighbour by 0.103929% -- possible face ordering problem.
patchrocBoundary1to0 my area:1.33687e-05 neighbour area:1.33549e-05 matching tolerance:6.7218e-10
Mesh face:2108231 vertices:4((0.535348 -0.114329 0.03125) (0.539191 -0.114329 0.03125) (0.539191 -0.110848 0.03125) (0.535348 -0.110851 0.03125))
If you are certain your matching is correct you can increase the 'matchTolerance' setting in the patch dictionary in the boundary file.
Rerun with processor debug flag set for more information.
[1]
[1] From function processorPolyPatch::calcGeometry()
[1] in file meshes/polyMesh/polyPatches/constraint/processor/processorPolyPatch.C at line 239.
[1]
FOAM parallel run exiting
[1]

To try and solve this error I have tried adding a renumberMesh command before snappyHexMesh in my run file, but that doesn't help. I have tried changing the matchTolerance value in the processor0 and 1 folders, but the value appears to be overwritten.

I have attached the snappyHexMesh log and the files I use for the run.

I would be grateful for any help.

Regards

Swifty
Attached Files
File Type: txt log.snappyHexMesh.txt (24.5 KB, 19 views)
File Type: gz aerofoil.tar.gz (11.2 KB, 15 views)

Last edited by swifty; April 22, 2012 at 19:10. Reason: extra information
swifty is offline   Reply With Quote

Old   April 23, 2012, 06:12
Default
  #2
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 8
kid is on a distinguished road
If snappyHexMesh runs in serial what is need to run it in parallel. use decomposePar and proceed with solver. By running snappyHexMesh in parallel you might be making multiple instances of same mesh on each processor.
If anything you want to run in parallel it should be solver and not snappyHexMesh.
kid is offline   Reply With Quote

Old   April 23, 2012, 19:21
Default
  #3
New Member
 
Join Date: Apr 2012
Location: UK
Posts: 3
Rep Power: 5
swifty is on a distinguished road
I have gone back to the basics and I am doing the grid generation in serial and then run the solver in parallel. I found a problem with the decomposition of the mesh, to make it work I had to delete ccx ccy ccz cellLevel pointLevel from 0. I also added the keyword

structured yes;

to the decomposeParDict. I can now run simpleFoam in parallel.
swifty is offline   Reply With Quote

Old   June 25, 2012, 02:26
Default
  #4
Senior Member
 
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 10
haakon will become famous soon enough
I have the exactly same problem with snappyhexMesh as swifty. I try to make a mesh with sHM in parallel, and it fails with the same error message. In serial everything seems to be OK.

If anyone can help me/us with this I would highly appreciate that.
haakon is offline   Reply With Quote

Old   September 26, 2012, 08:37
Default
  #5
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 103
Rep Power: 5
Eloise is on a distinguished road
If you still have this issue, go to have a look at the following thread:
snappyHewMesh decomposition method ???
Eloise is offline   Reply With Quote

Old   February 24, 2015, 09:31
Default
  #6
New Member
 
Join Date: Feb 2015
Posts: 15
Rep Power: 2
jojosaxo is on a distinguished road
Hello everyone,

I'm new to Openfoam and I'm trying to run snappyHexMesh in parallel.
As some people above I got some strange message about facing area no-matching between processor.

FOAM FATAL ERROR:
[1] face 597 area does not match neighbour by 0.103929% -- possible face ordering problem.
patchrocBoundary1to0 my area:1.33687e-05 neighbour area:1.33549e-05 matching tolerance:6.7218e-10

I'm actually doing a mesh around a Naca aifroil.

This issue actually doesn't occur with a 3D case I'm working on.

Does anyone know where this problem is coming from and how to solve it???

Thanks for your help

See Attached my file....
Attached Files
File Type: txt decomposeParDict.txt (1.1 KB, 3 views)
File Type: txt snappyHexMeshDict.txt (10.5 KB, 0 views)
jojosaxo is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 13:48
problem in the CFX12.1 parallel computation BalanceChen ANSYS 2 July 7, 2011 10:26
Parallel UDF problem, hello world version pilou FLUENT 0 March 10, 2011 09:20
Parallel mesh generation using snappyHexMesh aki_yafuji OpenFOAM Mesh Utilities 0 December 25, 2010 04:49
cfx4 parallel sover Problem!! HELP Richard.A CFX 2 August 3, 2002 03:54


All times are GMT -4. The time now is 23:07.