Fit experimental data to 1D convection diffusion solution
古いコメントを表示
Hi everyone,
I am new to fitting surfaces to equations, but basically I am trying to solve the convection diffusion equation in 1D using data extracted from a simulation.
The 1D equation is of the form: du(x,t)/dt = c*du/dx + D*(d^2u/dx^2). I know the inital boundary conditions as: u(x,0) = 293.15, u(0,t) = 271.15 for t>0, boundary at L is open boundary.
What I want is to get a solution in equation form: soln = f(x,t) by fitting the data [see attachment]. The data contains u (temperature) as function of x (distance) and t (time).
Is this possible to achieve?
Thanks!
1 件のコメント
Torsten
2020 年 4 月 8 日
Couple lsqcurvefit as fitting tool with pdepe as integrator for the partial differential equation.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Geometry and Mesh についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!