pde1dM
1D Partial Differential Equation Solver for MATLAB and Octave
pde1dM在单个空间变量和时间内求解偏微分方程(PDE)系统。输入与MATLAB函数pdepe基本兼容。许多pdepe示例将与pde1dM配合使用,只需进行一些小的更改。
pde1dM solves systems of partial differential equations (PDE) in a single spatial variable and time. The input is mostly compatible with the MATLAB function pdepe. Many pdepe examples will work with pde1dM with only small changes.
与pdepe相比,pde1dM的主要增强之处在于,pde1dM允许将任意数量的常微分方程(ODE)耦合到PDE系统。例如,这些ODE的一个用途是在PDE域的两端允许更复杂的边界条件。
The main enhancement of pde1dM compared with pdepe is that pde1dM allows any number of ordinary differential equations (ODE) to be coupled to the system of PDE. One use of these ODE, for example, is to allow more complex boundary conditions at the two ends of the PDE domain.
pde1dM目前不支持pdepe的两种功能。当PDE在柱坐标系或球坐标系中定义且域的左端从零开始时,PDE使用特殊的近似函数来解释该点的奇异性;pde1dM没有。此外,pdepe还支持事件检测功能;pde1dM当前不支持事件功能。
Two capabilities of pdepe are not currently supported by pde1dM. When the PDE is defined in a cylindrical or spherical coordinate system and the left end of the domain starts at zero, pdepe uses special approximation functions to account for the singularity at this point; pde1dM does not. Also, pdepe supports an event detection capability; pde1dM currently does not support events.
Several examples and basic documentation are included. An excellent introduction to solving PDE with the pdepe function is Professor Howard’s note, Partial Differential Equations in MATLAB 7.0.
Installation
This code repository can be cloned (or a ZIP file downloaded) to any local directory. This directory should be added to the MATLAB or Octave directory path using the addpath function or the corresponding GUI command.
下载地址:
https://url92.ctfile.com/f/1850492-505830002-6c9eef
(访问密码:3660)
更多精彩文章请关注公众号: