SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured & unstructured).
https://specfem.org
GNU General Public License v3.0
416 stars 231 forks source link

trelis ./tomoblock_mesh.py error No entity with ID 4 was found like issue#1098 #1336

Open brioglade opened 5 years ago

brioglade commented 5 years ago

Error in Trelis(also in terminal),other examples has no this error: ./tomoblock_mesh.py (55) Command: block '+str(id_block)+' name "elastic tomography_model.xyz 1" ERROR: ./tomoblock_mesh.py (55) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (55) No entities specified.

./tomoblock_mesh.py (56) Command: block '+str(id_block)+' attribute count 2 ERROR: ./tomoblock_mesh.py (56) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (56) No entities specified.

./tomoblock_mesh.py (57) Command: block '+str(id_block)+' attribute index 1 -1 ERROR: ./tomoblock_mesh.py (57) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (57) No entities specified.

./tomoblock_mesh.py (58) Command: block '+str(id_block)+' attribute index 2 2 ERROR: ./tomoblock_mesh.py (58) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (58) No entities specified.

In addition,how to set the model boundary condition and material attribution in Trelis is not specific in the manul. I will be grateful if somebody can respond to this problem.

casarotti commented 5 years ago

I was not able to reproduce your error but it could be a different version of cubit/trelis,

could you change this line in tomoblock_mesh.py

id_block = 4

in

id_block = 1

?

On Sat, May 4, 2019 at 11:24 AM brioglade notifications@github.com wrote:

Eerror in Trelis(also in terminal): ./tomoblock_mesh.py (55) Command: block '+str(id_block)+' name "elastic tomography_model.xyz 1" ERROR: ./tomoblock_mesh.py (55) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (55) No entities specified.

./tomoblock_mesh.py (56) Command: block '+str(id_block)+' attribute count 2 ERROR: ./tomoblock_mesh.py (56) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (56) No entities specified.

./tomoblock_mesh.py (57) Command: block '+str(id_block)+' attribute index 1 -1 ERROR: ./tomoblock_mesh.py (57) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (57) No entities specified.

./tomoblock_mesh.py (58) Command: block '+str(id_block)+' attribute index 2 2 ERROR: ./tomoblock_mesh.py (58) No entity with ID 4 was found ERROR: ./tomoblock_mesh.py (58) No entities specified.

In addition,how to set the model boundary condition and material attribution in Trelis is not specific in the manul. I will be grateful if somebody can respond to this problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/geodynamics/specfem3d/issues/1336, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAQG2FXYXJU74KSR6GWTLLPTVI4LANCNFSM4HKYPYJA .

brioglade commented 5 years ago

It does't work.I had done that with id_block = 1. What's the version you use in this example?

casarotti commented 5 years ago

could you share the output of the script? it looks like the error is before, during the creation of the volume/mesh...

On Fri, May 10, 2019 at 4:20 AM brioglade notifications@github.com wrote:

It does't work.I had done that with id_block = 1. What's the version you use in this example?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/geodynamics/specfem3d/issues/1336#issuecomment-491130266, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAQG2CA7FFIDQH6WP3EBY3PUTLUZANCNFSM4HKYPYJA .