CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Shape Design (https://www.cfd-online.com/Forums/su2-shape-design/)
-   -   Shape Optimization mesh file name error (https://www.cfd-online.com/Forums/su2-shape-design/120509-shape-optimization-mesh-file-name-error.html)

Gramanzini July 8, 2013 14:45

Shape Optimization mesh file name error
 
1 Attachment(s)
I am trying to run tutorial 8, using parallel processing, I have successfully ran it with serial processing. I am getting a mesh file name error. The program is trying to find "mesh_opt_MDC_rot_NACA0012.SU2". Due to parallel processing (3 processors) the file names are numbered as mesh_opt_MDC_rot_NACA0012_1, mesh_opt_MDC_rot_NACA0012_2, mesh_opt_MDC_rot_NACA0012_3. Please refer to the attached error file.

Thank you

rktchip July 25, 2013 12:52

this seems like an old version of the code, can you please try the latest version?

economon August 10, 2013 13:34

Hi Joe,

Did using the latest version of the code fix the issue?

Cheers,
Tom

Gramanzini August 10, 2013 21:03

No I haven't i have been away for a few weeks. I have been using the SU2 2.0 for windows. Should I try to use the developers code instead. I am using the software for its adjoint and shape optimization capabilities. Thank you.

RcktMan77 October 2, 2013 20:02

I may be having the same issue under OS X. It appears a symbolic link is created for the FFD mesh file in the /DESIGNS/DSN_XXX directory that points to the original located up two parent directories. After the initial direct flow and adjoint solutions are completed, the gradient evaluation fails with:

Read the FFD information from mesh file.
0 Free Form Deformation (FFD) FFDBoxs.
24575 Free Form Deformation (FFD) nested levels.
There is no FFD box definition. Just in case, review the .su2 file
The input grid doesn't have the entire FFD information!
Press any key to exit...

My guess is that the code is unable to follow the symbolic link to the original and doesn't recognize the FFD definition.

economon October 3, 2013 02:02

Hi,

Just a note that in the recent versions of the code, the FFD specification has been adjusted in the mesh file. It is now specified using:

FFD_NBOX= 1
FFD_NLEVEL= 1
FFD_TAG= 0
FFD_LEVEL= 0
FFD_DEGREE_I= 5
FFD_DEGREE_J= 4
FFD_DEGREE_K= 1
FFD_PARENTS= 0
FFD_CHILDREN= 0
FFD_CORNER_POINTS= 8
-0.0403 0 -0.04836
0.8463 0 -0.04836
1.209 1.2896 -0.04836
0.6851 1.2896 -0.04836
-0.0403 0 0.04836
0.8463 0 0.04836
1.209 1.2896 0.04836
0.6851 1.2896 0.04836
FFD_CONTROL_POINTS= 0
FFD_SURFACE_POINTS= 0

You might try with version 2.0.8 of the code that is available on GitHub, along with the updated specification above (this example was taken from the Onera M6 mesh).

Hope this helps,
Tom

RcktMan77 October 3, 2013 13:45

Thanks for the update, Tom. Updating the FFD box description in the mesh file resolved the issue I was having.


All times are GMT -4. The time now is 15:25.