-
Notifications
You must be signed in to change notification settings - Fork 21
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
Convert rotating disk and Wigley hull to cas.h5 format #214
Conversation
…ghtweight case load
… up after dependencies removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be a good idea to not remove any files in this PR (even if you are fairly sure they aren't being used).
In a subsequent PR, when we do come back to remove the deprecated files, we should request review from the people who added these files, in case they are being used in ways that we did not anticipate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we adding .cas.h5
files with wigley_hull/wigley.cas.h5
and rotating_disk/disk.cas.h5
? Can't we work with just the .msh.h5
files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least some of the tests that reference these meshes are only concerned with case settings, not with the actual mesh, so adding a cas.h5
version allows us to use lightweight case read on them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, I just confirmed that this also works in PyFluent. This would be relevant for the test relying on wigley_hull.msh.h5
. This doesn't work for the 2D meshes I compressed using GZIP (e.g. disk.msh.gz
) as they aren't in HDF5 format.
@raph-luc Good point, I've restored all of the original |
Added
cas.h5
versions of the rotating disk and Wigley hull mesh files to support using lightweight case loading in solver mode unit tests.EDIT: Also converted all
.msh
files to.msh.h5
(for 3D meshes) or to.msh.gz
(for 2D meshes). After merging this PR, the following PRs must also be merged to avoid breaking tests and examples: