Mr. Christoph Schmotz 0 Report post Posted July 13, 2016 Hello! I wanted to create a new optimization using the Sobol-Tool. I followed the instructions from the Tutorial but I think, I missed something. When the prozess finished, all of my resutlts failed because the evaluation of my two variables showed "NaN". See the attached screenshot. I evaluated these values but still did not work. I created a new optimization, did not work. Maybe someone had the same problem and can help me? ThanksChristoph Share this post Link to post Share on other sites
Mr. Simon Broenstrup 1 Report post Posted July 13, 2016 Hello Christoph, apparently you forgot to attach the screenshot, which would be very helpfull to understand what the problem is.Or maybe you can upload your caeses file? Regards,Simon Share this post Link to post Share on other sites
Mr. Christoph Schmotz 0 Report post Posted July 13, 2016 Oh, sorry. Here is the screenshot. Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 13, 2016 Hi Christoph, can you post one of the stdouterroroutput.redirect files, which are located in the design directories. Did you run the baseline first? Did you got your objectives? Can you find any results in the design directories? best regards Carsten Share this post Link to post Share on other sites
Mr. Christoph Schmotz 0 Report post Posted July 14, 2016 Hi Carsten, yes, I ran the baseline, I got objectives and I am able to find result files. Attached you can see my tdouterroroutput.redirect file. So I cannot upload this kind of file, I inserted it here. Moving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/0 to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//0Moving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/Allrun to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//AllrunMoving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/constant to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//constantMoving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/system to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//system[Captured output from application /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//Allrun]rm: cannot remove ‘log.*’: No such file or directorycp: cannot stat ‘../baseCase/constant/polyMesh’: No such file or directoryRunning transformPoints on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning SRFSimpleFoam on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/*---------------------------------------------------------------------------*\| ========= | || \\ / F ield | OpenFOAM: The Open Source CFD Toolbox || \\ / O peration | Version: 2.3.0 || \\ / A nd | Web: www.OpenFOAM.org || \\/ M anipulation | |\*---------------------------------------------------------------------------*/Build : 2.3.0-f5222ca19ce6Exec : transformPoints -scale (1000 1000 1000)Date : Jul 14 2016Time : 14:37:51Host : "Miraculix"PID : 9514Case : /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsnProcs : 1sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).fileModificationChecking : Monitoring run-time modified files using timeStampMasterallowSystemOperations : Disallowing user-supplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //Create time--> FOAM FATAL ERROR:Cannot find file "points" in directory "polyMesh" in times 0 down to constant From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&) in file db/Time/findInstance.C at line 203.FOAM exiting--> FOAM FATAL ERROR:Cannot find file "points" in directory "polyMesh" in times 0 down to constant From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&) in file db/Time/findInstance.C at line 203.FOAM exiting--> FOAM FATAL ERROR:Cannot find file "points" in directory "polyMesh" in times 0 down to constant From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&) in file db/Time/findInstance.C at line 203.FOAM exitingrm: cannot remove ‘proc*’: No such file or directory Share this post Link to post Share on other sites
Karsten Wenzke 12 Report post Posted July 15, 2016 cp: cannot stat ‘../baseCase/constant/polyMesh’: No such file or directoryThis is the line which is causing the errors which are appearing afterwards.The path "basecase" seems to be wrong. But without having seen the project file it is really hard to help further. Can you upload the project file. It would help to identify the problem. Cheers, Karsten Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 18, 2016 Hi Christop, could you at least post or send us the shell script? It seams to me that you are not meshing.best regards Carsten Share this post Link to post Share on other sites
Mr. Christoph Schmotz 0 Report post Posted July 18, 2016 Yes, I already recognized, that I was not meshing. For faster computation I put the mesh in a seperate folder, so the meshing wasn't done every time. I forgot to change this for the optimization. Now the stdouterroroutput.redirect looks like this: Moving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/0 to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//0Moving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/Allrun to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//AllrunMoving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/constant to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//constantMoving /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/input/system to /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//system[Captured output from application /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights//Allrun]rm: cannot remove ‘log.*’: No such file or directoryRunning blockMesh on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning surfaceFeatureExtract on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning snappyHexMesh on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning createPatch on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning transformPoints on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsRunning SRFSimpleFoam on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/*---------------------------------------------------------------------------*\| ========= | || \\ / F ield | OpenFOAM: The Open Source CFD Toolbox || \\ / O peration | Version: 2.3.0 || \\ / A nd | Web: www.OpenFOAM.org || \\/ M anipulation | |\*---------------------------------------------------------------------------*/Build : 2.3.0-f5222ca19ce6Exec : transformPoints -scale (1000 1000 1000)Date : Jul 16 2016Time : 12:05:03Host : "Miraculix"PID : 13266Case : /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flightsnProcs : 1sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).fileModificationChecking : Monitoring run-time modified files using timeStampMasterallowSystemOperations : Disallowing user-supplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //Create timeScaling points by (1000 1000 1000)Writing points into directory "/home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights/constant/polyMesh"rm: cannot remove ‘proc*’: No such file or directory Share this post Link to post Share on other sites
Mr. Carsten Fuetterer 9 Report post Posted July 18, 2016 ok in that file are no signifcant errors. Did the solver run? Share this post Link to post Share on other sites
Mr. Christoph Schmotz 0 Report post Posted July 18, 2016 yes, the solver ran, then the parameters for evaluation were pending a long time, till they all got nan. Share this post Link to post Share on other sites
Jörg 29 Report post Posted August 10, 2016 Hi Christoph, This problem is resolved now as far as I know (it was a small bug in CAESES). Thanks for your input! CheersJoerg Share this post Link to post Share on other sites