-
Notifications
You must be signed in to change notification settings - Fork 12
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
H5 file for HydroChrono input #60
Comments
Hi @AgreeU, This is a bit of an issue with HydroChrono at the moment - we still use WEC-Sim's BEMIO utility to generate the .h5 files (for now, at least). However, recently BEM Rosetta included the capability to export hydrodynamic coefficients to .h5 file format. You should be able to import Nemoh data and export it to .h5 with BEMRosetta. Its available in GUI form, CLI and Python package. However, I haven't yet tested its .h5 export feature with HydroChrono. In the future we want to make HydroChrono more user friendly (e.g. PR #56 is developing a Python wrapper for HydroChrono), but at the moment the best approach is to just modify some of the existing demo/example cases and compile them. |
Hi @dav-og , |
Hi, @dav-og void H5FileInfo::Init1D(H5::H5File& file, std::string data_name, Eigen::VectorXd& var) {
} |
I have successfully compiled HydroChrono. However, I am a bit confused about the input format of its H5 file. I am not sure how to structure this file in the right format, which is preventing me from running some other test cases. Could you provide some references or guidelines? I am not familiar with this, as I have previously used NEMOH.
Also, as I understand it, I just need to copy the compiled DLL and LIB files, and link them with my own cases to use HydroChrono for calculations, right?
Uploading rm3.h5…
The text was updated successfully, but these errors were encountered: