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 232 forks source link

cubit2specfem now supports HEX27 and is fully OK, but exporting the mesh has become slower #915

Open komatits opened 7 years ago

komatits commented 7 years ago

From Bence @bencesolymosi :

Sorry to bother you again, but I have compared the new version of cubit2specfem3d.py with an older version from December: the new version is significantly slower. Exporting mesh_file is still very fast, but the new version is by orders of magnitude slower in exporting the boundaries (e.g.absorbing_surface_file_xmax).

To give you an idea I show here the time difference between the first (mesh_file) and last (nummaterial_velocity_file) files exported using the December and the recent versions: December: 47 seconds Recent version: 1080 seconds (!) (~ factor of 23)

Otherwise the recent version works perfectly, it's just the exporting time that has become huge.

komatits commented 7 years ago

From Emanuele @casarotti :

probably because the new version will set also the block with all the hex, not only the sides.......

komatits commented 7 years ago

Do you think this can be fixed or improved (without taking too much time for you to make the change)?

komatits commented 7 years ago

Ccing @jpampuero and @kbai , since they use that script all the time and thus they might be surprised to see that it has become significantly slower.

casarotti commented 7 years ago

yes I think that I can improve it

On Wed, Jan 11, 2017 at 5:48 PM, Dimitri Komatitsch < notifications@github.com> wrote:

Do you think this can be fixed or improved (without taking too much time for you to make the change)?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/geodynamics/specfem3d/issues/915#issuecomment-271922728, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEDaJHujLC4PD9bKmAWoUQYMkOTHqJYks5rRQfOgaJpZM4Lgzhz .