Solving a Nonlinear PDE in Maple 18 using Numeric Methods

  • Maple
  • Thread starter MathematicalPhysicist
  • Start date
  • Tags
    Maple Pde
In summary, the conversation involved discussing code for solving a specific nonlinear PDE. The code included defining the problem, setting parameters, and attempting to solve and plot the solution. However, the solution was not converging and the question was raised about using a different method, such as Runge-Kutta. The problem being solved was a nonlinear PDE. There were no new findings or updates at the time of the conversation.
  • #1
MathematicalPhysicist
Gold Member
4,699
371
I wrote the next code:
Code:
restart;
pde := diff(u(x, t), t)+diff(u(x, t), x)-(diff(diff(u(x, t), x), t))^2 = u(x, t);
    
tmax := 0.5e-1; 
xmin := 0; 
xmax := 1;
 N := 10;
 bc1 := du(xmin, t) = 0;
 bc2 := u(xmax, t) = 0;
 ic1 := u(x, 0) = 1; 
ic2 := du(x, 0) = 2;
 bcs := {u(x, 0) = rhs(ic1), (D[1](u))(0, t) = rhs(bc1)};

pds := pdsolve(pde, bcs, numeric, time = t, range = 0 .. xmax, indepvars = [x, t], spacestep = (1/1000)*xmax, timestep = (1/1000)*tmax);
 
pds:-plot3d(t = 0 .. tmax, x = xmin .. xmax, axes = boxed, orientation = [-150, 80], shading = zhue, transparency = .1)

And I get the next two errors:
Code:
Error, (in pdsolve/numeric/plot3d) unable to compute solution for t>HFloat(0.0):
Newton iteration is not converging

Is there a method that will converge for this PDE?

Maybe Runga Kutta?

Thanks in advance.

Btw, the PDE that I had in mind is: [tex]u_x+u_t - (u_{xt})^2 = u[/tex] a nonlinear pde.
 
Physics news on Phys.org
  • #2
I'm sorry you are not generating any responses at the moment. Is there any additional information you can share with us? Any new findings?
 

1. What is a nonlinear PDE?

A nonlinear PDE (partial differential equation) is a type of mathematical equation that involves multiple variables and their partial derivatives. Unlike linear PDEs, which can be solved using simple algebraic methods, nonlinear PDEs require more complex techniques to find a solution.

2. Why is it important to solve nonlinear PDEs in Maple 18?

Maple 18 is a powerful mathematical software that has built-in tools for solving differential equations, including nonlinear PDEs. By using Maple 18, researchers and scientists can quickly and accurately solve complex nonlinear PDEs, which are often encountered in physics, engineering, and other scientific fields.

3. What are numerical methods for solving nonlinear PDEs?

Numerical methods involve using algorithms and computer programs to approximate the solution to a mathematical equation. In the context of solving nonlinear PDEs in Maple 18, numerical methods refer to techniques such as finite differences, finite element methods, and finite volume methods.

4. How do I solve a nonlinear PDE in Maple 18 using numeric methods?

To solve a nonlinear PDE in Maple 18 using numeric methods, you first need to define the PDE using the appropriate commands and syntax. Then, you can use the Maple 18 built-in functions such as "pdsolve" or "numericdsolve" to find a numerical solution to the PDE. You can also specify the desired accuracy and other parameters in the solving process.

5. Are there any limitations to solving nonlinear PDEs in Maple 18 using numeric methods?

While Maple 18 is a powerful software for solving differential equations, it may not be able to find a solution to every type of nonlinear PDE. Some PDEs may require more advanced techniques or may not have a closed-form solution at all. In such cases, Maple 18 can still provide a numerical solution, but it may require more computing power and time.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • Differential Equations
Replies
3
Views
379
  • Differential Equations
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
7K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
7
Views
1K
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
3K
Back
Top