|
[Sponsors] |
February 17, 2011, 11:14 |
makeAxialMesh > collapseEdges!!
|
#1 | ||
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
Hi I am running makeAxialMesh utility on open Foam 1.7.
my mesh was converted from gmshToFoam and passes checkMesh. I run "makeAxialMesh -axis patch1 -wedge patch0 -wedgeAngle 5" this passes... then "checkMesh" ... fails 6 mesh checks... then "collapseEdges .0001 175 >log" Quote:
Quote:
|
|||
February 17, 2011, 11:35 |
|
#2 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
reduce the length .. so less edges will be taken into account.
Try 1e-8 ... if zero edges are collapsed... increase the value. hm... it seems to me like the resolution of the mesh comes close to the collapsed edges length,or? |
|
February 17, 2011, 11:44 |
|
#3 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
yes the slab is 50 units thick and the min setchar length is 50
|
|
February 17, 2011, 11:47 |
|
#4 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
I will try to reduce slab thickness inorder to maintain mesh resolution
|
|
February 17, 2011, 16:15 |
|
#5 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
I reduced the slab thickness to 10 units increased the mesh size to 100 units
HTML Code:
noebill@ubuntu:~/OpenFOAM/noebill-1.7.1/run/projects/ico$ collapseEdges 1e-9 175 >log #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" #4 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" #5 __libc_start_main in "/lib/libc.so.6" #6 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" Segmentation fault noebill@ubuntu:~/OpenFOAM/noebill-1.7.1/run/projects/ico$ collapseEdges 1e-5 175 >log #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" #4 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" #5 __libc_start_main in "/lib/libc.so.6" #6 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/collapseEdges" Segmentation fault HTML Code:
Create time Create polyMesh for time = 1e-05 Merging: edges with length less than 1e-05 meters edges split by a point with edges in line to within 175 degrees Collapsing 9 small edges Cell:28 uses faces:4(76 924 950 1272) of which too many are marked for removal: 924 950 HTML Code:
Cell:328 uses faces:4(1005 1006 1186 268) of which too many are marked for removal: 1186 268 Morphing ... Collapsing 0 small edges Collapsing 0 in line edges |
|
February 17, 2011, 16:48 |
|
#6 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
is the mesh distorted somehow?
the error isn´t very clear. Did you try to change the angle (e.g. 180)? |
|
February 17, 2011, 17:04 |
|
#7 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
I ran checkMesh on the slab and it passed with no errors.
makeAxialMesh runs fine and it looks correct in paraFoam. after makeAxialMesh it fails checkMesh and icoFoam crashes on time step 0. |
|
February 17, 2011, 17:09 |
|
#8 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
I tried 180 and got the same result
checkMesh results Code:
Create time Create polyMesh for time = 0 Time = 0 Mesh stats points: 267 faces: 1456 internal faces: 924 cells: 595 boundary patches: 7 point zones: 0 face zones: 0 cell zones: 1 Overall number of cells of each type: hexahedra: 0 prisms: 0 wedges: 0 pyramids: 0 tet wedges: 0 tetrahedra: 595 polyhedra: 0 Checking topology... Boundary definition OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking patch topology for multiply connected surfaces ... Patch Faces Points Surface topology patch0 0 0 ok (empty) patch1 14 18 ok (non-closed singly connected) patch2 2 4 ok (non-closed singly connected) patch3 2 4 ok (non-closed singly connected) defaultFaces 122 126 ok (non-closed singly connected) patch0_pos 196 133 ok (non-closed singly connected) patch0_neg 196 133 ok (non-closed singly connected) Checking geometry... Overall domain bounding box (0 -1524 -332.38) (7620 192.38 332.38) #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::polyMesh::calcDirections() const in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #4 Foam::polyMesh::geometricD() const in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so" #5 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/checkMesh" #6 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/checkMesh" #7 __libc_start_main in "/lib/libc.so.6" #8 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/checkMesh" Floating point exception |
|
February 18, 2011, 04:27 |
|
#9 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
did you start with a real 3D mesh?
can you show a pic of the initial geom. and mesh? |
|
February 18, 2011, 08:45 |
|
#10 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
yes it started out 3D I believe that gmshToFoam will only work on 3D meshes.
I will try to post pictures later today. |
|
February 18, 2011, 10:30 |
|
#11 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
mesh before makeAxialMesh it is 3D just very thin 10 unit x 1500 units x 7500 units This is after makeAxialMesh but collapseEdges didn't work and I get the checkMesh message above. |
|
February 18, 2011, 10:34 |
|
#12 | |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
Quote:
|
||
February 18, 2011, 10:43 |
|
#13 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
I believe those are mm I haven't done transformPoints yet to get into meters.
the radius of the "cylinder" is 30 ft. and the depth is about 5 ft. |
|
February 18, 2011, 10:50 |
|
#14 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
move the mesh to positive y-coord. don´t cross y=0.
|
|
February 18, 2011, 11:21 |
|
#15 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
got the same results.
|
|
February 18, 2011, 11:50 |
|
#16 | ||
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
from source code for collapseEdges
Quote:
Quote:
|
|||
February 18, 2011, 16:55 |
|
#17 |
Member
William
Join Date: Feb 2011
Location: Minnesota USA
Posts: 33
Rep Power: 15 |
figured out the collapseEdges thing. makeAxialMesh does not like tets so I changed to a structured mesh and it passed collapseEdges still failing one checkMesh though.
|
|
February 21, 2011, 05:29 |
|
#18 |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
hi,
yes a fully tet-mesh isn´t working afaik. But you can use auto-meshers to produce a 2D triag.mesh extrude/revolve it and apply makeAxialMesh. Last edited by mvoss; February 21, 2011 at 09:27. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] makeAxialMesh issue | feijooos | OpenFOAM Meshing & Mesh Conversion | 8 | October 23, 2014 06:21 |
1.7.x -> buoyantPimpleFoam -> hRhoThermo -> incompressible and icoPoly3ThermoPhysics? | will.logie | OpenFOAM Programming & Development | 1 | February 16, 2011 21:52 |
1.7.x -> buoyantPimpleFoam -> hRhoThermo -> incompressible and icoPoly3ThermoPhysics? | will.logie | OpenFOAM | 0 | December 16, 2010 08:08 |
CAD -> gMsh -> enGrid -> OpenFOAM Problem | AlGates | OpenFOAM | 7 | August 6, 2010 13:46 |
[mesh manipulation] CollapseEdges after makeAxialMesh utility in subversion testcase | bonzodeb | OpenFOAM Meshing & Mesh Conversion | 1 | June 5, 2009 04:24 |