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

finite_differences.py & continuous_adjoint.py

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2014, 08:13
Default finite_differences.py & continuous_adjoint.py
  #1
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 12
Zen is on a distinguished road
hello everyone,

I would like to check the adjoint gradients against the FD ones. To do so I use the python scripts to compute the gradients. However, I would like to save some time by avoiding to compute the direct solution since I already have that results stored in a solution_flow.dat file from previous simulations.

Is there a way to deactivate the computation of the direct solution?

Thanks in advance,

Z
Zen is offline   Reply With Quote

Old   January 1, 2015, 19:39
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Maybe you can just adjust the convergence criteria (changing RESIDUAL_MINVAL)... so the solver will only perform a couple of iterations.

Best Regards,
Francisco Palacios
SU2 lead developer
fpalacios is offline   Reply With Quote

Reply

Tags
adjoint, finite differences, gradient


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



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