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
[email protected]
http://lists.nongnu.org/mailman/listinfo/ff3d-users

Reply via email to