TimeDependentResults
Time-dependent PDE solution and derived quantities
Description
A TimeDependentResults object contains the solution of a
            PDE and its gradients in a form convenient for plotting and
            postprocessing.
- A - TimeDependentResultsobject contains the solution and its gradient calculated at the nodes of the triangular or tetrahedral mesh, generated by- generateMesh.
- Solution values at the nodes appear in the - NodalSolutionproperty.
- The solution times appear in the - SolutionTimesproperty.
- The three components of the gradient of the solution values at the nodes appear in the - XGradients,- YGradients, and- ZGradientsproperties.
- The array dimensions of - NodalSolution,- XGradients,- YGradients, and- ZGradientsenable you to extract solution and gradient values for specified time indices, and for the equation indices in a PDE system.
To interpolate the solution or its gradient to a custom grid (for example, specified
            by meshgrid), use interpolateSolution or
                evaluateGradient.
Creation
There are several ways to create a TimeDependentResults object:
- Solve a time-dependent problem using the - solvepdefunction. This function returns a PDE solution as a- TimeDependentResultsobject. This is the recommended approach.
- Solve a time-dependent problem using the - parabolicor- hyperbolicfunction. Then use the- createPDEResultsfunction to obtain a- TimeDependentResultsobject from a PDE solution returned by- parabolicor- hyperbolic. Note that- parabolicand- hyperbolicare legacy functions. They are not recommended for solving PDE problems.
Properties
Object Functions
| evaluateCGradient | Evaluate flux of PDE solution | 
| evaluateGradient | Evaluate gradients of PDE solutions at arbitrary points | 
| interpolateSolution | Interpolate PDE solution to arbitrary points | 
Examples
Version History
Introduced in R2016a

