DualSPHysics / DesignSPHysics

Module for FreeCAD intended to use with DualSPHysics fluid simulator.
Other
113 stars 40 forks source link

MyPath/Run.csv could not be opened. #119

Open ShredderForps opened 2 years ago

ShredderForps commented 2 years ago

Hello,

I am attempting to start learning using the DamBreak example from the website and encoutering an error upon simulation that returns a finished execution code=1.

Dambreak

I attempt to copy and follow all the instructions. I save the case to my desktop and get a folder with DamBreak_out in it. I click the "Run GenCase" button and get no error.

Dambreak2

I then attempt to click "Run" in the simulation control panel using my CPU. Upon executing, a window appears and after a short time, I get an "ERROR" window. The details I will include.

InkedDambreak3

I looked into the source code on DualSPHysics and have found that the line in question is 2930 . I cannot understand why the "if" statement is failing partly because I don't know how a "ofstream" can work as a boolean. Anyway I checked the DamBreak_out folder and the only file named "Run" is a "Run.out" file.

I attempted to download the DesignSPHysics via the FreeCAD addon manager and separately. Both seem to give the error. I would appreciate if you could point me to where I'm messing up. Could it be something to do with my C++?

luzpaz commented 2 years ago

@ShredderForps can you still reproduce this?

imestevez commented 8 months ago

Please, try with the latest released version v0.7.0. In any case, make sure there are no spaces, accents or special characters in the path.

luzpaz commented 7 months ago

@ShredderForps :point_up_2: