Help with the numerical method of characteristics

In summary, the numerical method of characteristics is a technique used in numerical analysis to solve partial differential equations by converting them into a system of ordinary differential equations. It is important in science as it allows for efficient and accurate solutions to complex equations. The basic steps involved include converting the equation, choosing appropriate conditions, using numerical methods, and validating the solution. The advantages of the method include efficiency, accuracy, and flexibility, but it also has limitations such as convergence and stability issues, as well as limitations in accuracy depending on the chosen methods and conditions.
  • #1
kobjob
7
0
I have a system of first order pdes of the form
dm/dt+f(m,n,a)dm/dx = g1(m,n,a),
dn/dt+f(m,n,a)dn/dx = g2(m,n,a),
da/dt+f(m,n,a)da/dx = g3(m,n,a).
(those d's are partials)

I want to solve them with the numerical MOC's so I put dx/dt = f(m,n,a), dm/dt = g1(m,n,a) etc and solve this system of 4 odes with the explicit euler method. I don't think I'm doing it properly though because my solution is way too different from the one I got using the upwinding method. I'm also not sure how to treat the moving bounday... in fact I'm not really sure about any of it so if someone could help me out/point me towards an appropriate book or website i would be really grateful.

Thanks,
kate
 
Physics news on Phys.org
  • #2


Dear Kate,

Thank you for sharing your question on the forum. Solving systems of first order partial differential equations (PDEs) using the method of characteristics (MOCs) can be a challenging task, and it is important to carefully consider the approach you are taking. Here are some suggestions and resources that may help you in solving your system of PDEs.

1. Check your boundary conditions: The boundary conditions are crucial in solving any PDE, and it is important to make sure that they are properly specified for your problem. In the case of a moving boundary, you may need to use a different approach, such as the method of lines, to discretize your domain and solve the equations.

2. Understand the MOCs: Before applying the MOCs, it is important to have a good understanding of what they are and how they work. The MOCs are a method for solving first order PDEs, and they involve finding curves (characteristics) along which the solution is constant. These curves are determined by the equations themselves, and can be used to reduce the PDEs into a system of ordinary differential equations (ODEs). You can find more information on the MOCs in textbooks or online resources such as this one: https://math.berkeley.edu/~evans/OCam-Notes/OCam-Notes.html.

3. Consider using a different discretization method: While the explicit Euler method is a commonly used method for solving ODEs, it may not be the most appropriate choice for solving your system of PDEs. You may want to consider using a more accurate and stable method, such as the implicit Euler method or a Runge-Kutta method. These methods can be found in most numerical analysis textbooks.

4. Consult a numerical analysis textbook: There are many excellent textbooks that cover numerical methods for solving PDEs, such as "Numerical Methods for Partial Differential Equations" by George F. Pinder and "Numerical Methods for Partial Differential Equations" by William F. Ames. These textbooks provide a thorough introduction to numerical methods for PDEs and can serve as a helpful reference for your problem.

I hope these suggestions are helpful in guiding you towards an appropriate solution for your system of PDEs. It is also a good idea to consult with your colleagues or a supervisor for additional guidance and support. Good luck with your research!
 

Related to Help with the numerical method of characteristics

1. What is the numerical method of characteristics?

The numerical method of characteristics is a technique used in numerical analysis to solve partial differential equations. It involves converting a partial differential equation into a system of ordinary differential equations, which can then be solved using numerical methods.

2. Why is the numerical method of characteristics important in science?

The numerical method of characteristics is important in science because it allows for the efficient and accurate solution of complex partial differential equations, which are commonly used to model physical phenomena in various fields such as engineering, physics, and finance.

3. What are the basic steps involved in using the numerical method of characteristics?

The basic steps involved in using the numerical method of characteristics are:

  • Convert the partial differential equation into a system of ordinary differential equations using the method of characteristics.
  • Choose appropriate initial and boundary conditions for the system of equations.
  • Use numerical methods, such as finite difference or finite element methods, to solve the system of equations and obtain a numerical solution.
  • Validate the solution and make necessary adjustments to improve accuracy.

4. What are the advantages of using the numerical method of characteristics?

The advantages of using the numerical method of characteristics include:

  • Efficiency: The method allows for the efficient solution of complex partial differential equations, which would be difficult to solve analytically.
  • Accuracy: With appropriate numerical methods and validation techniques, the method can provide accurate solutions.
  • Flexibility: The method can be applied to a wide range of partial differential equations and can handle complex boundary and initial conditions.

5. Are there any limitations to the numerical method of characteristics?

While the numerical method of characteristics has many advantages, it also has some limitations. These include:

  • Convergence issues: The method may not converge to a solution in some cases, especially when dealing with highly nonlinear equations.
  • Stability issues: Incorrect choice of numerical methods or parameters can lead to unstable solutions.
  • Accuracy limitations: The accuracy of the solution depends on the chosen numerical methods and the quality of initial and boundary conditions.

Similar threads

Replies
7
Views
2K
  • Differential Equations
Replies
1
Views
996
Replies
2
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Quantum Physics
Replies
1
Views
652
  • Differential Equations
Replies
7
Views
2K
Replies
14
Views
2K
  • Differential Equations
Replies
1
Views
904
Replies
1
Views
1K
Back
Top