[CIG-SEISMO] cubit2specfem3d.py problem

s.khan-1 at utwente.nl s.khan-1 at utwente.nl
Fri Nov 8 07:54:33 PST 2013


Dear All,

I have created a geometrical model in cubit named 3rd_mesh.cub. I am unable to figure out how to specify this file to 'cubit2specfem3d.py'. I am trying to use 'cubit2specfem3d.py' and 'run_cubit2specfem3d.py' but i receive the following messages.

-------------------------------------------------------------------------------------------------------------------------------------
khan31332 at itclx03:~/SPECFEM3D/examples/Basin$ python run_cubit2specfem3d.py
Traceback (most recent call last):
  File "run_cubit2specfem3d.py", line 4, in <module>
    import cubit
ImportError: No module named cubit
-------------------------------------------------------------------------------------------------------------------------------------
khan31332 at itclx03:~/SPECFEM3D/examples/Basin$ python cubit2specfem3d.py
Traceback (most recent call last):
  File "cubit2specfem3d.py", line 772, in <module>
    export2SESAME(path)
  File "cubit2specfem3d.py", line 764, in export2SESAME
    cubit.cmd('set info on')
NameError: global name 'cubit' is not defined
-------------------------------------------------------------------------------------------------------------------------------------

Thanks in advance.

Best regards,
Saad Khan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geodynamics.org/pipermail/cig-seismo/attachments/20131108/19e65400/attachment.html>


More information about the CIG-SEISMO mailing list