In summary, you are trying to solve the well known momentum equation in 3D cylindrical coordinates, but are having trouble getting convergence. You might try doubling the mesh size to see if that helps.
  • #1
say_cheese
41
1
I need to solve the well known momentum equation in 3D cylindrical coordinates:
ρ(∂v/∂t +(v.∇)v)=A

where A and the velocity v are both local vector variables.

I am actually looking for the stationary solution to the equation, i.e. no ∂/∂t term)

I have tried evolving the velocity and tried successive overrelaxation method but separately calculating derivatives. I can't get convergence.

Any one with a suggestion? I actually use IDL. So a suggestion in that would be even better.

Thanks
Jay
 
Physics news on Phys.org
  • #2
What are your boundary conditions?
 
  • #3
The theta and phi coordinates are cyclic (v(0)=v(2*pi)), v=0, dv/dr=0 at v=0 and a.
 
  • #4
you can write u*(du/dx) as 1/2 (d(u^2)/dx). Try solving it that way.
 
  • #5
I will try this, but that is only one term in (v.∇)v. The parameters have 3 components and the components of the equation have other component terms such as vr∂vθ/∂r.
 
  • #6
say_cheese said:
I will try this, but that is only one term in (v.∇)v. The parameters have 3 components and the components of the equation have other component terms such as vr∂vθ/∂r.

Is there any chance your iterative methods are getting thrown off by coordinate and/or basis vector singularities? Did you include the derivative of the radial and angular basis vectors in the nonlinear term? Also, what's the resolution of your mesh?
 
  • #7
Good questions. My present mesh sizes are about 5% of the variation length of the driving term A. The driving term is sinusoidal in theta and phi with a mild radial dependence. (180,50,50) mesh. There is a sharper variation in one area and I have remeshed there 5 times. It is quite possible that the divergence of iteration is seeded in one location. I need to interrupt the iteration and see. As you can see 3D problems are expensive in finer mesh. But yes, I will try doubling the mesh and see.

I realized that the proper way to solve it is to use a stream function - v=∇xψ (divergence free flow). This would reduce the number of equations and couplings, but would make it a higher order equation.
 
  • #8
Good plan. I would also recommend developing some way of visualizing the 3D field so that you can look at it when you interrupt. You're going to need some way of seeing what's making the algorithm cough in your data and a good bit of luck to find what's causing non-convergence. It's still possible that it's just not converging fast enough.

The calculations might be less expensive in Cartesian. I'd try that if you get stumped.
 
  • #9
say_cheese said:
The theta and phi coordinates are cyclic (v(0)=v(2*pi)), v=0, dv/dr=0 at v=0 and a.
In your first post you said "in cylindrical coordinates". Cylindrical coordinates has only a "theta" coordinate, not phi.
 

1. What is a nonlinear first order differential equation?

A nonlinear first order differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It involves a nonlinear function of the dependent variable and its derivatives, making it more complex than a linear first order differential equation.

2. How is a nonlinear first order differential equation different from a linear one?

A linear first order differential equation has a linear relationship between the dependent variable and its derivatives, meaning that the highest power of the derivative is one. In contrast, a nonlinear first order differential equation has a nonlinear relationship between the dependent variable and its derivatives, with the highest power of the derivative being greater than one.

3. Can nonlinear first order differential equations be solved analytically?

In most cases, nonlinear first order differential equations cannot be solved analytically, meaning that there is no explicit formula for the solution. Instead, numerical methods and approximations are often used to find solutions.

4. What are some real-life applications of nonlinear first order differential equations?

Nonlinear first order differential equations are used in many scientific fields, including physics, chemistry, biology, and engineering. Some examples of real-life applications include modeling population growth, heat transfer, chemical reactions, and electrical circuits.

5. How can I solve a nonlinear first order differential equation numerically?

There are several numerical methods that can be used to solve nonlinear first order differential equations, such as Euler's method, Runge-Kutta methods, and the shooting method. These methods involve breaking the differential equation into smaller steps and using iterative calculations to approximate the solution.

Similar threads

  • Differential Equations
Replies
2
Views
975
Replies
1
Views
1K
  • Differential Equations
Replies
12
Views
2K
Replies
7
Views
3K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
1
Views
1K
Replies
2
Views
2K
  • Differential Equations
Replies
7
Views
380
  • Differential Equations
Replies
6
Views
2K
  • Differential Equations
Replies
2
Views
1K
Back
Top