Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylagrit: Error when running example "ideas_mesh" #245

Open
Cocytus-kyon opened this issue Jun 14, 2022 · 3 comments
Open

Pylagrit: Error when running example "ideas_mesh" #245

Cocytus-kyon opened this issue Jun 14, 2022 · 3 comments

Comments

@Cocytus-kyon
Copy link

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

@millerta
Copy link
Collaborator

millerta commented Jun 14, 2022 via email

@Cocytus-kyon
Copy link
Author

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.

@millerta
Copy link
Collaborator

millerta commented Jun 14, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants