CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Urgent - Perform an DISCRETE adjoint analysis in parallel_computation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2018, 13:12
Question Urgent - Perform an DISCRETE adjoint analysis in parallel_computation
  #1
Member
 
João Lourenço
Join Date: Jan 2017
Posts: 32
Rep Power: 9
JPBLourenco is on a distinguished road
Hello everyone,

I'm with some problems in performing a Discrete Adjoint analysis in parallel computation using the solution_flow file from the direct analysis to the flow. I'm doing the some proceeder like in CONTINUOUS Adjoint analysis. In CONTINUOUS adjoint I'm doing the next steps:

1- Run the mesh.su2 and the NACA_0012.cfg file with:
MATH_PROBLEM= DIRECT
RESTART_SOL= NO
terminal: parallel_computation.py -f NACA_0012.cfg -n 8

2- Change the name of restart_flow.dat to solution_flow.dat

3- Change in the NACA_0012.cfg file
MATH_PROBLEM= CONTINUOUS_ADJOINT
RESTART_SOL= NO

4- Run the mesh.su2, NACA_0012.cfg and solution_flow.dat file.
terminal: parallel_computation.py -f NACA_0012.cfg -n 8
in the terminal the parallel analysis identify the solution_flow.dat and mesh.su2 to performed the adjoint analysis.

For the DISCRETE adjoint analysis I follow the same steps but, in the terminal, appears only identified the mesh file and says "No restart solution, use the values at infinity (freestream).".

How can I perform an DISCRETE_ADJOINT analysis in parallel with the solution_flow.dat file?

My goal is to do an shape optimization with the solution_flow.dat and the solution_adj.dat file.

Thanks to everyone that help me
JPBLourenco is offline   Reply With Quote

Old   April 23, 2018, 11:38
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Just follow exactly the same steps, but with MATH_PROBLEM=DISCRETE_ADJOINT instead of MATH_PROBLEM=CONTINUOUS_ADJOINT.

Or just execute the discrete_adjoint.py script.

Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems launching adjoint max_ SU2 2 March 12, 2016 12:32
hard to convergent with SU2 4.0 for Euler adjoint Xianguu SU2 1 July 14, 2015 18:09
Flow analysis in a Convergent-Divergent Nozzle (URGENT!) hasan_hzl ANSYS 2 June 30, 2009 01:46
Urgent help needed with dpm analysis Esosa FLUENT 0 June 12, 2009 06:06
Problem about multi-phase analysis (Urgent) Prof. Lau (PolyU) CFX 2 February 9, 2007 18:59


All times are GMT -4. The time now is 07:38.