opencmp icon indicating copy to clipboard operation
opencmp copied to clipboard

`sol_to_vtu_direct` fails to create VTUs if the output directory does not exist

Open Alex-Vasile opened this issue 2 years ago • 2 comments

sol_to_vtu_direct is meant to take a .sol folder (e.g. "X_sol/") and convert it to VTUs producing a X_transient.pvd and a X_vtu/ folder. It will currently fail to create any VTUs if the x_vtu/ folder does not exist before hand.

It should instead create that folder itself on run if it doesn't exist.

Alex-Vasile avatar Jun 16 '23 15:06 Alex-Vasile

This seems like a bigger issue, there are utility functions that not documented and easily accessible for users, including this conversion utility function.

Suggestions for how to fix this issue?

nasserma avatar Jun 16 '23 19:06 nasserma

This seems like a bigger issue, there are utility functions that not documented and easily accessible for users, including this conversion utility function.

Suggestions for how to fix this issue?

I will handle the documentation, accessibility, and folder issue for this conversion function in a PR to close this issue.

Any of the other conversion/utility functions should get individual separate issues to make them easier to track and split the work.

Alex-Vasile avatar Jun 23 '23 12:06 Alex-Vasile