Mr. Fotios Tzortzoglou 0 Report post Posted July 6, 2017 Hi, I have recently installed CAESES for an exercise in the university. I started doing the SDuct tutorial but it seems something is wrong with the connection with openFOAM. When I am executing the Runner for the first time in order to get the first results I get the error: External process start failure. The only changes I did to the Allrun script were the ones mentioned in the tutorial. As source of the bashrc file I put the one in my local system (C:/Program Files/simFlow/engine-3.0+/etc/bashrc). I have downloaded and installed openFOAM 3.0 from the simFlow website by the way.Any help would be appreciated Fotis Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 7, 2017 Hi Fotis,can you upload the project? best regards Carsten Share this post Link to post Share on other sites
Mr. Fotios Tzortzoglou 0 Report post Posted July 10, 2017 Hi Carsten. Here's the projectsduct2.fdbc Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 11, 2017 Hello Fotios, you can do the following:- rename the allrun to allrun.bat- remove the first line: #!/bin/bash- I am not sure if the source command works, its usually used on linux- can you start openfoam commands from the cmd terminal like blockMesh.exe?- extend the openFoam commands with the extension .exe best regardsCarsten Share this post Link to post Share on other sites
Mr. Fotios Tzortzoglou 0 Report post Posted July 11, 2017 - can you start openfoam commands from the cmd terminal like blockMesh.exe? Yes but I get this error: --> FOAM FATAL IO ERROR: cannot find file file: C:/Users/.../system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Now I don't get the "start failure" error but it seems that the pin.dat file is not created. My Allrun.bat looks now like this: wmUNSET source C:/simFlow/engine-3.0+/etc/bashrc blockMesh.exe -dict system/blockMeshDict 2>&1 | tee.exe $BLOCK_LOG snappyHexMesh.exe -overwrite 2>&1 | tee.exe $LOG simpleFoam.exe 2>&1 | tee.exe $LOG touch.exe case.foam patchAverage.exe p -latestTime sduct_lightpink > pin.dat Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted July 11, 2017 Hey, Please install Openfoam 2.3.1 the scripts you are using are not working with openfoam 3.0. You can find it on the same download site. They slightly changed the input scripts from 2.3.x to 3.0 and I cannot remember which one exactly. They merged 2 scripts files into 1. You are doing the homework exercise for the SDD course right? I have created the documents for it ;-) Cheers, Karsten Share this post Link to post Share on other sites
Mr. Fotios Tzortzoglou 0 Report post Posted July 12, 2017 Hi Karsten, yeah I am doing the exercise for SDD. Now I know whom to ask for help in case I need it :) I installed the 2.3.1 but the pin.dat is still not created. The output from the stdouterroroutput is: C:\Users\...\Documents\Testproject_CAESES\sduct2\manual_results\baseline\Runner>wmUNSET 'wmUNSET' is not recognized as an internal or external command, operable program or batch file. C:\Users\...\Documents\Testproject_CAESES\sduct2\manual_results\baseline\Runner>C:/simFlow/engine-2.3.1/etc/bashrc 'C:/simFlow/engine-2.3.1/etc/bashrc' is not recognized as an internal or external command, operable program or batch file. C:\Users\...\Documents\Testproject_CAESES\sduct2\manual_results\baseline\Runner>blockMesh.exe -dict system/blockMeshDict 2>&1 | tee.exe $BLOCK_LOG 'tee.exe' is not recognized as an internal or external command, operable program or batch file. It seems that the Allrun is written for Linux and I have to transcribe it somehow for Windows right? Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 14, 2017 Hi Fotios, attached is an example which works with simflow on windows. Let me know if you can adapt your project to it. best regards CarstenSduct_Demo_00.fdb Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted July 14, 2017 Hey, Did you install simflow with Administration rights?Right click on the executable of simflow (Installation) and choose "run as Administrator" Seems that the links in the System have not been set properly.Can you try to reinstall simflow. Let me know if it helps. @Carsten: Sure the Software connector is in that file already? If I remember correctly is that the stage right aber die variable geometry and no Connection has been set up. the ..03 or 04 is the one after the Software connector has been Setup. But then the half of the assessment is done already. Have a nice weekendCheers, Karsten Share this post Link to post Share on other sites
Mr. Fotios Tzortzoglou 0 Report post Posted July 17, 2017 Hi Fotios, attached is an example which works with simflow on windows. Let me know if you can adapt your project to it. best regards Carsten Hi Carsten, that worked! Thank you very much guys I was starting to get desperate. Cheers!Fotis Share this post Link to post Share on other sites