Set initial conditions using the
A PDE model stores initial conditions as a vector of
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.
Set initial conditions for time-dependent problems or initial guess for nonlinear stationary problems.
Access and modify boundary condition assignments stored in the InitialConditions property of PDEModel by using the findInitialConditions function.