[Gmsh] Runtime error

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Jan 18 13:48:39 CET 2009


Bracco Gianangelo wrote:
> Dear all
> I downloaded a gmsh binary from your site and  I was testing your 
> program with a simple geometry (copy of the geo file included).
> To test the accuracy of the solution obtained by getDP for an 
> electrostatic problem, I was decreasing the parameter lc to increase the 
> density of nodes and I got the following message in a separate window 
> ("Microsoft Visual C++ Runtime Library").
> Message:
> "Runtime error!
> Program: C:\gmsh-2.2.6-Windows\gmsh.exe
> This application has requested the Runtime to terminate it in an unusual 
> way. Please contact the application's support team for more information"
> 
> With lc=0.03 or greater no problem, instead with smaller lc values I got 
> this error.

I tried your example and it works fine over here. You might just run out 
of memory faster than you think (remember that in 3D the number of 
elements grows as (1/lc)^3)



> I checked the physical memory during the error and the program required 
> slightly more than 1 GB while about 2GB were still available.
> Many thanks for your effort in this project
> Happy new year and
> best regards
> Nino
> 
> 
>  
> geometry file:
> 
> // Gmsh project created on Fri Jan 02 15:49:47 2009
> lc = 0.025; //0.03
> r0=1.0;
> Rext=3.54*r0;
> Lin=1.5;
> L=3;
> r=1.14*r0;
>        GAMMA_D0_1 =  990 ;
>        GAMMA_D0_2 = 1000 ;
>        GAMMA_D1  =  1010 ;
>        GAMMA_N1 =  1020 ;
>        GAMMA_N2 = 1030 ;
>        OMEGA =  1040 ;
> 
> R2=Sqrt(2.0)*Rext/2;
> Point(1) = {0, 0, Lin, lc};
> Point(2) = {Rext, 0, Lin, lc};
> Point(3) = {R2, R2, Lin, lc};
> Point(4) = {r0, 0 ,Lin, lc};
> Point(5) = {r0+r, 0, Lin, lc};
> Point(6) = {r0+r, r, Lin, lc};
> Point(7) = {r0+2*r, 0, Lin, lc};
> Line(1) = {1, 4};
> Circle(2) = {4, 5, 6};
> Circle(3) = {6, 5, 7};
> Line(4) = {7, 2};
> Circle(5) = {2, 1, 3};
> Line(6) = {3, 1};
> Line Loop(7) = {2, 3, 4, 5, 6, 1};
> Line(8) = {4, 7};
> Plane Surface(9) = {7};
> Line Loop(10) = {8, -3, -2};
> Plane Surface(11) = {10};
> Extrude {0, 0, L} {
>   Surface{9};
> }
> Extrude {0, 0, -Lin} {
>   Surface{9, 11};
> }
> 
> Physical Surface(GAMMA_D0_1) = {34, 66};
> Physical Surface(GAMMA_D1) = {11, 22, 26};
> Physical Surface(GAMMA_N1) = {42, 30, 62, 74, 83};
> Physical Surface(GAMMA_N2) = {43};
> Physical Surface(GAMMA_D0_2) = {38, 70};
> Physical Volume(OMEGA) = {1, 2, 3};
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine