FEMDocumentation`
FEMDocumentation`

PDESolve

PDESolve[cdata,bcdata,vd,sd,mdata]

solves a PDE based on coefficient data cdata, boundary condition data bcdata, variable data vd, solution data sd and method data mdata to return new solution data.

Details

Examples

open all close all

Basic Examples  (3)

Load the finite element package:

In[1]:=
Click for copyable input

Set up a NumericalRegion:

In[2]:=
Click for copyable input
Out[2]=

Set up variable and solution data:

In[3]:=
Click for copyable input

Initialize the partial differential equation data:

In[4]:=
Click for copyable input
Out[4]=

Set up the solution of the linear PDE . Initialize the linear coefficients:

In[1]:=
Click for copyable input
Out[1]=

Initialize the linear boundary condition data:

In[2]:=
Click for copyable input
Out[2]=

Solve the PDE:

In[3]:=
Click for copyable input

Post-process the PDE:

In[4]:=
Click for copyable input
Out[4]=

Set up the solution of the nonlinear PDE . Initialize the nonlinear coefficients:

In[1]:=
Click for copyable input
Out[1]=

Initialize nonlinear boundary condition data:

In[2]:=
Click for copyable input
Out[2]=

Specify an initial guess:

In[3]:=
Click for copyable input
Out[3]=

Solve the nonlinear PDE:

In[4]:=
Click for copyable input

Post-process the PDE:

In[5]:=
Click for copyable input
Out[5]=

Options  (8)