Define 1D Wave PDE IC (VIRef) VI
- Updated2025-07-30
- 3 minute(s) read
Defines the initial condition of a partial differential equation. You must manually select the polymorphic instance to use.

Inputs/Outputs
data
—
data is a variant that passes arbitrary values to the VI.
PDE in
—
PDE in is the class that stores the data of the equation.
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\1D Evolutionary PDE Func Template.vit.
type
—
type specifies the type of the initial 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 initial condition.
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
data
—
PDE in
—
Initial Condition
—
type
—
error in (no error)
—
PDE out
—
error out
—