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

Dr. Bruce McGee mcgee at mcmillan-mcgee.com
Mon May 30 17:43:20 CEST 2016


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/20160530/fa0bf0d2/attachment.html>


More information about the getdp mailing list