Ways to reduce the calculation time #16483
-
Hello, In my model, the time_scale is 1.0E+9 (from s to ns). The length dt=1000. So 1.0E+6 of steps have to be used to get the result of 200s. So huge! What's more, the situation won't be better if I change the time_scale and dt. (Larger dt will be adapted to around 1000 finally.) Is there any other methods recommended to reduce the calculation time? Will scaling factor help? Thank you a lot! My execution is in the following:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
@fdkong Can you help here? |
Beta Was this translation helpful? Give feedback.
-
It is often problem dependent.
|
Beta Was this translation helpful? Give feedback.
-
Do I need normalization to improve the converge? |
Beta Was this translation helpful? Give feedback.
It is often problem dependent.
Run the code in parallel may be able to make the code faster
If the Jacobian matrix is accurate, use
solve_typ=newton
could speedup a bitIf the number of linear iterations is not small, could increase the fill-in levels
-sub_pc_factor_levels 2