ff3d-users
[Top][All Lists]
Advanced

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

Re: [ff3d-users] applying different BC's on the same domain


From: Juzar Thingna
Subject: Re: [ff3d-users] applying different BC's on the same domain
Date: Sat, 19 Dec 2009 01:32:22 +0800

Hi Stephane,
Thanks for your reply. If I have two domains and continuity of the function is required across the domains. Does ff3d take it automatically? since the mesh will be continuous across the domains. Please correct me if I'm wrong.

Cheers,
Juzar

On Fri, Dec 18, 2009 at 9:16 PM, Stephane Del Pino <address@hidden> wrote:
Hello.

for instance to solve a Laplace problem in a unit square you can write

-------------------------------
vector n = (10,10,10);
vector a = (0,0,0);
vector b = (1,1,1);

mesh M = structured(n,a,b);
solve(u) in M
{
 pde(u)
   -div(grad(u))=1;
   u = 0 on M xmin;
}
-------------------------------

Homogeneous Neumann conditions are automatically taken for the other
boundaries.

Best regards,
Stephane.



_______________________________________________
ff3d-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ff3d-users



--
"At the end of all our searching we will arrive at the place we began and know it for the first time."

reply via email to

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