Skip to content

Commit 7346fd2

Browse files
authored
replace "output_frequency" with "output_interval" for post-processing in tests (#1686)
1 parent 547b24a commit 7346fd2

File tree

22 files changed

+39
-39
lines changed

22 files changed

+39
-39
lines changed

docs/sphinx/user/amr_wind_inputs.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ nodal_proj.mg_atol = 1.0e-12
109109
incflo.post_processing = sampling enstrophy ke
110110

111111
# Data probe sampling
112-
sampling.output_frequency = 1
112+
sampling.output_interval = 1
113113
sampling.labels = l_v11 p_h
114114
sampling.fields = velocity temperature
115115

@@ -130,6 +130,6 @@ sampling.p_h.offsets = 0.0 50.0 150.0
130130

131131
# kinetic energy and enstrophy integration
132132
ke.type = KineticEnergy
133-
ke.output_frequency = 1
133+
ke.output_interval = 1
134134
enstrophy.type = Enstrophy
135-
enstrophy.output_frequency = 1
135+
enstrophy.output_interval = 1

docs/sphinx/user/inputs_Enstrophy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The prefix is the label set in ``incflo.post_processing``. For example
1414

1515
To use enstrophy output specify with keyword ``Enstrophy``
1616

17-
.. input_param:: enst.output_frequency
17+
.. input_param:: enst.output_interval
1818

1919
**type:** Integer, optional, default = 10
2020

docs/sphinx/user/inputs_KineticEnergy.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The prefix is the label set in ``incflo.post_processing``. For example
1414

1515
To use kinetic energy post processing specify with keyword ``KineticEnergy``
1616

17-
.. input_param:: ke.output_frequency
17+
.. input_param:: ke.output_interval
1818

1919
**type:** Integer, optional, default = 10
2020

docs/sphinx/walkthrough/calibrate_inp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Actuator.T0.use_root_correction = true
9191
#---- postprocessing defs ----
9292
incflo.post_processing = sampling
9393
sampling.type = Sampling
94-
sampling.output_frequency = 100
94+
sampling.output_interval = 100
9595
sampling.fields = velocity
9696

9797
#---- sample defs ----

docs/sphinx/walkthrough/precursor_inp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ ABL.surface_temp_flux = 0.05 # Surface temperature flux [K-m
6969
incflo.post_processing = sampling averaging
7070

7171
# --- Sampling parameters ---
72-
sampling.output_frequency = 96
72+
sampling.output_interval = 96
7373
sampling.fields = velocity temperature
7474

7575
#---- sample defs ----

docs/sphinx/walkthrough/spinup_inp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ABL.surface_temp_flux = 0.05 # Surface temperature flux [K-m
6262
incflo.post_processing = sampling
6363

6464
# --- Sampling parameters ---
65-
sampling.output_frequency = 900
65+
sampling.output_interval = 900
6666
sampling.fields = velocity temperature
6767

6868
#---- sample defs ----

docs/sphinx/walkthrough/turbines_inp.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ABLMeanBoussinesq.temperature_profile_filename = avg_theta.dat
8989
incflo.post_processing = sampling averaging
9090

9191
# --- Sampling parameters ---
92-
sampling.output_frequency = 100
92+
sampling.output_interval = 100
9393
sampling.fields = velocity temperature
9494

9595
#---- sample defs ----

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ endfunction(add_test_u)
153153
# Add test that also checks post-processing scripts: sampling
154154
function(add_test_pps TEST_NAME FORMAT NINT NSTEPS)
155155
setup_test()
156-
set(ADDL_RUNTIME_OPTIONS "sampling.output_format=${FORMAT} sampling.output_frequency=${NINT} time.plot_interval=-1 time.checkpoint_interval=-1 time.max_step=${NSTEPS}")
156+
set(ADDL_RUNTIME_OPTIONS "sampling.output_format=${FORMAT} sampling.output_interval=${NINT} time.plot_interval=-1 time.checkpoint_interval=-1 time.max_step=${NSTEPS}")
157157
add_test("${TEST_NAME}_sampling_${FORMAT}" bash -c "set -o pipefail && ${MPI_COMMANDS} ${CMAKE_BINARY_DIR}/${amr_wind_exe_name} ${MPIEXEC_POSTFLAGS} ${CURRENT_TEST_BINARY_DIR}/${TEST_NAME}.inp ${RUNTIME_OPTIONS} ${ADDL_RUNTIME_OPTIONS} 2>&1 | tee ${TEST_NAME}_sampling_${FORMAT}.log && ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/tools/sampling_${TEST_NAME}_${FORMAT}.py")
158158
# Set properties for test
159159
set_tests_properties("${TEST_NAME}_sampling_${FORMAT}" PROPERTIES

test/test_files/abl_godunov_ascent/abl_godunov_ascent.inp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ incflo.verbose = 0 # incflo_level
7777
incflo.post_processing = ascent
7878
ascent.type = Ascent
7979
ascent.fields = p temperature
80-
ascent.output_frequency = 5
80+
ascent.output_interval = 5

test/test_files/abl_sampling/abl_sampling.inp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ incflo.verbose = 0 # incflo_level
8989
# SAMPLING #
9090
#.......................................#
9191
incflo.post_processing = volume_sampling volume_sampling2 probe_sampling plane_sampling line_sampling
92-
volume_sampling.output_frequency = 1
92+
volume_sampling.output_interval = 1
9393
volume_sampling.output_format = native
9494
volume_sampling.fields = velocity
9595
volume_sampling.int_fields = mask_cell
@@ -104,7 +104,7 @@ volume_sampling.volume2.lo = 205.0 200.0 200.0
104104
volume_sampling.volume2.hi = 505.0 500.0 500.0
105105
volume_sampling.volume2.num_points = 30 10 10
106106

107-
volume_sampling2.output_frequency = 1
107+
volume_sampling2.output_interval = 1
108108
volume_sampling2.output_format = native
109109
volume_sampling2.fields = velocity
110110
volume_sampling2.int_fields = mask_cell
@@ -115,7 +115,7 @@ volume_sampling2.volume1.lo = 20.0 20.0 20.0
115115
volume_sampling2.volume1.hi = 50.0 50.0 50.0
116116
volume_sampling2.volume1.num_points = 5 5 5
117117

118-
probe_sampling.output_frequency = 1
118+
probe_sampling.output_interval = 1
119119
probe_sampling.output_format = native
120120
probe_sampling.fields = velocity
121121
probe_sampling.int_fields = mask_cell
@@ -125,7 +125,7 @@ probe_sampling.probe1.probe_location_file = "probe_locations.txt"
125125
probe_sampling.probe1.offset_vector = 0.0 1.0 1.0
126126
probe_sampling.probe1.offsets = 0.0 200.0 400.0 600.0
127127

128-
plane_sampling.output_frequency = 1
128+
plane_sampling.output_interval = 1
129129
plane_sampling.output_format = native
130130
plane_sampling.fields = velocity
131131
plane_sampling.labels = plane1 plane2 plane3
@@ -153,7 +153,7 @@ plane_sampling.plane3.num_points = 10 10
153153
plane_sampling.plane3.offset_vector = 0.0 1.0 1.0
154154
plane_sampling.plane3.offsets = 0.0 20.0 30.0 200.0
155155

156-
line_sampling.output_frequency = 1
156+
line_sampling.output_interval = 1
157157
line_sampling.output_format = native
158158
line_sampling.fields = velocity
159159
line_sampling.labels = line1

0 commit comments

Comments
 (0)