Comments (7)
Hi,
Perhaps, you could start with the attached files, places the files into your NEMOH source code folder, and try to execute a test case in get_started0.m. Please let me know if you still have the same problem.
get_started_NEMOH_MATLAB.zip
Regards,
Ruddy
from nemoh.
Hi, thanks for your reply. I am getting a new error now:
The system cannot find the path specified.
Error using fscanf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in axiMesh (line 101)
ligne=fscanf(fid,'%s',2);
Error in get_started0 (line 67)
[Mass,Inertia,KHyd,XB,YB,ZB]=axiMesh(r,z,n);% Call the function axiMesh.
It may be because I have put it in a wrong folder, but I am unsure.
from nemoh.
Hello there, so I am trying to use Nemoh to find my coefficients for a sphere for use in WEC-sim. I used BEMROSETTA to convert my STL files into NEMOH.dat file for input into NEMOH and then planned to use the coefficients obtained from NEMOH in WEC-Sim for analysis of my device.
However, when I run Nemoh through MATLAB, I get the same error. full error below
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fgetl (line 32)
[tline,lt] = fgets(fid);
Error in Nemoh (line 104)
ligne=fgetl(fid);
Error in nemoh_run (line 9)
[A,B,Fe]=Nemoh(w,dir,depth);
Is there any guide on using an already mesh and running nemoh.
from nemoh.
Hello @ikaushik007 and @Aayush146
It looks like an error external to NEMOH, check the path and name of the file you provide as input. Matlab simply tells you that he cannot read the file. You should have prior to the 'fgets' command a 'fid=fopen(...)' to tell the code which file you open!?
Best,
G.
from nemoh.
Hello @ikaushik007 and @Aayush146 It looks like an error external to NEMOH, check the path and name of the file you provide as input. Matlab simply tells you that he cannot read the file. You should have prior to the 'fgets' command a 'fid=fopen(...)' to tell the code which file you open!?
Best, G.
fid=fopen([rep,filesep,'results',filesep,'ExcitationForce.tec'],'r');
The above is the line 104 where the error occurs.
from nemoh.
And if you display [rep,filesep,'results',filesep,'ExcitationForce.tec'] it is really pointing toward your file?
from nemoh.
This project has migrated to GitLab: https://gitlab.com/lheea/Nemoh
If the issue is still active in the new Release, feel free to open an issue there!
from nemoh.
Related Issues (14)
- troubles running Nemoh on linux HOT 4
- 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
- Unable to create hydrostatic.dat and kh.dat files HOT 12
- 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.