Skip to content

Commit

Permalink
Fix days --> hours in cosine bell exact solution
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar authored and cbegeman committed Oct 10, 2023
1 parent c46720a commit 7664324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polaris/ocean/tasks/cosine_bell/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def exact_solution(self, mesh_name, field_name, time, zidx=None):

# distance that the cosine bell center traveled in radians
# based on equatorial velocity
distance = 2.0 * np.pi * time / (86400.0 * vel_pd)
distance = 2.0 * np.pi * time / (3600.0 * vel_pd)

# new location of blob center
lon_new = lon_center + distance
Expand Down

0 comments on commit 7664324

Please sign in to comment.