Skip to content

Commit e5acb82

Browse files
committed
Adding some more finite difference values.
1 parent f04ae25 commit e5acb82

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

_tutorials/multiphysics/steady_cht/Static_CHT.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ revised_by: oleburghardt
77
revision_date: 2021-01-18
88
revised_version: 7.0.8
99
solver: MULTIPHYSICS
10-
requires: SU2_CFD
10+
requires: SU2_CFD, SU2_CFD_AD, SU2_DOT_AD, SU2_DEF
1111
complexity: advanced
1212
follows: Inc_Laminar_Flat_Plate
1313
userguide: Multizone
@@ -226,7 +226,7 @@ DV_PARAM= ( MAIN_BOX, 12, 1, 0.0, 1.0 )
226226
227227
as in the main config file. The derivative of the integrated heat flux with respect to this design veriable was thus alsp automatically computed and written to `of_grad_0.dat` and `of_grad_1.dat`; the other to cylinders are giving no direct contribution as their shape is not affected).
228228
229-
We will check the derivative (0.152507 + 0.234148 + 0.0 + 0.0 = 0,386655) against finite differences at magnitudes 1.0e-5 and 1.0e-6. To this end, we have to deform the multizone mesh by setting
229+
We will check the derivative (0.152507 + 0.234148 + 0.0 + 0.0 = 0,386655) against finite differences at magnitudes from 1.0e-2 to 1.0e-6. To this end, we have to deform the multizone mesh by setting
230230
231231
```
232232
DV_VALUE= 0.00001
@@ -238,9 +238,12 @@ and running
238238
$ SU2_DEF cht_2d_3cylinders.cfg
239239
```
240240
241-
which will produce the deformed multizone mesh `mesh_cht_3cyl_out.su2`, on which the integrated heatflux can be recomputed (analogously for 1.0e-6). Relative errors to the value generated from discrete adjoints are given below.
241+
which will produce the deformed multizone mesh `mesh_cht_3cyl_out.su2`, on which the integrated heatflux can be recomputed (analogously for other magnitudes). Relative errors to the value generated from discrete adjoints are given below.
242242
243-
magnitude | heatflux value | finite difference derivative | rel. error (%)
243+
magnitude | heatflux value | FD derivative | rel. error (%)
244244
--- | --- | --- | ---
245-
1.0e-5 | -31,89720748792119 | 0,38665835 | 0,0008672
246-
1.0e-6 | -31,89721096784924 | 0,38665548 | 0,0001241
245+
1.0e-2 | -31.89331058028049 | 0,390077422 | 0,8861153
246+
1.0e-3 | -31.89682435269217 | 0.387001813 | 0.0906675
247+
1.0e-4 | -31.89717268560501 | 0.386688997 | 0.0097636
248+
1.0e-5 | -31.89720748792119 | 0.38665835 | 0.0018381
249+
1.0e-6 | -31.89721096784924 | 0.38665548 | 0.001095

0 commit comments

Comments
 (0)