Skip to content

Commit 5b7f3fd

Browse files
committed
update tolerances for stable and unstable abl cases
1 parent 39175f4 commit 5b7f3fd

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed

amr-wind/atmospheric_boundary_layer/stable/input_files/abl_stable.inp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SIMULATION STOP #
33
#.......................................#
44
time.stop_time = 36000.0 # Max (simulated) time to evolve
5-
time.max_step = -200 # Max number of time steps
5+
time.max_step = 100 # Max number of time steps
66

77

88
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
@@ -62,6 +62,18 @@ ABL.stats_output_frequency = 16
6262
ABL.stats_output_format = netcdf
6363

6464

65+
## Set solver tolerances
66+
diffusion.mg_rtol = 1.0e-8
67+
diffusion.mg_atol = 1.0e-8
68+
69+
# MLMG options for MAC Projection
70+
mac_proj.mg_rtol = 1.0e-8
71+
mac_proj.mg_atol = 1.0e-8
72+
73+
# MLMG options for Nodal Projection
74+
nodal_proj.mg_rtol = 1.0e-8
75+
nodal_proj.mg_atol = 1.0e-8
76+
6577
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
6678
# ADAPTIVE MESH REFINEMENT #
6779
#.......................................#
@@ -101,5 +113,5 @@ sampling.z_plane.axis1 = 399.21875 0.0 0.0
101113
sampling.z_plane.axis2 = 0.0 399.21875 0.0
102114
sampling.z_plane.origin = 0.390625 0.390625 0.0
103115
sampling.z_plane.num_points = 512 512
104-
sampling.z_plane.normal = 0.0 0.0 1.0
116+
sampling.z_plane.offset_vector = 0.0 0.0 1.0
105117
sampling.z_plane.offsets = 9.765625 49.609375 99.609375 149.609375

amr-wind/atmospheric_boundary_layer/unstable/input_files/abl_unstable.inp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,17 @@ ABL.Vperiods = 20.0
5454
ABL.deltaU = 1e-5
5555
ABL.deltaV = 1e-5
5656

57-
### Set solver tolerances
58-
#diffusion.mg_rtol = 1.0e-8
59-
#diffusion.mg_atol = 1.0e-8
60-
#
61-
## MLMG options for MAC Projection
62-
#mac_proj.mg_rtol = 1.0e-8
63-
#mac_proj.mg_atol = 1.0e-8
64-
#
65-
## MLMG options for Nodal Projection
66-
#nodal_proj.mg_rtol = 1.0e-8
67-
#nodal_proj.mg_atol = 1.0e-8
57+
## Set solver tolerances
58+
diffusion.mg_rtol = 1.0e-8
59+
diffusion.mg_atol = 1.0e-8
60+
61+
# MLMG options for MAC Projection
62+
mac_proj.mg_rtol = 1.0e-8
63+
mac_proj.mg_atol = 1.0e-8
64+
65+
# MLMG options for Nodal Projection
66+
nodal_proj.mg_rtol = 1.0e-8
67+
nodal_proj.mg_atol = 1.0e-8
6868

6969
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
7070
# ADAPTIVE MESH REFINEMENT #

0 commit comments

Comments
 (0)