The Tsunami model has need to fixed this problem

2 次查看(过去 30 天)
hi,
I found that the "https://ww2.mathworks.cn/help/symbolic/solve-a-partial-differential-equation-tsunami-simulation.html#d126e37561", it has the problem that soliton = @(x,t) A.*sech(sqrt(3/4*g*A/H)*(x/c2+t)).^2; ,but it not Conservation of Dimensions . I think that it should be soliton = @(x,t) A.*sech(sqrt(3/4*g*A/H^2)*(x/c2+t)).^2. And I want to confirm that. Thank you!
  2 个评论
Torsten
Torsten 2024-4-7
The unit of
sqrt(3/4*g*A/H^2)
is sqrt(m)/s. I doubt this can be correct.
aoming
aoming 2024-4-8
Thanks! thank you.But I actually have an another problem,
the code :S = fft(soliton(-0.8*TimeScale*c2, linspace(0,TimeScale,2*(Nt/2)-1)))';
S = repmat(S,1,Nx);
I would like to ask where the initial position of the waves is? In the -0.8*TimeScale*c2? and why it is minus value?

请先登录,再进行评论。

回答(1 个)

the cyclist
the cyclist 2024-4-7
Disclaimer: I am not an expert in this!
I was not able to track down the exact (Goring & Reichlan) reference from the documentation, and therefore not the exact formula. But, I did find some related materials.
I'm guessing that you might be being fooled by having seen the formula where kappa is inside sech(), rather than g. Looking over some other reference, it seems to me that
kappa ~ g / H
which is where the "missing" dimension of H is hiding.
Another place that may have fooled you is that in the documentation, A is a dimensionless (divided by H) amplitude.
I hope that helps.
  1 个评论
aoming
aoming 2024-4-8
Thanks,cyclist!
But I actually have an another problem
the code :S = fft(soliton(-0.8*TimeScale*c2, linspace(0,TimeScale,2*(Nt/2)-1)))';
S = repmat(S,1,Nx);
I would like to ask where the initial position of the waves is? In the -0.8*TimeScale*c2? and why it is minus value?or the initial position is in the x_max = L2 + 12;?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by