Comments (7)
Hello @ikaushik007
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.
fid=fopen([rep,filesep,'results',filesep,'ExcitationForce.tec'],'r');
this is the line that throws an error. I have checked and ensured that the directory is made but I still get this error.
from nemoh.
Since it is not an issue with the core of NEMOH, it is a bit out of our hands... Check filesep is coherent with your Operating System and that [rep,filesep,'results',filesep,'ExcitationForce.tec'] points really toward your file.
Otherwise, check the readability of your file.
from nemoh.
@gducrozet I am having the same issue and I believe there is something odd with Nemoh's Solver.exe.
I'm working on a similar project as @ikaushik007 and upon further debugging I found that the solver only runs the first problem out of 133 (in my case) and then jumps to post-processing, where the error mentioned above appears.
I checked the file paths and they all look ok. I don't know how to proceed from there
from nemoh.
I am a bit doubtful this issue is related to NEMOH if it points toward an error in the fopen...
By the way, for your information, we are preparing a new major Release that should solve some issues and possibly the present execution one (if it is really related to NEMOH and not Matlab).
In addition, GitHub will be replaced soon by Gitlab for the 'official' repository of Nemoh (with several new features to come!!).
from nemoh.
Thank you for the update. How would you recommend I proceed? Any reasons why the solver only solves the first calculation and then moves on to post-processing? Any chance I might be setting up the Nemoh.cal file wrong or something else?
I hit a dead end and I don't know how to move forward.
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 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
- 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.