Define PDE Domain VI
- Updated2025-07-30
- 3 minute(s) read
Defines the domain where you solve the partial differential equation. You must manually select the polymorphic instance to use.

The following illustration shows the uniform mesh grid on a rectangular domain with the default values. Both the x- and y-axes range from 0 to 1 with 11 evenly spaced grid points. The black circle points are the points on the boundary of the rectangular domain. The red square points are the inner points on the mesh grid.

The following illustration shows the unit circle on a polygonal domain. The black circle points are the points on the boundary of the domain that generate evenly on the unit circle. The red square points are the inner grid points that generate automatically with the default of grid factor.

The following block diagram illustrates a VI that defines the polygonal domain, as shown in the previous illustration.

If you do not wire a value to Grid Points, LabVIEW generates the boundary points automatically based on grid factor, which determines the density of the grid points. LabVIEW performs triangulation on the grid points before solving the equation. The grid factor approximates the ratio of the average area of the triangles to the area of the whole polygonal domain.
If you have prior knowledge of the unknown function, wire a value to Grid Points. You can use sparse grid points in areas where the unknown function varies smoothly and use dense grid points in areas where the unknown function varies sharply. For some problems, this flexibility in the choice of grid points can return better results than a set of uniformly distributed grid points.
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