Function Reference: Volume 3 (P-Z) - The MathWorks - #251

/ 1696


catalogue search
P. 251
P. 252
P. 253
P. 254
P. 255
P. 256
P. 257
P. 258
P. 259
P. 260
P. 261
P. 262
P. 263
P. 264
P. 265
P. 266
P. 267
P. 268
P. 269
P. 270
P. 271
P. 272
P. 273
P. 274
P. 275
P. 276
P. 277
P. 278
P. 279
P. 280
P. 281
P. 282
P. 283
P. 284
P. 285
P. 286
P. 287
P. 288
P. 289
P. 290
P. 291
P. 292
P. 293
P. 294
P. 295
P. 296
P. 297
P. 298
P. 299
P. 300


See other catalogues for The MathWorks

Text version of the page
pdepe
fixed mesh in xmesh. The cost depends strongly on the length of xmesh. When /71 > 0, it is not necessary to use a fine mesh near .■. = l.l to account for the coordinate singularity.
• The time integration is done with ode15s. pdepe exploits the capabilities of ode15s for solving the differential-algebraic equations that arise when Equation 2-2 contains elliptic equations, and for handling Jacobians with a specified sparsity pattern.
• After discretization, elliptic equations give rise to algebraic equations. If the elements of the initial conditions vector that correspond to elliptic equations are not "consistent" with the discretization, pdepe tries to adjust them before beginning the time integration. For this reason, the solution returned for the initial time may have a discretization error comparable to that at any other time. Ifthe mesh is sufficiently fine, pdepe can find consistent initial conditions close to the given ones. If pdepe displays a message that it has difficulty finding consistent initial conditions, try refining the mesh.
No adjustment is necessary for elements of the initial conditions vector that correspond to parabolic equations.
Examples Example 1. This example illustrates the straightforward formulation,
computation, and plotting of the solution of a single PDE.
dt òx\òx) This equation holds on an interval 0 < X < 1 for times t > 0. The PDE satisfies the initial condition
it (x, 0) = sin Tra:
and boundary conditions
2-2535

pageCatalog pdf di En 2012-06-22-01