필터 지우기
필터 지우기

The Tsunami model has need to fixed this problem

조회 수: 2 (최근 30일)
aoming
aoming 2024년 4월 7일
댓글: aoming 2024년 4월 8일
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에서 Boundary Conditions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by