Need help solving 1st order pde numerically

  • Thread starter re444
  • Start date
  • Tags
    Pde
In summary: Thanks for the write-up. I think I understand it better. Can you clarify something for me? You say that the equations you are working with were derived using the method of characteristics. What is the difference between the method of characteristics and the ordinary differential equations? Thanks.
  • #1
re444
15
0
Hi everybody,

I need to solve a 1st order PDE for my thesis and I'm not a specialist in this field.
I've read some texts about this and know one method of solving a 1st order PDE is the method of characteristics. since my equation is nonlinear and a bit complicated, I'm going to solve it numerically.

Equation should be solved in x-z domain so I have to solve a system of five ODEs and is a boundary problem (Cauchy problem). According to the text found in internet the five are of the form:

main formula:

10pcdps.jpg



ODEs to be solved:

33c6wcn.jpg



I omit the 5 boundary equations which are of the form for example for q, q(r,0)=g(r).

In the case of analytical solution at the end, u, the answer, will become: u=u(x,z). But when trying to solve numerically I'm a bit confused. How I should treat the parameter 'r' in ODEs? Software s like Matlab solves system of ODEs but this kind of ODEs with two parameters, 'r' and 's', seems strange to me!

Any suggestion and hint is really appreciated,
Reza,
 
Physics news on Phys.org
  • #2
These are all functions of r and s but you only have equations involving the derivative with respect to r? You will not be able to get a solution because you have no way to find the functions dependence on s.
 
  • Like
Likes 1 person
  • #3
Then How should I treat with my problem? Should I test some other methods? How about "Vanishing Viscosity method" ?
 
  • #4
re444 said:
Hi everybody,

I need to solve a 1st order PDE for my thesis and I'm not a specialist in this field.
I've read some texts about this and know one method of solving a 1st order PDE is the method of characteristics. since my equation is nonlinear and a bit complicated, I'm going to solve it numerically.

Equation should be solved in x-z domain so I have to solve a system of five ODEs and is a boundary problem (Cauchy problem). According to the text found in internet the five are of the form:

main formula:

10pcdps.jpg




ODEs to be solved:

33c6wcn.jpg



I omit the 5 boundary equations which are of the form for example for q, q(r,0)=g(r).

In the case of analytical solution at the end, u, the answer, will become: u=u(x,z). But when trying to solve numerically I'm a bit confused. How I should treat the parameter 'r' in ODEs? Software s like Matlab solves system of ODEs but this kind of ODEs with two parameters, 'r' and 's', seems strange to me!

Any suggestion and hint is really appreciated,
Reza,
What is the definition of r in this development? I assume that the equations you have listed were derived using the method of characteristics. Correct? Would it be possible to list the original PDEs and boundary conditions?
 
  • #5
Chestermiller said:
What is the definition of r in this development? I assume that the equations you have listed were derived using the method of characteristics. Correct? Would it be possible to list the original PDEs and boundary conditions?

Yes sure, the original PDE is:

288nhgo.jpg


in which [itex]\alpha_{i}[/itex]s are medium related parameters.

The formulation of the characteristic method I'm using is from here.

thanks,
Reza
 
  • #6
Thanks for sending me the write-up on the method of characteristics. It was a little complicated, and I didn't have the determination or time to go through the details. But I do understand the questions you are asking as well as the equations you are working with. The parameters r and s are independent variables, and x and y are parameterized in terms of r and s. You are integrating along lines of constant r in the s direction. You will be solving the set of differential equations over and over again, starting at location s = 0, but for different values of r. This is how you fill in the function space of all the dependent variables as a function of r and s. But, for this to work, you need to know the dependent variable values at the appropriate x and z values that correspond to the curve s = 0 at the different values of r along that contour. I hope this makes sense. The key is that you have to solve the ordinary differential equations over and over again for various values of r.

Chet
 

1. What is a 1st order PDE?

A 1st order PDE, or partial differential equation, is a mathematical equation that involves multiple variables and their partial derivatives. It represents a relationship between a function and its partial derivatives with respect to those variables.

2. Why do we need to solve 1st order PDE numerically?

Solving 1st order PDEs numerically allows us to approximate the solution to a problem when an analytical solution is not possible. This is often the case in complex systems or real-world applications where the equations involved are too complicated to solve by hand.

3. What are some commonly used numerical methods for solving 1st order PDEs?

Some commonly used numerical methods for solving 1st order PDEs include the method of lines, finite difference methods, finite element methods, and spectral methods. Each method has its own advantages and limitations, and the choice of method depends on the specific problem being solved.

4. How do I know if my numerical solution to a 1st order PDE is accurate?

There are several ways to assess the accuracy of a numerical solution to a 1st order PDE. One way is to compare it to an analytical solution, if one exists. Another way is to refine the discretization of the problem and observe how the solution changes. Additionally, error analysis techniques can be used to quantify the accuracy of the numerical solution.

5. What are some challenges in solving 1st order PDEs numerically?

One challenge in solving 1st order PDEs numerically is choosing an appropriate numerical method and discretization scheme for the specific problem. Another challenge is ensuring stability and accuracy of the solution, as numerical methods can introduce errors. Additionally, solving large systems of PDEs can be computationally expensive and may require specialized software or high-performance computing resources.

Similar threads

  • Differential Equations
Replies
3
Views
392
  • Differential Equations
Replies
5
Views
2K
  • Differential Equations
Replies
1
Views
1K
Replies
1
Views
1K
Replies
5
Views
1K
  • Science and Math Textbooks
Replies
12
Views
924
  • Differential Equations
Replies
9
Views
2K
Replies
6
Views
2K
  • Differential Equations
Replies
12
Views
2K
  • Differential Equations
Replies
1
Views
1K
Back
Top