Cody, You were right that seems to be the problem. CUBIT splits the HEX cells differently on the two different surfaces thus the error.
Now is there a more general way built in libMesh to enforce periodic BCs without requiring nodes to be exactly translated? Thanks, Ata On Jun 12, 2013, at 5:00 PM, Cody Permann <[email protected]> wrote: > > > > On Wed, Jun 12, 2013 at 3:51 PM, Ataollah Mesgarnejad > <[email protected]> wrote: > Dear all, > > I have prepared a small example code that tries to assign periodic BCs first > to a HEX8 mesh and then to a TET4 mesh (which crashes in debug) you can get > it here: https://dl.dropboxusercontent.com/u/19391830/sample_periodic_bcs.zip > > David, > > Thank you for your response. I don't really get what you mean by match up > with TET4? I generated the sample TET4 just by splitting HEX8 elements in > CUBIT. > > > Best, > Ata > > > The nodes on the face(s) where you are applying the periodic boundary > conditions need to "pair up" exactly with nodes on the opposite face(s). In > other words, after applying your transformation function to a boundary node, > do you end up at one of your periodic nodes within tolerance? If not, then > you have a problem with your mesh. > > FWIW, I have seen other meshes generated in Cubit that fail the conditions > necessary for applying periodic boundaries. Have you tried using the mesh > generation functions in libMesh to give you a working tet mesh? > > Cody > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
