Skip to content

Commit 8f53506

Browse files
committed
Update thermal diffusion test program
1 parent 70a85e3 commit 8f53506

18 files changed

+139
-141
lines changed

tests/Models/heterogineous_temp_evolve/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ test:
2828
echo 'Failed volume average data check'; \
2929
exit 1;\
3030
fi
31-
3231
$(TARGET_SPH_ENE_CHECK) reference/sph_pwr_volume_s monitor/sph_pwr_volume_s >> log.txt
3332
@if [ `tail -n 1 flag.txt` != 0 ]; then\
3433
echo 'Failed volume mean square data check'; \
3534
exit 1;\
3635
fi
37-
3836
$(TARGET_SPH_ENE_CHECK) reference/sph_pwr_volume_m0 monitor/sph_pwr_volume_m0 >> log.txt
3937
@if [ `tail -n 1 flag.txt` != 0 ]; then\
4038
echo 'Failed axisymmetric mean square data check'; \

tests/Models/heterogineous_temp_evolve/bc_spectr.btx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
temperature
99
ICB
1010
3
11-
0 0 1.000E+00
11+
0 0 0.000E+00
1212
1 1 2.000E-01
1313
2 2 3.000E-01
1414
#
1515
# Fixed heat flux at CMB
1616
heat_flux
1717
CMB
1818
2
19-
0 0 -0.9E+0
19+
0 0 -2.0E+0
2020
1 -1 5.0E-1
2121
#
2222
# Fixed composition flux at ICB

tests/Models/heterogineous_temp_evolve/control_MHD

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ begin MHD_control
159159
coef_4_t_diffuse_ctl Prandtl_number -1.0
160160
end array coef_4_t_diffuse_ctl
161161
!
162-
array coef_4_heat_source_ctl
163-
coef_4_heat_source_ctl One 1.0
164-
end array coef_4_heat_source_ctl
162+
! array coef_4_heat_source_ctl
163+
! coef_4_heat_source_ctl One 1.0
164+
! end array coef_4_heat_source_ctl
165165
end thermal
166166
!
167167
!
@@ -174,9 +174,9 @@ begin MHD_control
174174
coef_4_c_diffuse_ctl Composite_Prandtl_number -1.0
175175
end array coef_4_c_diffuse_ctl
176176
!
177-
array coef_4_light_source_ctl
178-
coef_4_light_source_ctl Two 1.0
179-
end array coef_4_light_source_ctl
177+
! array coef_4_light_source_ctl
178+
! coef_4_light_source_ctl Two 1.0
179+
! end array coef_4_light_source_ctl
180180
end composition
181181
end coefficients_ctl
182182
end model
@@ -188,10 +188,10 @@ begin MHD_control
188188
begin time_step_ctl
189189
elapsed_time_ctl 80000.
190190
i_step_init_ctl 0
191-
i_step_finish_ctl 1000
191+
i_step_finish_ctl 5000
192192
!
193-
i_step_check_ctl 100
194-
i_step_rst_ctl 500
193+
i_step_check_ctl 200
194+
i_step_rst_ctl 1000
195195
i_step_field_ctl 0
196196
!
197197
dt_ctl 1.0e-4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)