R3iCe#
R3iCe formulation#
Description of the numerical algorithm#
System of equation#
P1 i.
where
P1 ii.
P2.
Time discretization#
The time discretization is using a BDF2 differentiation formula where \(\Delta \tilde{t}\) is the discrete time step.
P1 i.
where
P1 ii.
P2.
Numerical algorithm#
The numerical algorithm is based on using two nested fixed loops. The first loop solves the non-linear formulation of the CTI law, while the second loop is used for the time step. To ensure the algorithm converges quickly, it is recommended to limit the maximum number of iterations for the non-linear fixed loop to one. The fixed point is included in the code to enable R3iCe simulation with non-linear CTI without time evolution.
main program
initialization
generate \(c^0\)
\(c^{-1}=c^{-2}=c^{-0}\)
\(u^0=0\)
\(p^0=0\)
time loop : find \(c^{t+1},~u^{t+1},~p^{t+1}\) knowing \(c^{t},~c^ {t-1}\)
fix point to solve P2 \(k_c\)
initialization
\(c^{t+1,k_c=0}=c^{t}\)
\(u^{t+1,k_c=0}=c^{t}\)
Fix point to converge to \(c^{t+1}\) and \(u^{t+1}\)
fix point to solve non linear P1 \(k_{nl}\)
initialization
\(u^{t+1,k_c,k_{nl}=0}=u^{t+1,k_c}\)
Fix point to converge to \(u^{t+1,k_c}\) with \(c^{t+1,k_c}\) fix
rheolef magic solve linearized P1
Find \(u^{t+1,k_c,k_{nl}+1}\) solving P1 with
\(c^{t+1,k_c}\)
\({\tilde{\eta}^\star}^{t+1,k_c,k_{nl}}(c^{t+1,k_c},u^{t+1,k_c,k_{nl}})\)
Update :
\({\tilde{\eta}^\star}^{t+1,k_c,k_{nl}+1}(c^{t+1,k_c},u^{t+1,k_c,k_{nl}+1})\)
Compute residual :
Find \(c_0(u^{t+1,k_c+1})\) and compute :
\(c^{t+1,k_c+1}(u^{t+1,k_c},c^{t},c^{t-1},c_0)\) using P2
Compute residual :
convergence successful
\(c^{t+1}\) and \(u^{t+1}\) found