general pdes -凯发k8网页登录
you can use partial differential equation toolbox™ to solve linear and nonlinear second-order pdes for stationary, time-dependent, and eigenvalue problems that occur in common applications in engineering and science.
a typical workflow for solving a general pde or a system of pdes includes the following steps:
convert pdes to the form required by partial differential equation toolbox.
create a pde model container specifying the number of equations in your model.
defining 2-d or 3-d geometry and mesh it using triangular and tetrahedral elements with linear or quadratic basis functions.
specify the coefficients, boundary and initial conditions. use function handles to specify non-constant values.
solve and plot the results at nodal locations or interpolate them to custom locations.
functions
live editor tasks
create and explore visualizations of pde results in the live editor |
objects
pde model object | |
time-independent pde solution and derived quantities | |
time-dependent pde solution and derived quantities | |
pde eigenvalue solution and derived quantities |
properties
boundary condition for pde model | |
coefficient assignments | |
initial conditions over a region or region boundary | |
initial conditions at mesh nodes | |
algorithm options for solvers | |
pde visualization of mesh and nodal results |
topics
pde problem setup
workflow describing how to set up and solve pde problems using partial differential equation toolbox.
set dirichlet and neumann conditions for scalar pdes and systems of pdes. use functions when you cannot express your boundary conditions by constant input arguments.
specify the coefficient f in the equation.
set initial conditions for time-dependent problems or initial guess for nonlinear stationary problems.
solutions and their gradients
plot 2-d and 3-d pde solutions and their gradients usingpdeplot
andpdeplot3d
.
plot 2-d pde solutions and their gradients usingsurf
,mesh
,quiver
, and other matlab® functions.- 3-d solution and gradient plots with matlab functions
plot 3-d pde solutions, their gradients, and streamlines usingsurf
,contourslice
,quiver
, and other matlab functions.
dimensions of stationary, time-dependent, and eigenvalue results at mesh nodes and arbitrary locations.
eigenvalue and wave problems
find the eigenvalues and eigenmodes of a square domain.- eigenvalues and eigenmodes of l-shaped membrane
use command-line functions to find the eigenvalues and the corresponding eigenmodes of an l-shaped membrane.
solve a standard second-order wave equation.
compute reflected waves from an object illuminated by incident waves.
workflows integrated with other toolboxes
solve a poisson's equation with dirichlet boundary conditions using pinn.- (medical imaging toolbox)
estimate bone stress and strain in a vertebra bone under axial compression using finite element (fe) analysis.
finite element method and partial differential equations
- equations you can solve using pde toolbox
types of scalar pdes and systems of pdes that you can solve using partial differential equation toolbox.
transform pdes to the form required by partial differential equation toolbox.
description of the use of the finite element method to approximate a pde solution using a piecewise linear function.