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

Loading d3plot with non-default content #60

Open
MiroslawSosnowski opened this issue May 25, 2024 · 7 comments
Open

Loading d3plot with non-default content #60

MiroslawSosnowski opened this issue May 25, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@MiroslawSosnowski
Copy link

MiroslawSosnowski commented May 25, 2024

Currently, the user is not able to load d3plots if they don't contain the default data (in other words some data is excluded from saving to file (stress, strain, accel, etc.))

The solution is the user can pick from the list what content to be loaded from d3plot.

The alternative would be that during reading d3plot, if some data is missing (user excluded nodal accelerations), then matrix will be filled by zeroes.

@MiroslawSosnowski MiroslawSosnowski added the enhancement New feature or request label May 25, 2024
@MiroslawSosnowski MiroslawSosnowski changed the title Loading d3plot with non-default Loading d3plot with non-default content May 25, 2024
@codie3611
Copy link
Contributor

Can you be more specific please? What is default data? Generally the reader is already skipping missing data thus this should already work. The user can also already select which arrays to load from the states and skip the rest. Fyi arrays will just not be present which is a better representation of nothing is there. Are you sure we talk about the same software here?

@MiroslawSosnowski
Copy link
Author

By default d3plot data I meant the d3plot that has no modifications defined in the *database_extent_binary_comp. For instance, if the user turns off the flag(s) for nodal velocities/accelerations or stress/strain tensor then the reading “truncated” d3plots returns “RuntimeError: Unknown file type ‘-1’.”

@MiroslawSosnowski
Copy link
Author

We want to exclude some data from storing it in d3plot because often are not usable moreover it unnecessarily increases file size.

@codie3611
Copy link
Contributor

Hmm that error does not make sense. The file type is the first byte checked of the file. If that is wrong then the issue is that the file being read is not a d3plot. Does *database_extent_binary_comp address binout? Btw many users of lasso use plotcompress which kicks out everything you don't need including velocities etc and it works well.

@MiroslawSosnowski
Copy link
Author

Ansys ls-dyna support team claims that the keyword *database_extent_comp when used compresses data in d3plot by removing some blocks of data (the user can specify which data will be included in d3plot). It looks like this keyword modifies the d3plot structure (just only by its presence in the input file -at default settings: all data included). With the “_comp” option we can save a lot of hard drive space, and some computational time. For instance, if someone using transient simulation to analyze nodal accelerations he doesn't need other vectors, or tensors to be included.

@MiroslawSosnowski
Copy link
Author

Every time I use the “_comp” option and then try to load d3plot with lasso it returns the error. I was using lsdyna R13.1

@codie3611
Copy link
Contributor

Hard to tell what they do to the file but they are definitely not just dumping arrays when the literally the first bytes are already different. I don't see tbh anyone having the time to pick this up soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants