Integration failure in PDE system (N = 3)

2 vues (au cours des 30 derniers jours)
MG
MG le 22 Mar 2017
Commenté : MG le 3 Oct 2017
Hello,
I am working on a three-equations system, composed of two ODEs and one PDE. I have some external functions (containing time-dependent parameters), and two PDE coefficients (a and c) in functional form. The script correctly works with one pair of dimension/element size, but results are not reasonable because the problem is strongly mesh sensitive. So I tried to reduce the element dimension but I have this warning:
Warning: Failure at t=6.217997e+00. Unable to meet integration tolerances without reducing the step
size below the smallest value allowed (1.421085e-14) at time t.
> In ode15s (line 668)
In pde.EquationModel/solveTimeDependent (line 83)
In pde.PDEModel/solvepde (line 54)
In pde3 (line 61) % This command is: results = solvepde(pdem, t);
that leads to the failure of the script.
Searching through the documentation, the problem seems the ode15 solver, which is automatically called by the solvepde(pdem, t) command.
I already tried to change tolerances as follow:
pdem.SolverOptions.RelativeTolerance = 1.0e-1;
pdem.SolverOptions.AbsoluteTolerance = 1.0e-1;
pdem.SolverOptions.ResidualTolerance = 1.0e-1;
pdem.SolverOptions.MaxIterations = 30;
pdem.SolverOptions.MinStep = 1.0e-20;
but it doesn't work.
How can I fix this problem?
Thank you
  2 commentaires
MarionJ
MarionJ le 2 Oct 2017
Have you found any solution? I'm getting the same warning for a one PDE System with time-, state- and location-dependent PDE coefficients...
MG
MG le 3 Oct 2017
No. Try to simplify your external functions.

Connectez-vous pour commenter.

Réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by