FEMDocumentation`
FEMDocumentation`

DiscretizedPDEData

DiscretizedPDEData[]

represents discretized partial differential equation data.

Details

  • DiscretizedPDEData[] is created by DiscretizePDE.
  • DiscretizedPDEData[] contains matrix representations of the discretized partial differential equations.
  • In standard output format, only the total degrees of freedom are shown.
  • DiscretizedPDEData[][prop] gives the property prop of the DiscretizedPDEData object. The following properties may be given:
  • "LoadVector"extracts the load vector
    "LoadElements"extracts load elements
    "Properties"list of properties
    "StiffnessMatrix"extracts the stiffness matrix
    "StiffnessElements"extracts stiffness elements
    "All"extracts all system vectors and matrices
    "DampingMatrix"extracts the damping matrix
    "DampingElements"extracts damping elements
    "MassMatrix"extracts the mass matrix
    "MassElements"extracts mass elements
  • Boundary conditions may be deployed into the system matrices with DeployBoundaryConditions.

Examples

open all close all

Basic Examples  (1)

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

Specify a Poisson equation as coefficients:

In[4]:=
Click for copyable input

Initialize the PDE method data:

In[5]:=
Click for copyable input

Discretize the initialized PDE coefficients based on method data and solution data:

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

Scope  (9)