Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Initial Conditions

Specify initial conditions

Set initial conditions using the setInitialConditions function. A PDE model stores initial conditions as a vector of GeometricInitialConditions objects in its InitialConditions property. After you set initial conditions, you can adjust or delete them anytime before solving the PDE. For details, see Set Initial Conditions and View, Edit, and Delete Initial Conditions.

Functions

findInitialConditions Locate active initial conditions
setInitialConditions Give initial conditions or initial solution

Properties

GeometricInitialConditions Properties Initial conditions over a region or region boundary
NodalInitialConditions Properties Initial conditions at mesh nodes

Topics

Programmatic Workflow

Set Initial Conditions

Set initial conditions for time-dependent problems or initial guess for nonlinear stationary problems.

View, Edit, and Delete Initial Conditions

Access and modify boundary condition assignments stored in the InitialConditions property of PDEModel by using the findInitialConditions function.

Was this topic helpful?