Dear Libmesh users,

I'm wondering how we can impose boundary conditions. I'm looking at example
3, and it says that it handles the Dirichlet BC by a penalty function. I
wanted to check that:

const Real value = exact_solution(xf, yf);

is the line that gives the value, so if I wanted to impose that the
values at the boundary are 0, I just put 0 instead right?

The other thing is, I'm not sure whether BoundaryMesh can just locate
the boundary. I use tetgen .node and .ele files, and it
doesn't seem that the .face files are read by libmesh, and so I'm
wondering how it's able to locate the boundary... Or do I add
some tags and say that certain nodes and elements are on the boundary?

Thank you so much,
Karen
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to