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_res_sim: directly create HDF5/MAT/PVD from nodout #88

Open
mlp6 opened this issue Oct 1, 2020 · 1 comment
Open

create_res_sim: directly create HDF5/MAT/PVD from nodout #88

mlp6 opened this issue Oct 1, 2020 · 1 comment

Comments

@mlp6
Copy link
Owner

mlp6 commented Oct 1, 2020

Right now the disp.dat binary file that is created is a bit of a legacy since most data is now being access via HDF5 or ParaView (PVD). The create_res_sim.extract3Darfidata method currently relies on a disp.dat input, but disp.dat is almost always being created from nodout, so really no need to have that intermediate step. Probably steps to consider:

  1. Replace read and formatted disp.dat input with doing so with nodout.
  2. Make sure that HDF5 file can be used as input to generate PVD files for ParaView (or make sure that ParaView can directly read the HDF5 file).
  3. Write a Matlab function to extract the equivalent of res_sim.mat from the HDF5 file.

Once these things are done, then disp.dat should no longer be needed for any future sims and all existing functionality would remain for existing datasets and backward compatibility.

@mlp6
Copy link
Owner Author

mlp6 commented Oct 1, 2020

For ParaView, might need to use XDMF (http://xdmf.org/index.php/XDMF_Model_and_Format), which would hopefully leverage the HDF5 file with an XML metadata file to describe the structure of the data to be read in. This is now Issue #89 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant