Re: [Libmesh-users] Dirichlet boundary condition setting variable to zero?

2018-01-08 Thread Renato Poli
> Are you using the homogeneous or the heterogeneous constraint > functions when constraining your system of equations? Often we solve > for a delta between two solutions (Newton steps, time steps with fixed > BC values, etc) rather than directly solving for the constrained > solution, so we have

Re: [Libmesh-users] Dirichlet boundary condition setting variable to zero?

2018-01-08 Thread Roy Stogner
On Sun, 7 Jan 2018, Renato Poli wrote: I am struggling with a Dirichlet boundary condition setting the boundary to zero, instead of the value I impose (3.e7). Previously, I was using the penalty method, and it was working fine. Is there any known corner condition where the DirichletBoundary wo

[Libmesh-users] Dirichlet boundary condition setting variable to zero?

2018-01-07 Thread Renato Poli
Hi I am struggling with a Dirichlet boundary condition setting the boundary to zero, instead of the value I impose (3.e7). Previously, I was using the penalty method, and it was working fine. Is there any known corner condition where the DirichletBoundary would drive the variable to zero? Any ide

Re: [Libmesh-users] Dirichlet boundary conditions not appear in weak form

2016-01-13 Thread Junchao Zhang
Thanks to David and John for your hints. I need to further digest it. --Junchao Zhang On Wed, Jan 13, 2016 at 4:33 PM, John Peterson wrote: > > > On Wed, Jan 13, 2016 at 3:23 PM, Junchao Zhang > wrote: > >> Hello, >> I tried to follow the textbook to write weak forms of PDEs with Dirichlet >>

Re: [Libmesh-users] Dirichlet boundary conditions not appear in weak form

2016-01-13 Thread John Peterson
On Wed, Jan 13, 2016 at 3:23 PM, Junchao Zhang wrote: > Hello, > I tried to follow the textbook to write weak forms of PDEs with Dirichlet > boundary conditions like some libmesh examples. The textbook usually lets u > = 0 on boundary, making it easy to understand why the boundary term > vanishes

[Libmesh-users] Dirichlet boundary conditions not appear in weak form

2016-01-13 Thread Junchao Zhang
Hello, I tried to follow the textbook to write weak forms of PDEs with Dirichlet boundary conditions like some libmesh examples. The textbook usually lets u = 0 on boundary, making it easy to understand why the boundary term vanishes in weak form. But when u is not zero on boundary, I found libmesh

Re: [Libmesh-users] Dirichlet Boundary Condition on Part of the Variables

2014-03-04 Thread David Knezevic
boundary side (y=y_max) is supposed to deform evenly >along both directions of the x-axis. However, in both figures, the >deformation occurs mainly in one direction. > Thanks very much for your help. Cheers, Dafang Date: Tue, 4 Mar 2014 > 18:47:51 -0500 From: David Knezevic &g

Re: [Libmesh-users] Dirichlet Boundary Condition on Part of the Variables

2014-03-04 Thread Dafang Wang
along both directions of the x-axis. However, in both figures, the deformation occurs mainly in one direction. Thanks very much for your help. Cheers, Dafang Date: Tue, 4 Mar 2014 18:47:51 -0500 From: David Knezevic Subject: Re: [Libmesh-users] Dirichlet Boundary Condition on Part of the

Re: [Libmesh-users] Dirichlet Boundary Condition on Part of the Variables

2014-03-04 Thread David Knezevic
Hi Dafang, I've done this a lot for elasticity problems, and haven't had any problems with it. If you can send through an example that illustrates what is happening (e.g. a modified version of systems_of_equations_ex6), I'd be happy to have a look. David On 03/04/2014 06:08 PM, Dafang Wang

[Libmesh-users] Dirichlet Boundary Condition on Part of the Variables

2014-03-04 Thread Dafang Wang
Hi, The Libmesh Examples tell how to use the DirichletBoundary class to constrain all the variables in a system, but I am not sure how to apply zero Dirichlet BC to PART of the field variables in a system. I am solving a simple 3D elastic problem and I want to fix a boundary in the y direction

Re: [Libmesh-users] dirichlet boundary

2013-11-13 Thread Manav Bhatia
Thanks, David. I will be able to do that. I also have a patch coming for some work on sensitivity analysis. I figured that the enforce_constraints_exactly method is what provides the capability for other systems for application of Dirichlet bcs. I should be able to get the dof information from t

Re: [Libmesh-users] dirichlet boundary

2013-11-13 Thread David Knezevic
Hi Manav, It would be great to update CondensedEigenSystem in the way you propose. I originally implemented that class since I needed it for some of the Reduced Basis code, and it pre-dates the DirichletBoundary stuff. Current the user has to initialize the list of Dirichlet dofs in CondensedE

[Libmesh-users] dirichlet boundary

2013-11-13 Thread Manav Bhatia
Hi, I am trying to understand the application of DirichletBoundary constraints in the system solution. For a system, say LinearImplicitSystem or NonlinearImplicitSystem, once the user calls solve, at what stage (and which routine) in this function call are the Dirichlet boundary condition

Re: [Libmesh-users] Dirichlet Boundary Conditions and Vector FE.

2013-03-19 Thread Subramanya Gautam Sadasiva
imple states,independent of their specific history." Herbert Callen . Thermodynamics and an Introduction to Thermostatics. - Original Message - From: "Paul T. Bauman" To: "Subramanya Gautam Sadasiva" Cc: "libmesh-users" Sent: Tuesday, March 19, 2013

Re: [Libmesh-users] Dirichlet Boundary Conditions and Vector FE.

2013-03-19 Thread Paul T. Bauman
On Tue, Mar 19, 2013 at 9:37 PM, Subramanya Gautam Sadasiva < [email protected]> wrote: > Hi, > I have a small question about applying boundary conditions using the > Dirichlet Boundary Conditions while solving a problem with > lagrangian_vector elements. How do I constrain only one of the compo

[Libmesh-users] Dirichlet Boundary Conditions and Vector FE.

2013-03-19 Thread Subramanya Gautam Sadasiva
Hi, I have a small question about applying boundary conditions using the Dirichlet Boundary Conditions while solving a problem with lagrangian_vector elements. How do I constrain only one of the components? Subramanya Sadasiva "But memory eventually fades. Turbulences damp out, internal stra