Define 2D Heat PDE BC (Numeric) VI
- Updated2025-07-30
- 4 minute(s) read
Defines the boundary condition of partial differential equations. You must manually select the polymorphic instance to use.

Inputs/Outputs
PDE in
—
PDE in is the class that stores the data of the equation.
Boundary Condition
—
Boundary Condition specifies the value of boundary condition. When position is Start X or End X, the size of Boundary Condition must be # of t-points-by-# of y-points from the Define PDE Domain VI. Each row of Boundary Condition stores the values of the unknown function evaluated on points Y from the Define PDE Domain VI at a particular time step. Each column of Boundary Condition stores the values of the unknown function evaluated at a particular y-point over time. When position is Start Y or End Y, the size of Boundary Condition must be # of t-points-by-# of x-points from the Define PDE Domain VI. Each row of Boundary Condition stores the values of the unknown function evaluated on points X from the Define PDE Domain VI at a particular time step. Each column of Boundary Condition stores the values of the unknown function evaluated at particular x-points over time. By default, LabVIEW assumes that the boundary condition values are zeros.
type
—
type specifies the type of the boundary condition.
position
—
position specifies the position of the boundary condition.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PDE out
—
PDE out returns PDE in with the boundary condition.
error out
—
error out contains error information. This output provides standard error out functionality. |
The following table gives the definitions of a normal derivative for one-dimensional equations and for two-dimensional equations defined on a rectangular domain.
| Position | Normal Derivative (One-Dimension) | Normal Derivative (Rectangular Domain) |
|---|---|---|
| Start X | ![]() |
![]() |
| End X | ![]() |
![]() |
| Start Y | N/A | ![]() |
| End Y | N/A | ![]() |
The following block diagram is an example of defining the boundary condition for a one-dimensional wave equation. The boundary condition at Start X is Dirichlet, which the VI defines. The boundary condition at End X is Neumann, which the numeric array defines.

Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Differential Equations - PDE\PDE Flexible Element.vi
- labview\examples\Mathematics\Differential Equations - PDE\PDE String Vibration.vi
- labview\examples\Mathematics\Differential Equations - PDE\PDE Thermal Distribution.vi
PDE in
—
Boundary Condition
—
type
—
error in (no error)
—
PDE out
—
error out
—





