Inconsistency with observed velocity and written output #3104
Unanswered
rbenamran
asked this question in
Computational science!
Replies: 1 comment
-
The magnitude of the velocity field and the speed of propagation are different. If your signal is a shallow water wave, then it propagates at the group speed, where You can test this by changing |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi,
I've been having issues with the post-simulation analysis and noticed the velocities I am reading from the JLD2 output file are not what I expect.
I specifically wrote a test simulation below with a Gaussian initial condition that propagates at a surface gravity wave speed of about 10 m/s for the given parameters (this is observed clearly through the animation). However, the velocities I read from the opened JLD2 file are never beyond two meters per second.
Here is a plot of the velocity field as taken from the output JLD2 file. The structure is correct, but the magnitude is scaled down, because the total sim time is 3 second and the Gaussian starts at the center and reaches the edge, thus the velocity must be closer to 10m/s

Here is the Gaussian sim code just in case.
Thanks in advance for any insight on this!
Beta Was this translation helpful? Give feedback.
All reactions