[Gmsh] mesh refinement error
luos at msu.edu
luos at msu.edu
Thu Jun 23 07:33:39 CEST 2011
Dear All,
I tried to run a simple mesh refinement from command line, it diddn't work.
I first run
gmsh cubic.geo -3 -optimize -saveall
then
gmsh -refine cubic.msh
I got error messages like
......
Warning : We don't have a valid parameter on curve 693-694
Warning : We don't have a valid parameter on curve 694-695
Warning : We don't have a valid parameter on curve 695-696
Warning : We don't have a valid parameter on curve 696-697
Warning : We don't have a valid parameter on curve 697-698
Warning : We don't have a valid parameter on curve 698-699
Warning : We don't have a valid parameter on curve 699-700
Warning : We don't have a valid parameter on curve 700-701
Warning : We don't have a valid parameter on curve 701-702
Warning : We don't have a valid parameter on curve 702-703
Warning : We don't have a valid parameter on curve 703-704
Warning : We don't have a valid parameter on curve 704-5
......
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot compute parametric coordinates on discrete face
Error : Cannot evaluate point on discrete face
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash.
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: Signal received!
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.0.0, Patch 7, Mon Jul 6 11:33:34 CDT 2009
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: ./gmsh on a umfpack-c named math by luos Thu Jun 23 01:27:04 2011
[0]PETSC ERROR: Libraries linked from /home/geuzaine/src/petsc-3.0.0-p7/umfpack-cxx-opt/lib
[0]PETSC ERROR: Configure run at Mon Jul 27 22:43:37 2009
[0]PETSC ERROR: Configure options --with-debugging=0 --with-scalar-type=complex --with-clanguage=cxx --with-shared=0 --with-mpi=0 --with-x=0 --with-fortran=1 --with-umfpack=1 --download-umfpack=ifneeded
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: User provided function() line 0 in unknown directory unknown file
Aborted (core dumped)
The following is my cubic.geo
xmin=-300; xmax=-xmin;
ymin=-300; ymax=-ymin;
zmin=-300; zmax=-zmin;
cl=10;
Point(1)={xmin,ymin,zmin,cl};
Point(2)={xmax,ymin,zmin,cl};
Point(3)={xmax,ymax,zmin,cl};
Point(4)={xmin,ymax,zmin,cl};
Point(5)={xmin,ymin,zmax,cl};
Point(6)={xmax,ymin,zmax,cl};
Point(7)={xmax,ymax,zmax,cl};
Point(8)={xmin,ymax,zmax,cl};
Line(1)={1,2};
Line(2)={2,3};
Line(3)={3,4};
Line(4)={4,1};
Line(5)={1,5};
Line(6)={2,6};
Line(7)={3,7};
Line(8)={4,8};
Line(9)={5,6};
Line(10)={6,7};
Line(11)={7,8};
Line(12)={8,5};
Line Loop(1)={1,2,3,4};
Line Loop(2)={9,10,11,12};
Line Loop(3)={4,5,-12,-8};
Line Loop(4)={2,7,-10,-6};
Line Loop(5)={1,6,-9,-5};
Line Loop(6)={-3,7,11,-8};
Plane Surface(1)={1};
Plane Surface(2)={2};
Plane Surface(3)={3};
Plane Surface(4)={4};
Plane Surface(5)={5};
Plane Surface(6)={6};
Surface Loop(1)={1,4,2,3,5,6};
Volume(1)={1};
Please let me know what went wrong.
Thanks.
ST
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20110623/b0a91253/attachment.html>