Jump to content

Recommended Posts

Dear everyone, 

as my highschool-graduation project, i'm designing, (hopefully) optimizing and then fabricating an Aero-Package for a Racing Kart.

Setting up the geometry and running it seperately in OpenFOAM didn't pose any problems; both in WSL and with the native-Windows(https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/windows#native-windows) version. 

I followed the CAESES as a GUI for OpemFOAM webinar, but instead of using cygwin, I used the native-Windows version as mentioned above. As the executable, I still inserted the path to the mintty.exe file, which in my case is located in OpenFOAM/v2312/msys64/usr/bin/ 

When trying to run the computation, it copies all wanted files into the right directory, but doesn't seem to be able to run the Allrun script, even when having put in the suggested string as an argument.

 

Does someone have an idea where I went wrong? Should I try to connect it in Linux instead of Windows, would that be easier?

 

I attached the stdouterroroutput.redirect and the Allrun file.

(Also it doesn't work when I insert Allrun as the executable)

 

Thank you very much in advance,

Gian Ratschiller

Screenshot 2024-06-09 222545.jpg

Screenshot 2024-06-09 222435.jpg

Screenshot 2024-06-09 222945.jpg

Allrun stdouterroroutput.redirect

Share this post


Link to post
Share on other sites

Good Evening,

yes running the Allrun in the directory works without any problems.

I also recently tried to connect OpenFOAM via cygwin(like Mr. Carsten Fütterer did), but this still didn't work. 

Sincerely,

Gian

 

Share this post


Link to post
Share on other sites

Update:

I soon transfered the file to a newly installed Linux OS, in which connecting didn't pose any problems and the optimization could start as expected.

Sincerely,

Gian

Share this post


Link to post
Share on other sites

I have a very similar problem and my computer is Linux. When trying to run the computation, it copies all wanted files into the right directory, but doesn't seem to be able to fully execute the Allrun script. It is fine with meshing. But did not do any computation.

If run Allrun manually, everything is fine.

Does someone have an idea where I went wrong?

Thank you in advance.

WX

Share this post


Link to post
Share on other sites

Hi WX,

have you been able to resolve the issue in the meantime? Does it start the allrun script from within CAESES and have you set up any result values or files such that CAESES would know what to look for and when to consider the computation finished?

Cheers,
Heinrich

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...