--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/ce822712-0cd8-40e0-9313-f00584cbef19%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/N3A_zZUO_3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANFcJrE3A8NNxuFUw_gjV7Y4cVrSUDm1sn3UaVyKiizdycQ5rw%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/N3A_zZUO_3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANFcJrE3A8NNxuFUw_gjV7Y4cVrSUDm1sn3UaVyKiizdycQ5rw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHb%3DFikJiJp-UUFZ05v-6SPrfV4wq-q13%2BMdT_oGJTSsN9m_MQ%40mail.gmail.com.
So the way I would do this would be to create different variables for the electric potential on omega1 and omega2. Then I would apply an InterfaceKernel for the electric potential on Gamma_c. You could either use something like1) moose/test/src/interfacekernels/PenaltyInterfaceDiffusion with a sufficiently large penalty to simultaneously enforce continuity of potential and potential flux (this method is optimally convergent with respect to FEM for sufficiently large penalties) or2) you could use something like moose/test/src/interfackernels/InterfaceDiffusion to enforce continuity of potential flux and then moose/framework/src/bcs/MatchedValueBC to enforce continuity of potential. This method also works but is not optimally convergentIf you move to different variables for the electric potential, then you can simply not provide any boundary or interface conditions at Gamma_i1 and Gamma_i2 and then you should observe a zero potential gradient (although I'm curious whether you run into solver convergence issues at the corners where the Gamma_i* and Gamma_c meet)
On Thu, Mar 19, 2020 at 2:19 PM Nikhil Vaidya <nikhilv...@gmail.com> wrote:
I am attaching an image of a simple geometry which explains the situation. The geometry consists of two subdomains\Omega_1 and \Omega_2 (think of them as different materials). The transient heat conduction PDE is solved on both these subdomains (i.e. the variable 'temperature' lives on both subdomains). Each time-step, a steady electrical potential diffusion equation is solved on both subdomains (i.e. the variable 'electric_potential' lives on both subdomains). The electrical conductivity is temperature dependent. The heat conduction equation includes an ohmic heat source (which lives on both subdomains). Now, the boundary \Gamma_t has a non-zero Dirichlet boundary condition on 'electric_potential', whereas the boundary \Gamma_b has a zero Dirichlet BC on 'electric_potential'. The boundaries \Gamma_l1, \Gamma_l2, \Gamma_r1 and \Gamma_r2 are electrically insulated. The internal interfaces between the two subdomains are \Gamma_i1, \Gamma_i2 and \Gamma_c. The interface \Gamma_c conducts electricity and heat, while the interfaces \Gamma_i1 and \Gamma_i2 allow only heat to flow through. On interfaces \Gamma_i1 and \Gamma_i2, the electric potential gradient should be zero. How should I implement this? (the temperature boundary conditions on the external boundaries of the domain are irrelevant)
On Thu, Mar 19, 2020 at 5:13 PM Alexander Lindsay <alexlin...@gmail.com> wrote:
Can you be more specific about what you mean by interfaces? Do you have different kernels/variables living on different subdomains?At a boundary, the default boundary condition is no-flux, e.g. if you don't set a boundary condition in your input file, you will get no "stuff" coming into or out of your boundary.
On Thu, Mar 19, 2020 at 4:06 AM Nikhil Vaidya <nikhilv...@gmail.com> wrote:
Hello,--I am solving a problem involving ohmic heating. There are interfaces in the geometry which need to be electrically insulated, but thermally conducting. How can this be implemented in MOOSE?Best regards,Nikhil
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/ce822712-0cd8-40e0-9313-f00584cbef19%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/N3A_zZUO_3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANFcJrE3A8NNxuFUw_gjV7Y4cVrSUDm1sn3UaVyKiizdycQ5rw%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...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/e3651685-531c-4896-bc3d-58ac00b0952f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/e3651685-531c-4896-bc3d-58ac00b0952f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/f56695f8-0cbc-4acc-bd27-07d7a7483c41%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/f56695f8-0cbc-4acc-bd27-07d7a7483c41%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/8162b416-bf5b-4b8f-ae28-c6925ec065a5%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/8162b416-bf5b-4b8f-ae28-c6925ec065a5%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/cfa45f58-fd8b-42cc-a70f-9f87d98bbfa2%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/cfa45f58-fd8b-42cc-a70f-9f87d98bbfa2%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/cfa45f58-fd8b-42cc-a70f-9f87d98bbfa2%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/1022319d-2a6b-46dd-88f0-b6d9c796ce53%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/1022319d-2a6b-46dd-88f0-b6d9c796ce53%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/9a293027-abfd-44ce-888c-ff8a48a10e0c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/9a293027-abfd-44ce-888c-ff8a48a10e0c%40googlegroups.com.
@petsc versionIndeed I have the old petsc version. The option -snes_check_jacobian works. The jacobian check ratio is ~1e-9 for the fist non-linear iteration and then ~1e-5 for the subsequent non-linear iterations. How is this interpreted? (I know that my jacobian is missing the off-diagonal terms. I am using PJFNK.)@PJFNKThe linear solve is the one requiring a lot of iterations. 4 non-linear iterations are required, while the number of linear iterations in each non-linear iteration is of the order of 100 (see attached output file).@PJFNK non-linear convergenceI am not sure what "good" non-linear convergence means, so I printed out the true residuals. I observe the following:Non-linear iteration number: 0true linear residual falls to e-5 times the initial valueNon-linear iteration number: 1true linear residual falls to e-1 times the initial valueNon-linear iteration number: 2true linear residual falls to e-4 times the initial valueNon-linear iteration number: 3true linear residual falls to e-3 times the initial valueI said in an earlier message that the solve did not converge for my complex geometry. There is a clarification regarding this statement. The solve does converge for the complex geometry when PJFNK is used. As you can see in the attached output file, the linear convergence is slow.Given the background, I have the following questions:1. The linear convergence is slow. Could this be fixed by including the coupling terms in the jacobian?
2. I'm not sure whether the true linear residual is converging, since it drops by different orders of magnitude in different non-linear iterations. Is it? If not, should I provide the Jacobian myself and use the NEWTON solver instead of PJFNK?
3. What is the impact of the nodes being shared by the interfaces with different interfacekernels? Is the node-sharing certainly a problem which needs a workaround?
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/6661b071-6c9a-48cb-9b33-9128c8c37c44%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/6661b071-6c9a-48cb-9b33-9128c8c37c44%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/7f6b54b5-069f-40e6-a88f-e2dc882e0a05%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/7f6b54b5-069f-40e6-a88f-e2dc882e0a05%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/118e868a-c84e-4738-854d-abfd7dee25cc%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANFcJrHqE5%3DSJC9TWR0NXfTDz%2B5E3iKiFEKEiFVn%2BuybQtm91w%40mail.gmail.com.
Hi Alexander,Sorry for that. I have updated my code. Could you please have a look again?Best regards,NikhilOn Thu, Apr 23, 2020 at 12:13 AM Alexander Lindsay <alexlin...@gmail.com> wrote:It appears that your application is not compatible with modern MOOSE. Could you update it? I see errors related to discarding const qualifiers from `Function` which was a change that happened a long time ago...
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHb%3DFinpK1uDW9Jop1AH%3DoqYtzz58Kr-sNoJxqfpHw4JdFYXJw%40mail.gmail.com.
...
Hi Alex,
Thanks for the suggestion about InterfaceDiffusion and MatchedValueBC. That method works great for the steady case.
My goal is to ultimately solve a transient interface problem. I tried a transient run, and now the non-linear residuals do reduce, but not below the default non-linear tolerance. The reason for non-convergence is a diverged line search. Again the jacobian ratios are ~1e-7. Does this mean that the Jacobians are incorrect? Attached is a sample output from the solve.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/cdc51b9e-d6c0-42bf-92d1-51ef8c20daf8%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "moose-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/moose-users/N3A_zZUO_3E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to moose-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CANFcJrEFHVH-D4GP0VH3PxE%2BNciqn%3D%3DsH0yYZqfZ7%2BFEaMv3Bw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/CAHb%3DFinwiLaUHMOd5e_OBFJdf8bzvF0%2BJ%3DNPrZyB7ymfdc_zLg%40mail.gmail.com.