Langmuir Example: Understanding Differences in BuoyancyTracer() and SeawaterBuoyancy() #4777
Unanswered
anpa5279
asked this question in
Computational science!
Replies: 1 comment 2 replies
-
The two results look very close to me --- they are a fraction of a percent in the horizontal average, right? What happens if you run with the same buoyancy model, but different random seeds? Are the differences also comparable then? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am hoping to get feedback as to what I am doing wrong when comparing these two cases below. For my first case, I took the Langmuir example and ran it. For my second case, I took the Langmuir example and converted buoyancy to temperature via T = b/(g*beta) where beta is the thermal expansion coefficient and changed






BuoyancyTracer()
toSeawaterBuoyancy()
. For both runs, I used the same randomization in the ICs to compare. I thought that these runs would produce the same results (at least close to floating point precision) as one another, but they diverge quickly in time. Below is time t = 0 for both cases and their differences:BuoyancyTracer()
:SeawaterBuoyancy()
:Differences:
Below is the last time step for both cases and their differences:
BuoyancyTracer()
:SeawaterBuoyancy()
:Differences:
Am I wrong to assume that they should match? If not, how can I change my cases so they do match? Thanks!
BuoyancyTracer()
code:SeawaterBuoyancy()
code:Beta Was this translation helpful? Give feedback.
All reactions