フィルターのクリア

Transforming linear pde to code equation

3 ビュー (過去 30 日間)
University Glasgow
University Glasgow 2022 年 7 月 24 日
回答済み: SAI SRUJAN 2023 年 10 月 10 日
Hi everyone,
Please how can I transform linear pde to code equation. The equations are in the attached file
BC:
theta(0,t) = theta(d,t) = 0
v(0, t) = v(d,t) = 0
  2 件のコメント
Torsten
Torsten 2022 年 7 月 24 日
And what is theta(z,0) and v(z,0) for 0<=z<=d ?
University Glasgow
University Glasgow 2022 年 7 月 24 日
編集済み: University Glasgow 2022 年 7 月 24 日
theta(z,0) = pi/2
v(z,0) = 0
d = 0.0002
alpha2 = -.1104,
k3 = 7.5*10^(-12)
eta2 = .1361,

サインインしてコメントする。

回答 (1 件)

SAI SRUJAN
SAI SRUJAN 2023 年 10 月 10 日
Hi ,
I understand that you are trying to convert linear pde into a code equation.
You can follow the below given example to resolve the issue.
syms f(x,y) x y
eqn1=diff(f,x)
eqn1(x, y) = 
eqn2=diff(diff(f,x),x)
eqn2(x, y) = 
eqn3=diff(diff(f,x),y)
eqn3(x, y) = 
The MATLAB function "diff" can be used to convert partial differential equations into code equations, you can refer to the above example to proceed further. For a comprehensive understanding of the "diff" function in MATLAB, please refer to the provided documentation below.

カテゴリ

Help Center および File ExchangePartial Differential Equation Toolbox についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by