NDSolve::bcsol NDSolveValue::bcsol ParametricNDSolve::bcsol ParametricNDSolveValue::bcsol

更多信息

  • This message is generated when the partial differential equation solver is unable to solve algebraically for the boundary conditions needed to compute a solution.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[NDSolve::bcsol].

范例

基本范例  (1)

The partial differential equation solver is unable to solve algebraically for the boundary conditions needed to compute a solution:

The problem here is that BC1 is defined at [t,0], but BC2 is also defined at [t,0]. To solve the problem, change the location of BC2 to [t,2*L]. Then, boundary conditions are defined on both ends of the boundary, instead of just one: