Comments (12)
I am having the same issue, were you ever able to resolve this @abhisheks865 ?
from nemoh.
from nemoh.
Hello,
In the current versions of NEMOH, the hydrostatics output is produced only after the build-in mesh generator (Mesh) in NEMOH is executed.
If you are using Linux, attached codes (a Fortran source code and a compiled file) can be run for calculating the hydrostatics of an user-specified mesh.
hydroNEMOH_linux.zip
Regards,
Ruddy
from nemoh.
Previous comment solve the issue then.
from nemoh.
Hello, I'm having the same issue and I'm using Windows 10. How can I proceed?
from nemoh.
I ended up using Capytaine instead, but had to be very careful about the 3D file creation, specifically where the waterline and center of gravity was located. If you end up using meshmagick to make your files, the viewer in meshmagick is very helpful to verify that your files are coming out correct. I ran Capytaine using python (Spyder), it did take 2 hours to run using fairly simple 2 body WEC. Best of luck!
from nemoh.
@ccz359 did you get the "hydrostatics.dat" and "kh.dat" files with Capytaine? I used Capytaine and got the files, but I kept getting an error message when using WEC-Sim, which I could not debug.
from nemoh.
@hfpim Quick disclaimer: I last worked on this a year ago, so my memories are not super fresh on this stuff. I did get the hydrostatics and kh files using Capytaine. What were your error messages in WEC-Sim? Also, how long did it take your Capytaine to run? Because sometimes (if I remember correctly) it would produce empty files in a short run-time, which obviously weren't very helpful and produced errors in WEC-Sim.
from nemoh.
@ccz359 I actually got an error on Capytaine itself. I'm running into issues with complex numbers. netcdf format doesn't handle complex numbers and even though there is some information in the Capytaine tutorials page, I still can't figure the problem out. How did you handle that?
from nemoh.
@hfpim I'm not sure I ever did encounter those errors in Capytaine. I wrote a quick summary of the process I used last year and documented it in this pdf. Hopefully you find it useful (especially steps 5 thru 10). Good luck! And let me know if you have any questions.
WECSim_Process_Manual_UNOFFICIAL.pdf
from nemoh.
For your information, a new Release of NEMOH will be provided by the end of the week here: https://gitlab.com/lheea/Nemoh
Hopefully, it will solve your issue but if it is not, you could open a new issue in this new repository (GitHub will not be maintained anymore).
from nemoh.
@ccz359 Thank you very much! It seems like I was going through a different path using Capytaine (at least according to your summary). I'll go over the whole summary and hopefully it will work fine. Thankfully I'm working with a simple sphere, so no overcomplicated geometries to deal with
from nemoh.
Related Issues (14)
- troubles running Nemoh on linux HOT 4
- Error using fscanf Invalid file identifier. Use fopen to generate a valid file identifier. HOT 7
- Error using patch Value must be of numeric type and greater than 1. Error in trimesh (line 118) h = patch('faces',trids,'vertices',[x(:) y(:) z(:)],'facevertexcdata',c(:),... Error in my_mesh_1 (line 144) trimesh(tri,x,y,z); HOT 1
- Invalid file identifier. Use fopen to generate a valid file identifier. Separate Mesh File HOT 7
- Diffraction and excitation IRFs, Diffraction and excitation forces in time domain HOT 4
- Issue about two 2 bodies hydrodynamic coeffcient!
- Free surface elevation HOT 1
- hydroelasticity example HOT 2
- plotting added mass HOT 1
- plotting the wave eleavtion HOT 1
- Triangular mesh HOT 2
- Fortran runtime error HOT 1
- Problem in pitch results HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nemoh.