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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2018, 12: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: 5
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, 10:38
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 7
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:32
hard to convergent with SU2 4.0 for Euler adjoint Xianguu SU2 1 July 14, 2015 17:09
Flow analysis in a Convergent-Divergent Nozzle (URGENT!) hasan_hzl ANSYS 2 June 30, 2009 00:46
Urgent help needed with dpm analysis Esosa FLUENT 0 June 12, 2009 05:06
Problem about multi-phase analysis (Urgent) Prof. Lau (PolyU) CFX 2 February 9, 2007 17:59


All times are GMT -4. The time now is 02:48.