[Getdp] Using TimeLooAdaptive with InterativeLoop to solve non-linear problems

michael.asam at infineon.com michael.asam at infineon.com
Tue May 31 08:41:05 CEST 2016


Hi Bruce,

please have a look at GetDP's wiki, where you can find beside a detailed description of
TimeLoopAdaptive also a complete example:
https://onelab.info/trac/getdp
Username: getdp
Password: getdp
Look there at Documentation --> TimeLoopAdaptive

Have a nice day!
Michael



From: getdp [mailto:getdp-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of Dr. Bruce McGee
Sent: Monday, May 30, 2016 5:43 PM
To: getdp at onelab.info
Subject: [Getdp] Using TimeLooAdaptive with InterativeLoop to solve non-linear problems

All

Has anyone tried to construct a non-linear problem using adaptive time stepping.

My Resolution looks like :

/*
-----------------------------------------------------------------------------------------
Step 10 - Resolution of the problem
1]   The resolution is setup to solve non-linear problems
                                                                                       */
Resolution
{
     {
           Name NonLinear;
           System
           {
                { Name   U ; NameOfFormulation ElectroThermal ; }
                { Name   T ; NameOfFormulation HeatTransfer   ; }
           }
           Operation
           {
                InitSolution [ T ] ; SaveSolution [ T ] ;
                Generate [ U ] ; Solve [ U ]; SaveSolution [ U ] ;
                TimeLoopAdaptive[ tStart, tStop, dtInit, dtMin, dtMax, Method, List[Breakpoints],
                                           System
                                           {
                                                {     T, Treltol, Tabstol, LinfNorm }
                                                {     U, Ureltol, Uabstol, LinfNorm }
                                           }
                                ]
                {
                     IterativeLoop [nlMaxIter, nlEps, nlRelax]
                     {
                           GenerateJac[T]; SolveJac[T];
                           GenerateJac[U]; SolveJac[U];
                     }
                     SaveSolution [ T ];
                     SaveSolution [ U ];
                }
           }
     }
}
// end: Resolution

And this delivers a syntax error within Gmsh.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20160531/280f2565/attachment-0001.html>


More information about the getdp mailing list