Giter Club home page Giter Club logo

Comments (7)

gducrozet avatar gducrozet commented on August 12, 2024

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.

ikaushik007 avatar ikaushik007 commented on August 12, 2024

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.

gducrozet avatar gducrozet commented on August 12, 2024

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.

hfpim avatar hfpim commented on August 12, 2024

@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.

gducrozet avatar gducrozet commented on August 12, 2024

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.

hfpim avatar hfpim commented on August 12, 2024

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.

gducrozet avatar gducrozet commented on August 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.