Commit 635d6ca8 by Kevin Jacques

Flag_ExtrapolationOrder example with square and t32

parent f7ba80c1
Pipeline #1643 passed with stage
in 9 minutes 44 seconds
......@@ -46,7 +46,8 @@ Function{
Flag_PrintMaps =1,
Flag_LiveLocalPostOp=1,
Flag_LiveGlobalPostOp=1,
po = "Output_"
po = "Output_",
Flag_ExtrapolationOrder=0
];
// Macro myname
......@@ -671,6 +672,8 @@ Resolution {
If(Flag_AnalysisType==AN_TIME)
SetExtrapolationOrder[Flag_ExtrapolationOrder];
// set some runtime variables
Evaluate[$syscount = 0];
Evaluate[$relaxcount=0];
......
......@@ -49,6 +49,10 @@ Flag_NL_law00 = 4; // 0: "linear",
// 3: "Jiles-Atherton hysteresis model",
// 4: "EnergHyst model"
Flag_ExtrapolationOrder = 1; // degree 0 ==> initialization at the previous Time Solution
// degree 1 ==> linear extrapolation from the 2 previous Time Solutions
// degree 2 ==> quadratic extrapolation from the 3 previous Time Solutions
Flag_NLRes00 = 0; // 0: use classical IterativeLoop to solve the NL (non linear) problem
// 1: use IterativeLoopN to solve the NL (non linear) problem
// 2: solve the NL (non linear) problem "by hand"
......
......@@ -33,10 +33,15 @@ Flag_NL_law00 = 4; // 0: "linear",
// 3: "Jiles-Atherton hysteresis model",
// 4: "EnergHyst model"
Flag_ExtrapolationOrder = 1; // degree 0 ==> initialization at the previous Time Solution
// degree 1 ==> linear extrapolation from the 2 previous Time Solutions
// degree 2 ==> quadratic extrapolation from the 3 previous Time Solutions
// non linear loop default parameters
Flag_NLRes00 = 1; // 0: use classical IterativeLoop to solve the NL (non linear) problem
// 1: use IterativeLoopN to solve the NL (non linear) problem
// 2: solve the NL (non linear) problem "by hand"
Nb_max_iter00 = 50; // maximum number of NL (non linear) iterations
stop_criterion00 = 1e-5; // strop criterion for the NL (non linear) iteration
relaxation_factor00 = 1; // default relaxation factor (between ]0,1] )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment