Jump to content

Recommended Posts

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?

 

Thanks

Christoph

 

 

Share this post


Link to post
Share on other sites

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

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//0
Moving /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//Allrun
Moving /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//constant
Moving /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 directory
cp: cannot stat ‘../baseCase/constant/polyMesh’: No such file or directory
Running transformPoints on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running 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-f5222ca19ce6
Exec   : transformPoints -scale (1000 1000 1000)
Date   : Jul 14 2016
Time   : 14:37:51
Host   : "Miraculix"
PID    : 9514
Case   : /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : 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 exiting

rm: cannot remove ‘proc*’: No such file or directory

 

Share this post


Link to post
Share on other sites

 

cp: cannot stat ‘../baseCase/constant/polyMesh’: No such file or directory

This 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

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//0
Moving /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//Allrun
Moving /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//constant
Moving /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 directory
Running blockMesh on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running surfaceFeatureExtract on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running snappyHexMesh on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running createPatch on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running transformPoints on /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
Running 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-f5222ca19ce6
Exec   : transformPoints -scale (1000 1000 1000)
Date   : Jul 16 2016
Time   : 12:05:03
Host   : "Miraculix"
PID    : 13266
Case   : /home/ipim/C.Schmotz/NonReturnValveOF/01_Sobol/Sobol_01_des0000/3_flights
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Scaling 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

Hi Christoph,

 

This problem is resolved now as far as I know (it was a small bug in CAESES). Thanks for your input!

 

Cheers

Joerg

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