Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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

findInitialConditionsLocate active initial conditions
setInitialConditionsGive initial conditions or initial solution

Properties

GeometricInitialConditions PropertiesInitial conditions over a region or region boundary
NodalInitialConditions PropertiesInitial 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?