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

Create multiple fractures at a same time using generate_fractures #45

Closed
alexbenedicto opened this issue Nov 4, 2024 · 0 comments · Fixed by #46
Closed

Create multiple fractures at a same time using generate_fractures #45

alexbenedicto opened this issue Nov 4, 2024 · 0 comments · Fixed by #46
Assignees

Comments

@alexbenedicto
Copy link
Contributor

alexbenedicto commented Nov 4, 2024

Currently, generate_fractures cannot separate the fractures into multiple fracture meshes.
The goal here is to generate a .vtu file for every fracture.

Before
If you had a mesh with 3 fractures identified by the values:

  • (1,2,3) for fracture1
  • (4,5) for fracture2
  • (6,7,8,9) for fracture3

You would use this command:

-i /path/to/input_mesh_3_fractures.vtu generate_fractures --policy internal_surfaces --name IsFault --values 1,2,3,4,5,6,7,8,9
--output /path/to/splitted_mesh_3_fractures.vtu --data-mode binary
--fracture-output /path/to/3_fractures.vtu --fracture-data-mode ascii

The only output you could obtain was a single 3_fractures.vtu that would combine all of them.
The duplicated points are already correct and no modification of the way they are calculated is needed.

After
3 mesh files to be generated for fracture1, fracture2 and fracture3.
What the new implementation would look like with just specifying the output directory where to write them.

-i /path/to/input_mesh_3_fractures.vtu generate_fractures --policy internal_surfaces --name IsFault --values 1,2,3:4,5:6,7,8,9
--output /path/to/splitted_mesh_3_fractures.vtu --data-mode binary
--fractures_output_dir /path/to/fractures/output/directory/ --fractures_data_mode ascii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant