Sigularity problem in NDSolve in mathematica

  • Context: Graduate 
  • Thread starter Thread starter moudas
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

The discussion focuses on addressing the singularity problem encountered in Mathematica's NDSolve function when solving a system of 13 differential equations with constrained initial boundary conditions. The error message "NDSolve::ndsz" indicates a suspected singularity or stiff system at the value of "e == 11.706899882374666". To resolve this issue, users are advised to examine the differential equations for analytic singularities and consider nondimensionalizing the equations to ensure consistent order of magnitude among constants.

PREREQUISITES
  • Familiarity with Mathematica's NDSolve function
  • Understanding of differential equations and boundary conditions
  • Knowledge of numerical integration techniques
  • Concept of nondimensionalization in mathematical modeling
NEXT STEPS
  • Investigate analytic singularities in differential equations
  • Learn about nondimensionalization techniques for differential equations
  • Explore methods to handle stiff systems in numerical integration
  • Examine limiting behaviors of functions in the context of differential equations
USEFUL FOR

Researchers, mathematicians, and engineers working with numerical solutions of differential equations, particularly those using Mathematica for complex systems with boundary conditions.

moudas
Messages
1
Reaction score
0
sigularity problem in "NDSolve" in mathematica

Hi,

I am trying to solve numerically 13 differential equations with intial boundary conditions in mathematica. In my case, the boundary conditions are not free parameters and those are constrained from experimental observations.
But these set of equations and boundary condition give the error in NDSolve as following,

"NDSolve::ndsz: At e == 11.706899882374666`, step size is effectively zero; singularity or stiff system suspected. >>"

Because of this error, the plots of those 13 variables changes abruptly at "e == 11.706899882374666`".
I am getting nice curve upto this particular vaue of "e".

My question is , How can get nice curve even after this value without changing the boundary conditions?

Thanks in advance,
moudas
 
Physics news on Phys.org
Check for the two issues the error mentions.

Examine your diff eq's for evidence of an analytic singularity if you can. Maybe check limiting behaviors too.

If you can rule that out around the troubled value for e, then it might be the stiff system case.

If the numerical integration is rapidly oscillating between large numbers, it's not going to compute properly and the errors are going to propagate hugely. Try to nondimentionalize your equations and make sure the order of magnitude of your constants are similar if you can. If there are too many different time and length-scales in your system, it might not be able to be numerically solved this way.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K