Nonlinear first order Differential equation

Click For Summary

Discussion Overview

The discussion revolves around solving a nonlinear first-order momentum equation in 3D cylindrical coordinates, specifically seeking a stationary solution without the time derivative. Participants explore numerical methods, boundary conditions, and potential issues with convergence in their calculations.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks to solve the momentum equation in cylindrical coordinates and is looking for suggestions on achieving convergence in their numerical methods.
  • Another participant asks about the boundary conditions, prompting further clarification on the cyclic nature of the coordinates and specific conditions at certain points.
  • A suggestion is made to rewrite a term in the equation using a different mathematical approach, although concerns are raised about its applicability to the overall problem.
  • Participants discuss the potential impact of coordinate singularities and the importance of including derivatives of basis vectors in the nonlinear term.
  • One participant describes their mesh size and acknowledges the complexity of 3D problems, suggesting that the divergence of iteration may be localized and proposing to refine the mesh further.
  • A later reply recommends visualizing the 3D field to diagnose issues causing non-convergence and suggests that calculations might be less expensive in Cartesian coordinates.
  • There is a clarification regarding the use of "phi" in cylindrical coordinates, which traditionally only includes "theta," indicating a potential misunderstanding in the initial problem statement.

Areas of Agreement / Disagreement

Participants express differing views on the best approach to solve the equation, with no consensus on the most effective method or the implications of the boundary conditions. The discussion remains unresolved regarding the optimal numerical strategy.

Contextual Notes

Participants mention specific assumptions about the mesh resolution and the nature of the driving term, as well as the complexity introduced by the 3D nature of the problem. There are unresolved questions about the impact of coordinate systems on the numerical methods employed.

say_cheese
Messages
39
Reaction score
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
What are your boundary conditions?
 
The theta and phi coordinates are cyclic (v(0)=v(2*pi)), v=0, dv/dr=0 at v=0 and a.
 
you can write u*(du/dx) as 1/2 (d(u^2)/dx). Try solving it that way.
 
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.
 
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?
 
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.
 
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.
 
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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K