[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non linear term

From: yves . renard
Subject: Re: Non linear term
Date: Tue, 30 Aug 2022 14:17:51 +0200 (CEST)

Dear Lahoussaine,

Your formulation is correct for the right hand side of your second equation (sqr(u) instead of abs(u)*abs(u) would be simpler).

A problem could come from the vector values for sigma. You should pass a vector of the size the number of degrees of freedom of mfs. The same for 'u'.
(not that even when you use your own assembly procedure, it is simpler to use a model object and put inside your variables to call gf.asm)

Best regards,


De: "lahoussaine BOURRICHE" <>
À: "getfem-users" <>, "Yves Renard" <>
Envoyé: Lundi 29 Août 2022 10:44:28
Objet: Non linear term

Hello community.
I have two equations with two variables : 
first depends on u : delta u  = J 
second depends on u and T : delta T = sigma * u^2 so u in this equation is a source 
I have problem with implementation of second term  sigma * u^2 
i did something like :
but i get values  = nan.
Does the problem come from the non linearity of the term ? 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]