ff3d-users
[Top][All Lists]
Advanced

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

Re: [ff3d-users] ff3d/gmsh example?


From: Stephane Del Pino
Subject: Re: [ff3d-users] ff3d/gmsh example?
Date: Tue, 28 Aug 2007 00:05:45 +0200
User-agent: KMail/1.9.7

Hello Ben.

Sorry, the documentation is really out of date about standard FEM ...
Here is a simple example:

-----------------------------------
// read the mesh (not the .geo but the .msh)
mesh M = read(gmsh,"cube.msh");

//solve the problem
solve(u) in M
{
  pde(u)
   -div(grad(u)) = 1;
  u = 0 on 0; // applies Dirichlet on triangles of reference 0
}
-----------------------------------

I hope that helps,
Stéphane.





reply via email to

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