Skip to content

Commit

Permalink
Update manufactured solution for config models
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Sep 3, 2024
1 parent 7e3a09d commit 68cb107
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion polaris/ocean/tasks/manufactured_solution/forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ def dynamic_model_config(self, at_setup):
float(exact_solution.lambda_x),
'config_manufactured_solution_wavelength_y':
float(exact_solution.lambda_y)}
self.add_model_config_options(options)
self.add_model_config_options(options, config_model='mpas-ocean')
25 changes: 16 additions & 9 deletions polaris/ocean/tasks/manufactured_solution/forward.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
omega:
ocean:
time_management:
config_run_duration: {{ run_duration }}
time_integration:
config_dt: {{ dt }}
config_time_integrator: {{ time_integrator }}
bottom_drag:
config_bottom_drag_mode: implicit
config_implicit_bottom_drag_type: constant
config_implicit_constant_bottom_drag_coeff: 0.0
manufactured_solution:
config_use_manufactured_solution: true
debug:
config_disable_vel_hmix: true
streams:
mesh:
filename_template: init.nc
Expand All @@ -28,3 +20,18 @@ omega:
- normalVelocity
- layerThickness
- ssh

mpas-ocean:
bottom_drag:
config_bottom_drag_mode: implicit
config_implicit_bottom_drag_type: constant
config_implicit_constant_bottom_drag_coeff: 0.0
manufactured_solution:
config_use_manufactured_solution: true
debug:
config_disable_vel_hmix: true

omega:
Tendencies:
VelDiffTendencyEnable: false
VelHyperDiffTendencyEnable: false

0 comments on commit 68cb107

Please sign in to comment.