[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] WG: `Coupling Equations
From: |
Andriy Andreykiv |
Subject: |
Re: [Getfem-users] WG: `Coupling Equations |
Date: |
Thu, 26 Jan 2012 14:40:08 +0100 |
Dear Franz,
I can try to answer some of your questions.
1) You probably can use mdbrick_general_elliptic for a vectorial problem where your variables u and v are a vector (you have to set qdim of your mesh_fem object to 2)
2) Sorry, can't answer that, I'm using only c++ interface.
3) if you're not using the mode framework, you have to put things "by hand", it either one or another. The model framework is designed to avoid putting things by hand.
Hope this helps a bit,
regards,
Andriy
On 26 January 2012 14:08, Pichler, Franz
<address@hidden> wrote:
Hello,
I posted this question months ago and I still would be quite interested in an answer.
Thanks
Franz
>Hello everybody,
>I just get started with getfem and have some questions. What I want to
>do is to couple several equations. A minimal example of that would be
>something like:
>
>Div(a1 \grad u) + Div(b1 \grad v) =g1
>Div(a2 \grad u) + Div(b2 \grad v) =g2
>
>That with some Dirichlet condition on the interval [0,1]
>
>Now I managed to do something like this buy taking the non model
>framework and assemble some matrices with the asm elliptic tools and put
>these matrices together by "hand".
>What I am wondering now is
>
>1) Is there a brick that I can tell that in my equation there are two
>variables with a laplacian (elliptic) term?
>2) If I would try to write this brick myself, would I have to do it in
>c++ (I am using the python interface)
>3) Is there a way of assembling this without the model framework and
>without putting the matrices together "by hand"
>
>I would like to do all of this as time efficient as possible because in
>the end I want to solve time dependent problems with nonlinear terms.
>
>Thank you very much in advance ,
>Franz Pichler
>
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users