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

Dr. Bruce McGee mcgee at mcmillan-mcgee.com
Tue May 31 12:21:22 CEST 2016


Hi Michael

Thanks for your quick response.

I was able to get it working ~ just need to peer review the numbers

Cool program

Cheers


> On May 31, 2016, at 12:41 AM, <michael.asam at infineon.com> <michael.asam at infineon.com> wrote:
> 
> 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 <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 <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 <mailto: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/e4232018/attachment-0001.html>


More information about the getdp mailing list