Defines the initial condition of a partial differential equation. You must manually select the polymorphic instance to use.


icon

Inputs/Outputs

  • cfxdt.png data

    data is a variant that passes arbitrary values to the VI.

  • cNI__PDE_lvlib_NI__PDElvclass.png PDE in

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

  • csvrn.png Initial Condition

    Initial Condition is a strictly typed reference to the VI that implements the initial condition.

    Create this VI by starting from the VI template located in labview\vi.lib\gmath\pde.llb\Common\2D Evolutionary PDE Func Template.vit.

  • 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 initial condition.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • The heat equation requires only the initial value to solve the equation. However, for the wave equation, specify the value and the derivative value with respect to the time variable at initial time. The following block diagram is an example of how to define the initial condition for a one-dimensional wave equation. The VI defines the initial value, and the numeric array defines the initial derivative.

    Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Mathematics\Differential Equations - PDE\PDE String Vibration.vi
    • labview\examples\Mathematics\Differential Equations - PDE\PDE Thermal Distribution.vi