--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0fp__42xaYnuaaL8Yjza-69eiZ%3D4E0x63G6dc_18oBBew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/87d0sxlzyx.fsf%40jedbrown.org.
Thank you so much for the suggestions.As Derek mentioned 'a new "hybrid" AMG method that uses strong block smoothers for convection diffusion style problems. ', is this something available already in Moose?
<j...@jedbrown.org> wrote:> Just shooting from the hip, I would expect it's the asymmetric/transport
> term and off-diagonal Laplacian in your H+ equation that is tripping up
> strength measures for BoomerAMG. If you have all the Jacobian terms (or
> approximations), you should be able to use a FieldSplit with AMG for the
> Laplacian blocks and either that or ASM for the transport (depending on
> regime).Is there any good information resource about field split? I was not able to find documents about it on Moose. I looked at the tests for this in Moose, but they didn't make much sense to me.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
Thank you so much for the suggestions.As Derek mentioned 'a new "hybrid" AMG method that uses strong block smoothers for convection diffusion style problems. ', is this something available already in Moose?Not yet. It is tricky to build AMG for convection problems. We made progresses for some neutron NDA problems, but not done yet. I am progressively working on. It is a little tricky
<j...@jedbrown.org> wrote:> Just shooting from the hip, I would expect it's the asymmetric/transport
> term and off-diagonal Laplacian in your H+ equation that is tripping up
> strength measures for BoomerAMG. If you have all the Jacobian terms (or
> approximations), you should be able to use a FieldSplit with AMG for the
> Laplacian blocks and either that or ASM for the transport (depending on
> regime).Is there any good information resource about field split? I was not able to find documents about it on Moose. I looked at the tests for this in Moose, but they didn't make much sense to me.Why you said the example doesn’t make sense for you? We have this nice interface in moose to allow users easily setup FS PC. I believe some users successfully use the capability for their problems.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
I am lerning how to use field split for my problem.Meanwhile I am wondering how different the field split and the physics based preconditioner are in Moose? It seems that both of them enable us to use different preconditioners for different variables, but the physics based preconditioner can solve with a certain order of variables.
Thank you,Shohei
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/144782ad-cb5e-49c1-b438-ede04d8c061f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JmcvZDX6_KAk9rY9-D_UmHmQPJbri8MMF3hyrtZ0iUvA%40mail.gmail.com.
Thank you,Shohei
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/144782ad-cb5e-49c1-b438-ede04d8c061f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
I am trying the PBP first. I have several questions.1. What can be put to the 'preconditioner' param?The doc string for the param says "TODO: docstring"...2. So far I am able to run PBP with 'preconditioner' with ASM, AMG, ILU, or LU.If AMG set, is this HYPRE boomeramg? Can we set other params for AMG?If ASM set, how can we specify the sub_pc_type?
3. How to find right settingsAccording to my equations,the O2 concentration is diffusion with reaction and the coupling with other two variables could be the least tight. So should I solve for this variable first? And maybe the electrostatic potential next.
Thank you,Shohei
Thank you,Shohei
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/144782ad-cb5e-49c1-b438-ede04d8c061f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JmcvZDX6_KAk9rY9-D_UmHmQPJbri8MMF3hyrtZ0iUvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/559a94ce-2aaf-425d-92e4-ff89b9a00141%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JtxD4fVdeF6O5me%2BP2eFjtHT-S9Wzw3bW%2Bnv9w8JKQhw%40mail.gmail.com.
[fsp_schur_full_selfp] type = FSP solve_type = "PJFNK" topsplit = 'separate_c_H_plus' [separate_c_H_plus] splitting = 'c_O2_and_psi_electrolyte c_H_plus' splitting_type = schur petsc_options_iname = '-pc_fieldsplit_schur_fact_type -pc_fieldsplit_schur_precondition' petsc_options_value = 'full selfp' [] [c_O2_and_psi_electrolyte] vars = 'c_O2 psi_electrolyte' petsc_options_iname = '-pc_type -pc_hypre_type -ksp_type' petsc_options_value = ' hypre boomeramg gmres' [] [c_H_plus] vars = 'c_H_plus' petsc_options_iname = '-pc_type -sub_pc_type -ksp_type' petsc_options_value = ' asm ilu gmres' [] [] [smp_full_asm_ilu] type = SMP full = true solve_type = PJFNK petsc_options_iname = '-pc_type -pc_asm_overlap -sub_pc_type -sub_pc_factor_levels -ksp_type -ksp_gmres_restart' petsc_options_value = 'asm 1 ilu 1 gmres 100' []Thank you,Shohei
Thank you,Shohei
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/144782ad-cb5e-49c1-b438-ede04d8c061f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JmcvZDX6_KAk9rY9-D_UmHmQPJbri8MMF3hyrtZ0iUvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/559a94ce-2aaf-425d-92e4-ff89b9a00141%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users+unsubscribe@googlegroups.com.
In addition to the previous post, I just noticed the boomeramg is working for all the variables with the field split. It seems that it is slightly faster (less wall time) than with ASM for the c_H_plus variable. Interestingly, without FS, the boomeramg doesn't work at all to my problem.
Thank you,Shohei
Thank you,Shohei
Fande
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0cHXLUO4fQ4ojD6_zvC%3DZGrTKCeqVOmc8LEyLcbONc6MQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/08BDBAF1-8125-4EE7-9D26-664A19C5CC64%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/144782ad-cb5e-49c1-b438-ede04d8c061f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JmcvZDX6_KAk9rY9-D_UmHmQPJbri8MMF3hyrtZ0iUvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/559a94ce-2aaf-425d-92e4-ff89b9a00141%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JtxD4fVdeF6O5me%2BP2eFjtHT-S9Wzw3bW%2Bnv9w8JKQhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/ea6b1211-af88-4a4e-bcf3-b13a0a2c6f39%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-L7zq82JsMxFQ35t4eK%2BuD1O8Snmx7TNuxetRFyHJNvkQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0d0DFksnasZ%3D8vaPO4o77dXvFiSXmnLdq7ZUtvtfn3WHw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAK06EuUwes9wrZEqTc7aELfmeD7Ux3a9oPpvsRmiv%3DSEOdC%2Bng%40mail.gmail.com.
Also, Just for your information, I noticed for my problem choosing a correct line search algorithm is very important.
- Giving "basic" or literally "none" to line_search results in very fast convergence. Within just several nonlinear iterations to a relative tolerance of 1e-8.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0fQQqdD-wkZZv0a2ONE10x91uJ%2BGz6H0c-zdOqKtdo20g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/871s8lwxew.fsf%40jedbrown.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHfiw0ffwPbsV-Ue2i-0S%3D67WH4pnhcSDzB%2BiPHM4EHAqcRikA%40mail.gmail.com.

Some spikes are due to restarts of GMRES.
With the Schur type field split and Boomeramg for all sub-problems, the non linear residual and linear residual plots are as follow.
With the field split, each linear solve is within 2 iterations and I was able to solve the same problem with tighter tolerance about 10 times faster (wall time). With Schur type field split, each linear iteration took much longer so the speed up was just about 10 times even though the total number of linear iterations was 100 times less. The number of nodes was ~5.3M for the problem I created the plots with. I saw a 3 times speed up for a 20K nodes problem I previously ran on my laptop. If I scale up my problem more, the speed up would be more significant considering I am using the multigrid pre-conditioner in addition to much less linear iterations thanks to Schur type field split.
Also, as I mentioned earlier in this thread, I tried the physics based pre-conditioner with ASM for the H+ concentration and AMG for the O2 concentration and electric potential. This worked well for the smaller problem above, but it was not practical at all (very slow linear residual decrease) for the larger problem.
Thank you,
Shohei
FYI, I created some plots to graphically show the residual behavior with different pre-conditioner settings.With ASM + ILU, I got a non-linear residual plotand linear residual plot by plotting residual for each non-linear iteration:
Some spikes are due to restarts of GMRES.
With the Schur type field split and Boomeramg for all sub-problems, the non linear residual and linear residual plots are as follow.
With the field split, each linear solve is within 2 iterations and I was able to solve the same problem with tighter tolerance about 10 times faster (wall time). With Schur type field split, each linear iteration took much longer so the speed up was just about 10 times even though the total number of linear iterations was 100 times less. The number of nodes was ~5.3M for the problem I created the plots with. I saw a 3 times speed up for a 20K nodes problem I previously ran on my laptop. If I scale up my problem more, the speed up would be more significant considering I am using the multigrid pre-conditioner in addition to much less linear iterations thanks to Schur type field split.
Also, as I mentioned earlier in this thread, I tried the physics based pre-conditioner with ASM for the H+ concentration and AMG for the O2 concentration and electric potential. This worked well for the smaller problem above, but it was not practical at all (very slow linear residual decrease) for the larger problem.
--John
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/a3fb34ac-a9fe-49f7-9e5d-e8d9f85c289d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAN5Wd-JEcU_g9Twc1Ftkwk8QVrFQcGPxpUc-9%3DnV8TZ_pkjumA%40mail.gmail.com.