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

[snappyHexMesh] Error snappyhexmesh - Multiple outside loops

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

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2014, 03:09
Question Error snappyhexmesh - Multiple outside loops
  #1
New Member
 
avinashjagdale
Join Date: Feb 2014
Location: pune,India
Posts: 26
Rep Power: 12
avinashjagdale is on a distinguished road
following is the error I am getting in smoothing process of snappyhexmesh.
I have meshed the same geometry with fine grids and it worked. Now with coarse meshing levels I am getting this error

.................................................. .................................................. ......
Multiple outside loops:0()

From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::combineFaces::getOutsideFace(Foam::Primitive Patch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#3 Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#4 Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libdynamicMesh.so"
#5 Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#6 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libautoMesh.so"
#7
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/snappyHexMesh"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/snappyHexMesh"
.................................................. .................................................. ....................

What is the reason?
ruikeradity1 likes this.
avinashjagdale is offline   Reply With Quote

Old   March 11, 2014, 06:30
Default
  #2
New Member
 
avinashjagdale
Join Date: Feb 2014
Location: pune,India
Posts: 26
Rep Power: 12
avinashjagdale is on a distinguished road
DEar Foamers

I solved the problem. yeah!
I further increased the scale for edge feature refinement from 3 to 4 . and also increased refinement level for surface corners. It worked superb.
Hence the problem but be related to edges of the geometry.

Still I would like to know exactly when that problem arises.
If anyone could help.

I am attaching snapshots of mesh.
Attached Images
File Type: jpg trailingpins.jpg (99.4 KB, 370 views)
avinashjagdale is offline   Reply With Quote

Old   April 25, 2014, 20:56
Default
  #3
Member
 
Lucas Mutti
Join Date: Aug 2013
Posts: 47
Rep Power: 14
lramutti is on a distinguished road
I have the same problem happening and I would say this is related to the fact that I just installed ParaView 4.0. I was running the same exact case on 3.14 and I had no problem.
It seems that is like you said, I increased my refinement level from 4 to 5 and the problem was gone. Yet, I don't quite understand the reason behind.

Cheers
lramutti is offline   Reply With Quote

Old   April 26, 2014, 07:48
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@avinashjagdale: If you can provide a test case that reproduces this problem, I can have a look into it. Without a test case, I can only guess that it's a bug and possibly one that has already been fixed in OpenFOAM 2.3.x.


@Lucas: As I stated in the other thread (http://www.cfd-online.com/Forums/ope...tml#post488338 post #8), without knowing which steps you've taken to change between versions of ParaView, I'm not able to deduce why this happened in your case, because OpenFOAM should not be affected by ParaView.

Well, there is a possibility: you might have installed both OpenFOAM 2.2 and 2.3 from Deb packages and now have a mixed shell environment; this can lead to libraries being used between OpenFOAM versions and I find it strange that it hasn't crashed something more along the way...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 26, 2014, 15:52
Default
  #5
Member
 
Lucas Mutti
Join Date: Aug 2013
Posts: 47
Rep Power: 14
lramutti is on a distinguished road
Hey Bruno,

Thanks for the response. I have installed two different versions of OpenFOAM because my ParaView 3.12 has crashed as I explained in the post you have just referenced. It is interesting that by installing ParaView 4.0 it overwrites 3.12.

Cheers
lramutti is offline   Reply With Quote

Old   October 28, 2014, 03:34
Default
  #6
Member
 
matteo lombardi
Join Date: Apr 2009
Posts: 67
Rep Power: 17
matteoL is on a distinguished road
Hello,
I am having the same error as reported in this thread:

Merging all faces of a cell
---------------------------
- which are on the same patch
- which make an angle < 180 degrees
(cos:-1)
- as long as the resulting face doesn't become concave by more than 90 degrees
(0=straight, 180=fully concave)

[56]
[56]
[56] --> FOAM FATAL ERROR:
[56] Multiple outside loops:0()
[56]
[56] From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[56] in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[56]

This happens at the beginning of the Layer phase (running SHM 2.3.x updated about 2 weeks ago).

I have checked the snapped mesh and it looks fine and passes all checkmesh criteria.

Furthermore I have meshed very similar geometries without any issues..

Any hints about what could be the problem?(sorry I can post the geoemtry becuase it is confedential).

Thanks
Matteo
matteoL is offline   Reply With Quote

Old   November 1, 2014, 15:06
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Matteo,

Quote:
Originally Posted by matteoL View Post
I have checked the snapped mesh and it looks fine and passes all checkmesh criteria.
Did you do a 100% check? Like this:
Code:
checkMesh -allTopology -allGeometry
This should reveal a lot more details about your mesh. Compare with the output of the other meshes that worked.

Quote:
Originally Posted by matteoL View Post
Any hints about what could be the problem?(sorry I can post the geoemtry becuase it is confedential).
If you were to create a smaller example case, which is a representation of the specific location where the problem occurs, it would not make it easy to assess what was the original geometry and it would make it easier to test it.

But did you try the solution mentioned in the posts above? Namely to increase the refinement level, previous to the layer adding step?

In addition, this reminds me of this bug report: http://www.openfoam.org/mantisbt/view.php?id=1376

By the way, proper visual mesh diagnosis is explained here: http://openfoamwiki.net/index.php/FA...is_in_ParaView

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 9, 2015, 06:53
Default SnappyHexmesh using all my RAM and not finalising
  #8
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
i have started building my case and trying to run my mesh. however it doesn’t work completely.

i started of modifying the snappyhexmesh contained in the snappy multi region heater case but it ended up taking allot of time and using up my most of my RAM, and when ever it ended, the meshing doesnt finalise and when i view it on paraview, it all seems like lego assembly and the surfaces not properly refined. Also some portion of the geometry,s seems erased.

After multiple trials, i decided to use a copy of the snappyhezmeshdict made by douglas, the mesh of the geometries got better with less portions erased but still looks like lego assembly.

i have attached my new snappyhexmesh file (snappyhexmeshdict ) - source http://www.calumdouglas.ch/openfoam-...snappyhexmesh/ and the old modified (snappyhexmeshdict-) - source multi region heater case, to help you to have a clearer picture of what am trying to do.

Note: the filenames are modified with ( - ) symbol at the end of the file name. ( - ) meaning modified snappyhexmesh from multi region heater case.

thanks

Also, when ever i run my mesh using this procedure:

Procedure for Meshing in Parallel with snappyHexMesh (SHMesh)

(replace the number “8” with how ever many cores you have & make sure your decomposeParDict matches)

----------------------------------------------------------------------
1 Rename 0 folder 0.org This prevents SHMesh interfering with it
2 <blockMesh> Creates background mesh for SHMesh
3 <surfaceFeatureExtract> So the mesher knows where to snap to
4 <decomposePar> Divides mesh into one section per CPU core
5 <mpirun -np 8 snappyHexMesh -overwrite -parallel> Runs mesher in parallel
6 <reconstructParMesh -constant> Puts the mesh back together again
7 delete all processor folders Clear old mesh data
8 delete folder 0 This was a dummy folder for SHMesh
9 rename folder 0.org to 0 Reactivate the folder for the solver to use
----------------------i get the following results:

also this is what i get at the end of my meshing:

and for the past 2 days, i have not been able to reolve the problem, i ve tried changing the quality parameters, enable and disable layers but nothing seem to work. i would appreciate ur guidance on this issue.

thanks



Code:
Morph iteration 19
-----------------
Calculating patchDisplacement as distance to nearest surface point ...
Wanted displacement : average:1.230944e-06 min:3.925231e-17 max:0.0002688459
Calculated surface displacement in = 9.63 s


Detecting near surfaces ...
Overriding nearest with intersection of close gaps at 2820 out of 5939704 points.
Overriding displacement on features :
implicit features : false
explicit features : true
multi-patch features : false

Detected 46443 baffle edges out of 11710903 edges.
Initially selected 106031 points out of 5939704 for reverse attraction.
Selected 303606 points out of 5939704 for reverse attraction.
Stringing feature edges : changed 18457 points
Stringing feature edges : changed 2631 points
Stringing feature edges : changed 519 points
Stringing feature edges : changed 151 points
Stringing feature edges : changed 55 points
Stringing feature edges : changed 38 points
Stringing feature edges : changed 19 points
Stringing feature edges : changed 12 points
Stringing feature edges : changed 6 points
Stringing feature edges : changed 7 points
Stringing feature edges : changed 5 points
Stringing feature edges : changed 5 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 3 points
Stringing feature edges : changed 0 points
Attraction:
linear : max-0.0002563777 -8.09235e-05 0) avg2.441981e-09 -1.647495e-09 -4.241837e-09)
feature : max0.002114379 -2.389529e-05 -1.870423e-05) avg-2.423215e-08 1.672902e-07 1.467123e-08)
Feature analysis : total master points:5812386 attraction to :
feature point : 23
feature edge : 87832
nearest surface : 0
rest : 5724531

--> FOAM Warning : Displacement (1.965109e-12 6.576623e-09 3.403723e-12) at mesh point 269808 coord (0.02751599 0.08092443 0.01406182) points through the surrounding patch faces
Smoothing displacement ...
Iteration 0
Iteration 10
Iteration 20
Iteration 30
Iteration 40
Displacement smoothed in = 52.88 s


Moving mesh ...

Iteration 0
Moving mesh using displacement scaling : min:1 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 12122
faces with face pyramid volume < 1e-15 : 46438
faces with face-decomposition tet quality < 1e-11 : 48596
faces with concavity > 90 degrees : 2
faces with skewness > 4 (internal) or 20 (boundary) : 32
faces with interpolation weights (0..1) < 0.01 : 60
faces with volume ratio of neighbour cells < 0.01 : 148
faces with face twist < 0.02 : 2703
faces on cells with determinant < 0.001 : 259

Iteration 1
Moving mesh using displacement scaling : min:0.85 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 10623
faces with face pyramid volume < 1e-15 : 43100
faces with face-decomposition tet quality < 1e-11 : 44795
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 26
faces with interpolation weights (0..1) < 0.01 : 36
faces with volume ratio of neighbour cells < 0.01 : 129
faces with face twist < 0.02 : 2955
faces on cells with determinant < 0.001 : 225

Iteration 2
Moving mesh using displacement scaling : min:0.7225 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 9163
faces with face pyramid volume < 1e-15 : 40280
faces with face-decomposition tet quality < 1e-11 : 41785
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 16
faces with interpolation weights (0..1) < 0.01 : 51
faces with volume ratio of neighbour cells < 0.01 : 114
faces with face twist < 0.02 : 3035
faces on cells with determinant < 0.001 : 185

Iteration 3
Moving mesh using displacement scaling : min:0.614125 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 7854
faces with face pyramid volume < 1e-15 : 37915
faces with face-decomposition tet quality < 1e-11 : 39197
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 16
faces with interpolation weights (0..1) < 0.01 : 42
faces with volume ratio of neighbour cells < 0.01 : 115
faces with face twist < 0.02 : 3120
faces on cells with determinant < 0.001 : 148

Iteration 4
Moving mesh using displacement scaling : min:0.5220062 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 6583
faces with face pyramid volume < 1e-15 : 35743
faces with face-decomposition tet quality < 1e-11 : 36868
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 10
faces with interpolation weights (0..1) < 0.01 : 35
faces with volume ratio of neighbour cells < 0.01 : 100
faces with face twist < 0.02 : 3358
faces on cells with determinant < 0.001 : 120

Iteration 5
Moving mesh using displacement scaling : min:0.4437053 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 5609
faces with face pyramid volume < 1e-15 : 33258
faces with face-decomposition tet quality < 1e-11 : 34961
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 6
faces with interpolation weights (0..1) < 0.01 : 13
faces with volume ratio of neighbour cells < 0.01 : 59
faces with face twist < 0.02 : 3536
faces on cells with determinant < 0.001 : 103

Iteration 6
Moving mesh using displacement scaling : min:0.3771495 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 4754
faces with face pyramid volume < 1e-15 : 30953
faces with face-decomposition tet quality < 1e-11 : 33067
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 6
faces with interpolation weights (0..1) < 0.01 : 17
faces with volume ratio of neighbour cells < 0.01 : 63
faces with face twist < 0.02 : 3749
faces on cells with determinant < 0.001 : 89

Iteration 7
Displacement scaling for error reduction set to 0.
Moving mesh using displacement scaling : min:0.3205771 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 3936
faces with face pyramid volume < 1e-15 : 28696
faces with face-decomposition tet quality < 1e-11 : 31573
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 12
faces with interpolation weights (0..1) < 0.01 : 11
faces with volume ratio of neighbour cells < 0.01 : 65
faces with face twist < 0.02 : 4068
faces on cells with determinant < 0.001 : 69

Iteration 8
Moving mesh using displacement scaling : min:0 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 4
faces with face pyramid volume < 1e-15 : 15
faces with face-decomposition tet quality < 1e-11 : 842
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.01 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.02 : 88
faces on cells with determinant < 0.001 : 2

Iteration 9
Moving mesh using displacement scaling : min:0 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 0
faces with face pyramid volume < 1e-15 : 0
faces with face-decomposition tet quality < 1e-11 : 19
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.01 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.02 : 4
faces on cells with determinant < 0.001 : 0

Iteration 10
Moving mesh using displacement scaling : min:0 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 0
faces with face pyramid volume < 1e-15 : 0
faces with face-decomposition tet quality < 1e-11 : 1
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.01 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.02 : 1
faces on cells with determinant < 0.001 : 0

Iteration 11
Moving mesh using displacement scaling : min:0 max:1
Checking faces in error :
non-orthogonality > 98 degrees : 0
faces with face pyramid volume < 1e-15 : 0
faces with face-decomposition tet quality < 1e-11 : 0
faces with concavity > 90 degrees : 0
faces with skewness > 4 (internal) or 20 (boundary) : 0
faces with interpolation weights (0..1) < 0.01 : 0
faces with volume ratio of neighbour cells < 0.01 : 0
faces with face twist < 0.02 : 0
faces on cells with determinant < 0.001 : 0
Successfully moved mesh
Moved mesh in = 110.48 s


Repatching faces according to nearest surface ...
Repatched 26188 faces in = 4.05 s


Edge intersection testing:
Number of edges : 37670275
Number of edges to retest : 18219085
Number of intersected edges : 5705897
[3] 
[3] 
[3] --> FOAM FATAL ERROR: 
[3] Multiple outside loops:0()
[3] 
[3] From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[3] in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[3] 
FOAM parallel run aborting
[3] 
[3] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[3] #1 Foam::error::abort() at ??:?
[3] #2 Foam::combineFaces::getOutsideFace(Foam::Primitive Patch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[3] #3 Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[3] #4 Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[3] #5 Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[3] #6 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[3] #7 ? at ??:?
[3] #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #9 ? at ??:?
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[13] 
[13] 
[13] --> FOAM FATAL ERROR: 
[13] Multiple outside loops:0()
[13] 
[13] From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[13] in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[13] 
FOAM parallel run aborting
[13] 
[13] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[13] #1 Foam::error::abort() at ??:?
[13] #2 Foam::combineFaces::getOutsideFace(Foam::Primitive Patch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[13] #3 Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[13] #4 Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[13] #5 Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[13] #6 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[13] #7 ? at ??:?
[13] #8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[13] #9 ?[14] 
[14] 
[14] --> FOAM FATAL ERROR: 
[14] Multiple outside loops:0()
[14] 
[14] From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[14] in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[14] 
FOAM parallel run aborting
[14] 
[14] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[14] #1 Foam::error::abort() at ??:?
[14] #2 Foam::combineFaces::getOutsideFace(Foam::Primitive Patch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[14] #3 Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[14] #4 Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[14] #5 Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[14] #6 Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[14] #7 --------------------------------------------------------------------------
mpirun has exited due to process rank 3 with PID 4954 on
node ubuntu exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
parallels@ubuntu:~/OpenFOAM-2.4.0/receiver$
Attached Files
File Type: zip snappyhex files.zip (8.7 KB, 11 views)

Last edited by wyldckat; August 9, 2015 at 14:05. Reason: Added [CODE][/CODE] markers and repaired link
esujby is offline   Reply With Quote

Old   September 27, 2015, 23:13
Default
  #9
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
How much memory does your machine have? Have you tried making the mesh coarser and seeing if that completes?
me3840 is offline   Reply With Quote

Old   November 16, 2015, 20:33
Default
  #10
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
Hello Bruno, I am having the same issue when i select face ype as boundary or baffle in SHMDict file. i can provide my test case if anyone can help highlight the reason the mesh is failing to snap. i have looked at mesh in paraview, and it seems like thin structure with thickness of 0.02mm have poorly refined cellzones, but the face zone seems well refined. i have my edge and surface refinement level set to 7 and (5-5) respective.

i would really appreciate some guidance.

thanks
esujby is offline   Reply With Quote

Old   November 17, 2015, 05:32
Default
  #11
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
hello i have the same issue and i don't know why it keeps failing to snap. please help, have a look at my log bellow, i am happy to provide a test case if someone wants to have a look

Code:
Morph iteration 9
-----------------
Calculating patchDisplacement as distance to nearest surface point ...
Wanted displacement : average:1.370954e-05 min:8.056865e-13 max:0.0006725203
Calculated surface displacement in = 3.65 s


Detecting near surfaces ...
Overriding nearest with intersection of close gaps at 0 out of 4569281 points.
Overriding displacement on features :
   implicit features    : true
   explicit features    : true
   multi-patch features : true

Detected 2662845 baffle edges out of 7912799 edges.
Initially selected 2743783 points out of 4569281 for reverse attraction.
Selected 3875216 points out of 4569281 for reverse attraction.
Removing constraints near multi-patch points : changed 10981 points
Stringing feature edges : changed 425773 points
Stringing feature edges : changed 69259 points
Stringing feature edges : changed 10189 points
Stringing feature edges : changed 4830 points
Stringing feature edges : changed 3430 points
Stringing feature edges : changed 2310 points
Stringing feature edges : changed 1764 points
Stringing feature edges : changed 1340 points
Stringing feature edges : changed 1051 points
Stringing feature edges : changed 757 points
Stringing feature edges : changed 582 points
Stringing feature edges : changed 506 points
Stringing feature edges : changed 395 points
Stringing feature edges : changed 293 points
Stringing feature edges : changed 255 points
Stringing feature edges : changed 222 points
Stringing feature edges : changed 163 points
Stringing feature edges : changed 149 points
Stringing feature edges : changed 126 points
Stringing feature edges : changed 117 points
Stringing feature edges : changed 86 points
Stringing feature edges : changed 77 points
Stringing feature edges : changed 57 points
Stringing feature edges : changed 55 points
Stringing feature edges : changed 46 points
Stringing feature edges : changed 37 points
Stringing feature edges : changed 39 points
Stringing feature edges : changed 40 points
Stringing feature edges : changed 33 points
Stringing feature edges : changed 32 points
Stringing feature edges : changed 19 points
Stringing feature edges : changed 18 points
Stringing feature edges : changed 11 points
Stringing feature edges : changed 9 points
Stringing feature edges : changed 4 points
Stringing feature edges : changed 8 points
Stringing feature edges : changed 5 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 3 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 1 points
Stringing feature edges : changed 0 points
Attraction:
     linear   : max:(-1.387779e-17 0.0006725203 2.775558e-17) avg:(7.074867e-08 1.006497e-06 8.624391e-08)
     feature  : max:(-2.074497e-05 0.0006725203 -1.258836e-05) avg:(-2.008766e-09 9.162091e-08 -2.517807e-09)
Feature analysis : total master points:4512468 attraction to :
    feature point   : 0
    feature edge    : 1873677
    nearest surface : 0
    rest            : 2638791

--> FOAM Warning : Displacement (1.63064e-16 -4.268701e-08 -6.678685e-17) at mesh point 72522 coord (0.02812652 0.007193704 0.007520359) points through the surrounding patch faces
Smoothing displacement ...
Iteration 0
Iteration 10
Iteration 20
Displacement smoothed in = 45.89 s


Moving mesh ...

Iteration 0
Moving mesh using displacement scaling : min:1  max:1
Checking faces in error :
    faces with face pyramid volume < 0                     : 737032
    faces with face-decomposition tet quality < 0          : 445142
    faces with skewness > 1   (internal) or 1   (boundary) : 1369717
    faces with interpolation weights (0..1)  < 1e-07       : 5
    faces with volume ratio of neighbour cells < 1e-08     : 0
    faces with face twist < 2e-07                          : 57077
    faces on cells with determinant < 1e-07                : 53627
.
.
.
.
.
.
Iteration 5
Displacement scaling for error reduction set to 0.
Moving mesh using displacement scaling : min:0.2373047  max:1
Checking faces in error :
    faces with face pyramid volume < 0                     : 131401
    faces with face-decomposition tet quality < 0          : 176287
    faces with skewness > 1   (internal) or 1   (boundary) : 707431
    faces with interpolation weights (0..1)  < 1e-07       : 0
    faces with volume ratio of neighbour cells < 1e-08     : 0
    faces with face twist < 2e-07                          : 21
    faces on cells with determinant < 1e-07                : 150

Iteration 6
Moving mesh using displacement scaling : min:0  max:1
Checking faces in error :
    faces with face pyramid volume < 0                     : 4492
    faces with face-decomposition tet quality < 0          : 7438
    faces with skewness > 1   (internal) or 1   (boundary) : 46426
    faces with interpolation weights (0..1)  < 1e-07       : 0
    faces with volume ratio of neighbour cells < 1e-08     : 0
    faces with face twist < 2e-07                          : 1
    faces on cells with determinant < 1e-07                : 13

Iteration 7
Moving mesh using displacement scaling : min:0  max:1
Checking faces in error :
    faces with face pyramid volume < 0                     : 38
    faces with face-decomposition tet quality < 0          : 485
    faces with skewness > 1   (internal) or 1   (boundary) : 26611
    faces with interpolation weights (0..1)  < 1e-07       : 0
    faces with volume ratio of neighbour cells < 1e-08     : 0
    faces with face twist < 2e-07                          : 0
    faces on cells with determinant < 1e-07                : 0

Iteration 8
Moving mesh using displacement scaling : min:0  max:1
Checking faces in error :
    faces with face pyramid volume < 0                     : 40
    faces with face-decomposition tet quality < 0          : 235
    faces with skewness > 1   (internal) or 1   (boundary) : 25880
    faces with interpolation weights (0..1)  < 1e-07       : 0
    faces with volume ratio of neighbour cells < 1e-08     : 0
    faces with face twist < 2e-07                          : 0
    faces on cells with determinant < 1e-07                : 0
Successfully moved mesh
Moved mesh in = 418.66 s


Repatching faces according to nearest surface ...
Repatched 0 faces in = 2.56 s


Edge intersection testing:
    Number of edges             : 44322103
    Number of edges to retest   : 14809692
    Number of intersected edges : 4752278
[13] 
[13] 
[13] --> FOAM FATAL ERROR: 
[13] Multiple outside loops:0()
[13] 
[13]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[13]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[13] 
FOAM parallel run aborting
[13] 
[13] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[13] #1  Foam::error::abort()[4] 
[4] 
[4] --> FOAM FATAL ERROR: 
[4] Multiple outside loops:0()
[4] 
[4]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[4]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[4] 
FOAM parallel run aborting
[4] 
[4] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[13] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[4] #1  Foam::error::abort() at ??:?
[13] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[13] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[4] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[13] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[4] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[13] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&)[12] 
[12] 
[12] --> FOAM FATAL ERROR: 
[12] Multiple outside loops:0()
[12] 
[12]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[12]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[12] 
FOAM parallel run aborting
[12] 
[12] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[4] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[13] #7   at ??:?
[12] #1  Foam::error::abort() at ??:?
[4] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&)? at ??:?
[4] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[13] #8  __libc_start_main at ??:?
[12] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[4] #7   in "/lib/x86_64-linux-gnu/libc.so.6"
[13] #9   at ??:?
[12] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&)?? at ??:?
 at ??:?
[4] #8  __libc_start_main[12] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 13 in communicator MPI_COMM_WORLD 
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
 in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #9  ? at ??:?
[12] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&)[6] 
[6] 
[6] --> FOAM FATAL ERROR: 
[6] Multiple outside loops:0()
[6] 
[6]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[6]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[6] 
FOAM parallel run aborting
[6] 
[6] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[6] #1  Foam::error::abort() at ??:?
[6] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[6] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[6] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[6] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[6] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[6] #7  ? at ??:?
[6] #8  __libc_start_main[7] 
[7] 
[7] --> FOAM FATAL ERROR: 
[7] Multiple outside loops:0()
[7] 
[7]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[7]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[7] 
FOAM parallel run aborting
[7] 
[7] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[7] #1  Foam::error::abort() at ??:?
[7] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[7] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[7] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[7] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[7] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[7] #7  ? at ??:?
[7] #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[7] #9  [11] 
[11] 
[11] --> FOAM FATAL ERROR: 
[11] Multiple outside loops:0()
[11] 
[11]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[11]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[11] 
FOAM parallel run aborting
[11] 
[11] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[11] #1  Foam::error::abort() at ??:?
[11] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[11] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[11] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[11] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[11] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[11] #7  ? at ??:?
[11] #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[11] #9  ? at ??:?
 at ??:?
[12] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[12] #7  ? at ??:?
[12] #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[12] #9  ? at ??:?
[14] 
[14] 
[14] --> FOAM FATAL ERROR: 
[14] Multiple outside loops:0()
[14] 
[14]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[14]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[14] 
FOAM parallel run aborting
[14] 
[14] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[14] #1  Foam::error::abort() at ??:?
[14] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[14] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[14] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[14] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[14] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[14] #7  ? at ??:?
[14] #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[14] #9  ? at ??:?
[15] 
[15] 
[15] --> FOAM FATAL ERROR: 
[15] Multiple outside loops:0()
[15] 
[15]     From function combineFaces::getOutsideFace(const indirectPrimitivePatch&)
[15]     in file polyTopoChange/polyTopoChange/combineFaces.C at line 423.
[15] 
FOAM parallel run aborting
[15] 
[15] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[15] #1  Foam::error::abort() at ??:?
[15] #2  Foam::combineFaces::getOutsideFace(Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[15] #3  Foam::combineFaces::validFace(double, Foam::PrimitivePatch<Foam::face, Foam::IndirectList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) at ??:?
[15] #4  Foam::combineFaces::getMergeSets(double, double, Foam::HashSet<int, Foam::Hash<int> > const&) const at ??:?
[15] #5  Foam::meshRefinement::mergePatchFacesUndo(double, double, Foam::List<int> const&, Foam::dictionary const&, Foam::List<int> const&) at ??:?
[15] #6  Foam::autoSnapDriver::doSnap(Foam::dictionary const&, Foam::dictionary const&, double, double, Foam::snapParameters const&) at ??:?
[15] #7  ? at ??:?
[15] #8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[15] #9  ? at ??:?
 at ??:?
--------------------------------------------------------------------------
mpirun has exited due to process rank 13 with PID 3920 on
node ubuntu exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
[ubuntu:03881] 5 more processes have sent help message help-mpi-api.txt / mpi-abort
[ubuntu:03881] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
parallels@ubuntu:~/OpenFOAM-2.4.0/chtMRF$
esujby is offline   Reply With Quote

Old   November 22, 2015, 15:51
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Nasir,

I can try and take a look at your case, although it would help a lot if you have a much smaller test case, i.e. something that doesn't need 5 million cells I say this because by machine at home only has 6 GB of RAM and won't be able to mesh this.

Best regards,
Bruno
esujby likes this.
__________________
wyldckat is offline   Reply With Quote

Old   November 22, 2015, 16:30
Default
  #13
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
I could mesh this if wyldckat can use his superior foam-knowledge to help solve the problem!
me3840 is offline   Reply With Quote

Old   November 23, 2015, 15:17
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi me3840,

Are you willing to help in literally hunt down the bug? We can try doing an assisted debugging session, where:
  1. I prepare the code.
  2. You build the source code, run the test case and then upload the results.
  3. I then look at the results and deduce a bug fix and upload the tentative bug fix for the code.
  4. You build again the updated code then run the test case again and then upload the results for the second run.
  5. and we go over #3 and #4 as many times needed until we fix the issue!
If you're up to doing this, I'm willing to contribute to this!


I say this because this looks like a pretty crazy bug that I would like to hunt down, because the error message claims:
Code:
Multiple outside loops:0()
It should be complaining about there being more than 1 and it should not complain like this about there being none, because 1>0 !!!

The annoying part is that I've got the very vague feeling I've also tripped over this bug sometime in the past, but I can't remember when or why or how I solved it I can only guess that it was in fact the problem that avinashjagdale mentioned in the first post.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 24, 2015, 19:12
Default
  #15
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Wyldckat,

Sounds like fun, let's give it a go. Are all the files in post 8, and are you just using the source from earlier in the thread?
me3840 is offline   Reply With Quote

Old   November 25, 2015, 14:22
Default
  #16
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
Hello Bruno,

Thanks for your prompt reply, i have been away and couldn't reply. i could create a simple case but i reckon, it will be more efficient to use team viewer and you can remotely use my pc and have discussions quite easily. let me know if it is ok with you and i we can arrange anytime thats most convenient for you and i will email you my username and password + (Skype) or something else.

so far i couldn't resolve the issue but i was able to avoid but not revolve it by removing face type boundary from snappyhexmeshdict. i am carefully using the word avoid because, even though my mesh gets to finalise, for some reason the internal mesh has some parts missing. when i set
Code:
allowFreeStandingZoneFaces false;
thin structures with 0.02mm thickness appear to have some or most of the face/cellzone not present in the mesh.and when i set
Code:
allowFreeStandingZoneFaces true;
i get the face zone properly refined but the cell zone has some portion cut off.

i am happy to help in resolving the bug, but i am a newbie and ve no experience writing c++ codes. so i am sorry.

kind regards


nas
esujby is offline   Reply With Quote

Old   November 28, 2015, 10:07
Default
  #17
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

I'll try to answer to your both:

Quote:
Originally Posted by me3840 View Post
Sounds like fun, let's give it a go. Are all the files in post 8, and are you just using the source from earlier in the thread?
Please build OpenFOAM 2.4.x in your machine. You can find instructions here: https://openfoamwiki.net/index.php/I...OpenFOAM-2.4.x - there are dedicated instructions there for Ubuntu and CentOS.
Then ask Nasir via private message for the case. Please let me know when you have everything ready, but in the meantime I'll prepare a branch of OpenFOAM 2.4.x in my repository for debugging the issue.


Quote:
Originally Posted by esujby View Post
i could create a simple case but i reckon, it will be more efficient to use team viewer and you can remotely use my pc and have discussions quite easily. let me know if it is ok with you and i we can arrange anytime thats most convenient for you and i will email you my username and password + (Skype) or something else.
Sadly my experience with remote assistance has been very far from the optimum/efficient. And I would need to poke around in your OpenFOAM installation, which the ZIP file you provided the other day, is on a Mac OS X, which can sometimes be a pain to work with.
Either way, the most efficient way to diagnose the issue is to have a small test case.
In addition, I have several OpenFOAM versions installed in my machine, which easily allows me to test with various versions to assess if the bug didn't exist in older or newer versions or even in variants of OpenFOAM, which is why I also prefer a smaller test case.

Quote:
Originally Posted by esujby View Post
so far i couldn't resolve the issue but i was able to avoid but not revolve it by removing face type boundary from snappyhexmeshdict. i am carefully using the word avoid because, even though my mesh gets to finalise, for some reason the internal mesh has some parts missing. when i set
Code:
allowFreeStandingZoneFaces false;
thin structures with 0.02mm thickness appear to have some or most of the face/cellzone not present in the mesh.and when i set
Code:
allowFreeStandingZoneFaces true;
i get the face zone properly refined but the cell zone has some portion cut off.
"allowFreeStandingZoneFaces" needs to be turned on for allowing certain faceZones to be preserved. Usually these are the ones related to baffles and monitor surfaces.

And Nasir, if you prefer to build and test this yourself in your machine, instead of asking me3840 to assist in debugging the problem, you can try as well by using the instructions I'll provide in a few minutes.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 28, 2015, 12:54
Default
  #18
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,980
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all once again!

It took me a bit longer than I had planned, as I had to take care of a few other things. The instructions for getting the code I uploaded a few minutes ago is as follows and should only be used with OpenFOAM 2.4.x:
Code:
foam
git remote add wyldckat https://github.com/wyldckat/OpenFOAM-2.4.x.git
git fetch wyldckat
git checkout MultiOLoops
wmake libso src/dynamicMesh
Next run Nasir's case, but make sure you send the output of the snappyHexMesh into a log file, for example:
Code:
mpirun -np 8 snappyHexMesh -overwrite -parallel > log.snappyHexMesh 2>&1
Once complete, please run:
Code:
gzip < log.snappyHexMesh > log.snappyHexMesh.gz
and either attach me the file "log.snappyHexMesh.gz" to your next post or please use a file sharing service such as Dropbox or something similar. I prefer to not do this via email, because otherwise I will loose track of this issue

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 28, 2015, 15:22
Default
  #19
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
Hello,

I will try to follow, the procedure by Bruno, however, i reckon, the main problem is that SnappyHexMesh is not capable of handling multi volume mesh for surfaces with thickness bellow 0.025mm. as you can see the thickness of s1...s15 is 0.025, but some part of the internal cell zone seems erased..would appreciate your contributions. for some reason, i can't attach files in private message.

https://www.dropbox.com/s/86zdqugxi6...htMRF.zip?dl=0


kind regards

Nas
esujby is offline   Reply With Quote

Old   November 28, 2015, 17:18
Default installing openfoam 2.4.x
  #20
Senior Member
 
nasir musa yakubu
Join Date: Mar 2014
Location: Birmingham
Posts: 109
Rep Power: 12
esujby is on a distinguished road
Hello Bruno, now trying to install the 2.4.x however i keep getting stuck in

step 6 of the installation, when ever i run the command, i get:

Code:
parallels@ubuntu:~/OpenFOAM$ source $HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc WM_NCOMPPROCS=16
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/etc/config/settings.sh: No such file or directory
bash: /opt/OpenFOAM-2.4.x/etc/config/aliases.sh: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
parallels@ubuntu:~/OpenFOAM$ echo "alias of24x='source \$HOME/OpenFOAM/OpenFOAM-2.4.x/etc/bashrc $FOAM_SETTINGS'" >> $HOME/.bashrc
parallels@ubuntu:~/OpenFOAM$

and afterwards, i get the following

Code:
parallels@ubuntu:~$ of24x
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/etc/config/settings.sh: No such file or directory
bash: /opt/OpenFOAM-2.4.x/etc/config/aliases.sh: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamEtcFile: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
bash: /opt/OpenFOAM-2.4.x/bin/foamCleanPath: No such file or directory
parallels@ubuntu:~$
help please.

Also wondering if i should try the version 3, which i just realised, has been released.

thanks
esujby is offline   Reply With Quote

Reply

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
solidDisplacementFoam vs. solidEquilibriumDisplacementFoam Tobi OpenFOAM Running, Solving & CFD 6 September 23, 2021 03:26
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] Multiple outside loops error badoumba OpenFOAM Meshing & Mesh Conversion 2 July 15, 2019 07:52
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs Pier84 OpenFOAM Installation 4 June 18, 2016 16:22
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21


All times are GMT -4. The time now is 08:38.