lanl/LaGriT

Pylagrit: Error when running example "ideas_mesh"

Cocytus-kyon opened this issue · 3 comments

Deer all,
When I try to execute the example(/Lagrit/PyLaGriT/examples/ideas_mesh) with the following command

python ideas_mesh.py --dem dem0.5m.dat --exo ./

the error message is below:

...
       1828         0   0.3350000E+02  0.5500000E+01  0.0000000E+00             
        975         0   0.7000000E+01  0.3000000E+01  0.0000000E+00             
        122         0   0.6050000E+02  0.0000000E+00  0.0000000E+00             
ERROR: delaunay                                                                 
     > invalid number for element estimate:          0                          
     > exiting with error num:     1                                            
 
ERROR END: delaunay                                                             
 
             Warning from: connect                           set info 0 elements
 
 Dudding      5120 points that have no associated tetrahedra.                   
  0.0000000E+00  0.0000000E+00  0.0000000E+00          1         0              
  0.5000000E+00  0.0000000E+00  0.0000000E+00          2         0 
...
The mesh is complete but could not include all points.                         
 Number of points that could not be connected:       5120                       
 
LaGriT FINISH: connect                                                          
 
 
Traceback (most recent call last):
  File "ideas_mesh.py", line 106, in <module>
    m2.createpts_xyz((nx,ny,1),[xx.min(),yy.min(),0.],[xx.max(),yy.max(),0],rz_switch=[1,1,1])
  File "/usr/local/lib/python3.8/dist-packages/pylagrit-1.0.1-py3.8.egg/pylagrit/pylagrit.py", line 3597, in createpts_xyz
  File "/usr/local/lib/python3.8/dist-packages/pylagrit-1.0.1-py3.8.egg/pylagrit/pylagrit.py", line 3585, in createpts
  File "/usr/local/lib/python3.8/dist-packages/pylagrit-1.0.1-py3.8.egg/pylagrit/pylagrit.py", line 1540, in sendline
  File "/usr/local/lib/python3.8/dist-packages/pylagrit-1.0.1-py3.8.egg/pylagrit/pylagrit.py", line 128, in sendline
Exception: ERROR: delaunay

It seems to be related to problem #75,What should I do with PyLagrit?
Could anyone help me to take a look at it?
thank you so much

Thank you very much for your reply!

My 'lagrit.log' is empty and I don't know why. Input data is here.
I will try to solve the problem according to your comments.
If there is any progress, I will reply here.

Thank you again.