Define 2D Helmholtz 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 the boundary condition. If you define the equation on the rectangular domain, Boundary Condition stores the values of the unknown function evaluated at position. When position is Start X or End X, the length of Boundary Condition must be # of y-points from the Define PDE Domain VI. When position is Start Y or End Y, the length of Boundary Condition must be # of x-points from the Define PDE Domain VI. If the equation is defined on the polygonal domain, Boundary Condition stores the values of the unknown function evaluated at Boundary Points from the Define PDE Domain VI. The length of Boundary Condition must equal the number of Boundary Points. By default, LabVIEW assumes that the boundary condition values are zeros.
type
—
type specifies the type of boundary condition. If you define the equation on the polygonal domain, type must be Dirichlet.
position
—
position specifies the position of the boundary condition. If you define the equation on the polygonal domain, position must be Start X.
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
—





