Hey Kyunghon,
                        Please see adjoints example 3
(examples/adjoints/adjoints_ex3/). There we solve a Stokes +
Convection-Diffusion system in an H-shaped channel. The file adjoints_ex3.C
contains a description of the type of boundary conditions we are setting at
the different boundary ids, and the file coupled_system.C actually sets
these boundary conditions using the Dirichlet boundary system.

Regards.

On Sun, Jan 20, 2013 at 9:28 PM, Kyunghoon Lee
<[email protected]>wrote:

> Hello all,
>
> I have a question about dealing with inhomogeneous Dirichlet boundary
> conditions.  I have a simple 2D steady state heat conduction model with a
> rectangular domain.  I'd like to apply heat flux on the left side (mesh
> boundary id = 1), and set an inhomogeneous Dirichlet boundary condition on
> the rest of slides (mesh boundary id = 2).  Among the examples,
> introduction_ex3 shows how to deal with Dirichlet boundary conditions, but
> it doesn't show how to apply Dirichlet boundary conditions on a specific
> mesh ID.  I'd appreciate if someone could show me how to do with Libmesh.
>
> K. Lee.
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>



-- 
Vikram Garg
Postdoctoral Associate
Center for Computational Engineering
Massachusetts Institute of Technology

http://www.runforindia.org/runners/vikramg
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to