Defines the boundary condition of partial differential equations. You must manually select the polymorphic instance to use.


icon

Inputs/Outputs

  • cNI__PDE_lvlib_NI__PDElvclass.png PDE in

    PDE in is the class that stores the data of the equation.

  • c2ddbl.png 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.

  • ci32.png type

    type specifies the type of the boundary condition.

    0Dirichlet (default)—The boundary of the domain evaluates the value of the unknown function to specify the boundary condition.
    1Neumann—The boundary of the domain evaluates the value of the normal derivative of the unknown function to specify the boundary condition.
  • ci32.png position

    position specifies the position of the boundary condition.

    0Start X (default)—LabVIEW evaluates the boundary condition with start x from the Define PDE Domain VI.
    1End X—LabVIEW evaluates the boundary condition with end x from the Define PDE Domain VI.
    2Start Y—LabVIEW evaluates the boundary condition with start y from the Define PDE Domain VI.
    3End Y—LabVIEW evaluates the boundary condition with end y from the Define PDE Domain VI.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iNI__PDE_lvlib_NI__PDElvclass.png PDE out

    PDE out returns PDE in with the boundary condition.

  • ierrcodeclst.png 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.

    Note If the boundary type is Neumann, you must specify the value of the normal derivative of the unknown function and not the value of derivatives along the x- or y-axes. Moreover, you cannot specify the Neumann condition on a polygonal 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