<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Michael<div class=""><br class=""></div><div class="">Thanks for your quick response.</div><div class=""><br class=""></div><div class="">I was able to get it working ~ just need to peer review the numbers</div><div class=""><br class=""></div><div class="">Cool program</div><div class=""><br class=""></div><div class="">Cheers</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 31, 2016, at 12:41 AM, <<a href="mailto:michael.asam@infineon.com" class="">michael.asam@infineon.com</a>> <<a href="mailto:michael.asam@infineon.com" class="">michael.asam@infineon.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Hi Bruce,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">please have a look at GetDP’s wiki, where you can find beside a detailed description of<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">TimeLoopAdaptive also a complete example:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><a href="https://onelab.info/trac/getdp" style="color: purple; text-decoration: underline;" class="">https://onelab.info/trac/getdp</a><o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Username: getdp<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Password: getdp<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Look there at Documentation --> TimeLoopAdaptive<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Have a nice day!<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Michael<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><b class=""><span lang="DE" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span lang="DE" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>getdp [<a href="mailto:getdp-bounces@ace20.montefiore.ulg.ac.be" style="color: purple; text-decoration: underline;" class="">mailto:getdp-bounces@ace20.montefiore.ulg.ac.be</a>]<span class="Apple-converted-space"> </span><b class="">On Behalf Of<span class="Apple-converted-space"> </span></b>Dr. Bruce McGee<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Monday, May 30, 2016 5:43 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:getdp@onelab.info" style="color: purple; text-decoration: underline;" class="">getdp@onelab.info</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>[Getdp] Using TimeLooAdaptive with InterativeLoop to solve non-linear problems<o:p class=""></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">All<o:p class=""></o:p></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">Has anyone tried to construct a non-linear problem using adaptive time stepping.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">My Resolution looks like :<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">/*</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">-----------------------------------------------------------------------------------------</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">Step 10 - Resolution of the problem</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">1] The resolution is setup to solve non-linear problems</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class=""> */</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">Resolution </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">Name NonLinear;</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">System </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{ Name U ; NameOfFormulation ElectroThermal ; }</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{ Name T ; NameOfFormulation HeatTransfer ; }</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">Operation </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">InitSolution [ T ] ; SaveSolution [ T ] ;</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">Generate [ U ] ; Solve [ U ]; SaveSolution [ U ] ;</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">TimeLoopAdaptive[ tStart, tStop, dtInit, dtMin, dtMax, Method, List[Breakpoints],</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">System </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{ T, Treltol, Tabstol, LinfNorm }</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{ U, Ureltol, Uabstol, LinfNorm }</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class=""> ]</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">IterativeLoop [nlMaxIter, nlEps, nlRelax] </span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">{</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">GenerateJac[T]; SolveJac[T];</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">GenerateJac[U]; SolveJac[U];</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">SaveSolution [ T ];</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">SaveSolution [ U ];</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span class="apple-tab-span"><span style="font-family: Courier;" class=""> <span class="Apple-converted-space"> </span></span></span><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">}</span><o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><span style="font-family: Courier;" class="">// end: Resolution</span><o:p class=""></o:p></div></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class=""><o:p class=""> </o:p></div></div><div class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">And this delivers a syntax error within Gmsh.</div></div></div></div></blockquote></div><br class=""></div></body></html>