Skip to content

Commit b274f9f

Browse files
committed
Add controls for mid-depth of the fluid shell
1 parent ac2b533 commit b274f9f

File tree

10 files changed

+112
-18
lines changed

10 files changed

+112
-18
lines changed

examples/dynamo_benchmark/dynamobench_case_2/README

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,30 @@
66
Here is the input files for the dynamo benchmark case 1.
77
This example consists of the following files and directories
88

9-
control_MHD: control file for simulation
10-
control_snapshot: control file for data analysis
11-
control_resolution: control file for spatial resolution
9+
README: This file
10+
clean.sh: Shell script for cleaning data
11+
control_MHD: Control file for simulation
1212

13-
sph_lm31r48c_4_ic: Directory for spherical harmonics index table
14-
rst_4: Directory for restart files
15-
field: Directory for field data files
13+
controls: Directory for visualization controls
14+
sph_lm63r72c_ic_6: Directory for spherical shell resolution control
15+
monitor: Directory for time series data
16+
rst_6: Directory for restart files
17+
field: Directory for visualization data
18+
sections: Directory for cross sections data
19+
isosurfaces: Directory for isosurface data
1620

17-
The simulation procedure is the following
21+
radial_point.dat: Radial grid point data
22+
reference_fields.dat: Radial data for reference temperature
23+
time_total.dat: Elapsed time data
1824

19-
1: Run index and initial field generation program as
20-
[dynamobench_case_1]$ [CALYPSO_DIR]/bin/sph_initial_field
2125

22-
2. Run simulation program
26+
27+
28+
The command to invoke the simulation is
2329
[dynamobench_case_1]$ mpirun -np 4 [CALYPSO_DIR]/bin/sph_mhd
2430

25-
3. To continue the simulation change rst_ctl in control_MHD from
31+
To continue the simulation change rst_ctl in control_MHD from
2632
rst_ctl dynamo_benchmark_2
2733
to
2834
rst_ctl start_from_rst_file
2935
And, start simulation again by 2.
30-
31-
4. To check the required results for dynamo benchmark, run
32-
[dynamobench_case_1]$ mpirun -np 4 [CALYPSO_DIR]/bin/sph_dynamobench

examples/dynamo_benchmark/dynamobench_case_2/control_MHD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ begin MHD_control
346346
array cross_section_ctl
347347
file cross_section_ctl 'controls/control_psf_CMB'
348348
file cross_section_ctl 'controls/control_psf_ICB'
349+
file cross_section_ctl 'controls/control_psf_mid_depth'
349350
file cross_section_ctl 'controls/control_psf_eq'
350351
file cross_section_ctl 'controls/control_psf_z0.3'
351352
file cross_section_ctl 'controls/control_psf_s0.55'

examples/dynamo_benchmark/dynamobench_case_2/controls/README

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,16 @@
33
! Please see Christensen et.al. (2001) for the model description
44
!-----------------------------------------------------------------------
55
!
6-
Field data for visualization are stored in this directory.
6+
Control data for visualization are stored in this directory.
7+
The following files are ready:
8+
9+
README: This file
10+
control_psf_CMB: Section at the outer boudary of the shell r = 20/13
11+
control_psf_ICB: Section at the inner boudary of the shell r = 7/13
12+
control_psf_mid_depth: Section at the mid-depth of the fluid shell r = 27/26
13+
control_psf_eq: Section at the equatorial plane z = 0.0
14+
control_psf_z0.3: Section at the plane at z = 0.3
15+
control_psf_s0.55: Cylindrical section at s = 0.55
16+
control_psf_zm: Meridional section for zonal mean
17+
control_iso_temp: Temperature isosurface for T = 0.7
18+
control_snapshot: Control file for data transform from restart data
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
!
2+
!
3+
! example of control for Kemo's surface rendering
4+
!
5+
begin cross_section_ctl
6+
section_file_prefix 'sections/mid_depth'
7+
section_file_format 'VTK_gz'
8+
!
9+
begin surface_define
10+
section_method sphere
11+
!
12+
array center_position
13+
center_position x 0.0
14+
center_position y 0.0
15+
center_position z 0.0
16+
end array center_position
17+
!
18+
radius 1.0384
19+
!
20+
array section_area_ctl
21+
section_area_ctl outer_core
22+
end array section_area_ctl
23+
end surface_define
24+
!
25+
begin output_field_define
26+
array output_field
27+
output_field magnetic_field spherical_vector
28+
output_field velocity spherical_vector
29+
output_field temperature scalar
30+
end array output_field
31+
end output_field_define
32+
end cross_section_ctl

examples/dynamo_benchmark/dynamobench_case_2/field/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
!-----------------------------------------------------------------------
55
!
66
Field data for visualization are stored in this directory.
7+
The following files are stored:
8+
9+
README: This file
10+
out.[field step #].vtk.gz: Field data for visualization in compressed VTK data format

examples/dynamo_benchmark/dynamobench_case_2/isosurfaces/README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
! Please see Christensen et.al. (2001) for the model description
44
!-----------------------------------------------------------------------
55
!
6-
Field data for visualization are stored in this directory.
6+
Isosurface data for visualization are stored in this directory.
7+
The following files are stored:
8+
9+
README: This file
10+
temp0_7.[isosurface step #].vtk.gz: Isosurface data for visualization in compressed VTK data format

examples/dynamo_benchmark/dynamobench_case_2/monitor/README

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,22 @@
44
!-----------------------------------------------------------------------
55
!
66
Spherical harmonics monitor data files are stored in this directory.
7+
The following files are stored:
8+
9+
README: This file
10+
monitor/Nusselt.dat.gz Time series of the Nusselt number
11+
monitor/dynamobench.dat: Time series of the Dynamo benchmark results
12+
monitor/gauss_coefs.dat.gz: Gauss coefficients at r = 2.91
13+
monitor/picked_mode_l1_m0c.dat.gz: Y_1^0 component of spherical harmonics coefficients
14+
monitor/picked_mode_l2_m0c.dat.gz: Y_2^0 component of spherical harmonics coefficients
15+
monitor/sph_pwr_layer_l.dat.gz: Power spectrum as a function of spherical harmonics degree at specific radial layers
16+
monitor/sph_pwr_layer_lm.dat.gz: Power spectrum as a function of meridional wave number at specific radial layers
17+
monitor/sph_pwr_layer_m.dat.gz: Power spectrum as a function of spherical harmonics order at specific radial layers
18+
monitor/sph_pwr_layer_m0.dat.gz: Axisymmetric power spectrum as a function of spherical harmonics degree at specific radial layers
19+
monitor/sph_pwr_layer_s.dat.gz: Mean square at specific radial layers
20+
monitor/sph_ave_volume.dat.gz: Average fields over the fluid shell
21+
monitor/sph_pwr_volume_l.dat.gz: Power spectrum as a function of spherical harmonics degree average over the fluid shell
22+
monitor/sph_pwr_volume_lm.dat.gz: Power spectrum as a function of meridional wave number average over the fluid shell
23+
monitor/sph_pwr_volume_m.dat.gz: Power spectrum as a function of spherical harmonics order average over the fluid shell
24+
monitor/sph_pwr_volume_m0.dat.gz: Axisymmetric power spectrum as a function of spherical harmonics degree average over the fluid shell
25+
monitor/sph_pwr_volume_s.dat.gz: Mean square average over the fluid shell

examples/dynamo_benchmark/dynamobench_case_2/rst_6/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
!-----------------------------------------------------------------------
55
!
66
Restart data files are stored in this directory.
7+
The following files are stored:
8+
9+
README: This file
10+
rst.[restart step #].fsb.gz: Restart data file

examples/dynamo_benchmark/dynamobench_case_2/sections/README

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,15 @@
33
! Please see Christensen et.al. (2001) for the model description
44
!-----------------------------------------------------------------------
55
!
6-
Sectioning data are stored in this directory.
6+
Sectioning data files for visualization are stored in this directory.
7+
The following files are stored:
8+
9+
README: This file
10+
CMB.[section step #].vtk.gz: Section data at outer boundary of the shell in compressed VTK format
11+
ICB.[section step #].vtk.gz: Section data at inner boundary of the shell in compressed VTK format
12+
mid_depth.[section step #].vtk.gz: Section data at the mid-depth of the shell in compressed VTK format
13+
equator.[section step #].vtk: Section data at the equatorial plane in VTK format
14+
section_z03.0.sgd.gz: Grid data at the z = 0.3 cross section in compressed binary format
15+
section_z03.[section step #].sdt.gz: Field data at the z = 0.3 cross section in compressed binary format
16+
cylinder_s055.0.sgd: Grid data at the s = 0.55 cylinder section in compressed binary format
17+
cylinder_s055.[section step #].sdt: Field data at the s = 0.55 cylinder section in compressed binary format

examples/dynamo_benchmark/dynamobench_case_2/sph_lm63r72c_ic_6/README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@
33
! Please see Christensen et.al. (2001) for the model description
44
!-----------------------------------------------------------------------
55
!
6-
Field data for visualization are stored in this directory.
6+
Resolution control data file is stored in this directory.
7+
The following files are ready:
8+
9+
README: This file
10+
control_resolution: Control file for spatial resolution

0 commit comments

Comments
 (0)