On Fri, Apr 24, 2015 at 6:39 AM, Paul T. Bauman <[email protected]> wrote:
> > > > On Apr 24, 2015, at 12:00 AM, David Knezevic <[email protected]> > wrote: > > > > I'd like to be able to impose boundary conditions on an edge. We added > > support for this in libMesh, but the only way I could come up with for > > creating edge BCs in a mesh generator is to: > > Two ideas, neither of which I've tested: > > 1. You ought to be able to select curves in Cubit (IIRC you were using > this one?) when building side sets. You probably already tried this, but > wanted to be doubly sure. Does it dump them from the sideset because it's > not a face? > As far as we could tell, this doesn't work in CUBIT. I asked someone from CUBIT about it and he confirmed that CUBIT doesn't support sidesets for edges. > 2. I've looked at the code in libmesh, but again haven't tested, but if > you only need nodal dofs constrained, you could create a node set and treat > it like a boundary id. The libmesh code looked like it effectively treated > node sets like side sets. Maybe you could use this too to find non-nodal > dofs on the edge and add them to the node set once it's been created? > This could work as a fallback, but it seems like building libMesh edge BCs is nicer since that automatically handles any edge dofs. The purpose of those 1D elements in the mesh is just to allow us to construct edge BCs in the correct place. I'll also have a quick look later this morning at the bug you found. Not sure if you saw my follow-up email? Adding add _elem_dims.clear(); at the start of MeshBase::cache_elem_dims() seems to fix the problem for me. David ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
