Re: [Libmesh-users] Periodic BCs for unstructured mesh

2018-08-10 Thread Bailey Curzadd
I see what you mean. In the meantime, I worked out how to automatically generate meshes where the boundary faces have a matching discretization, and I'm trying to work with PeriodicBoundary. However, I always get a "Periodic boundary neighbor not found" error. I thought the matched-face meshing mig

Re: [Libmesh-users] Periodic BCs for unstructured mesh

2018-08-07 Thread Roy Stogner
In that sense of "unstructured", strong enforcement of periodic boundaries would lead to "locking". Imagine piecewise linear or bilinear elements, with nodes like: AB--C--D--E-F on one side of the boundary and G-H---I-J---K---L on the other. Side AB forces GH and HI to have the

Re: [Libmesh-users] Periodic BCs for unstructured mesh

2018-08-07 Thread David Knezevic
On Tue, Aug 7, 2018 at 9:07 AM, Bailey Curzadd wrote: > Hi there, > > I'm using libMesh to calculate the homogenized properties of > microstructures with cuboid unit cells. To do this, the boundaries of the > unit cell require periodic boundary conditions. As far as I can tell, > though, the Peri

Re: [Libmesh-users] Periodic BCs for unstructured mesh

2018-08-07 Thread Paul T. Bauman
Posting reply to list. On Tue, Aug 7, 2018 at 9:40 AM Bailey Curzadd wrote: > That's correct. > > Paul T. Bauman schrieb am Di., 7. Aug. 2018, 15:32: > >> To clarify, do you mean unstructured here in the sense that the two >> boundaries that are to be periodic are not simply a translation of on

Re: [Libmesh-users] Periodic BCs for unstructured mesh

2018-08-07 Thread Paul T. Bauman
Didn't hit reply-all. On Tue, Aug 7, 2018 at 9:31 AM Paul T. Bauman wrote: > To clarify, do you mean unstructured here in the sense that the two > boundaries that are to be periodic are not simply a translation of one > another? E.g. nodes do not match up? > > On Tue, Aug 7, 2018 at 9:08 AM Bail

[Libmesh-users] Periodic BCs for unstructured mesh

2018-08-07 Thread Bailey Curzadd
Hi there, I'm using libMesh to calculate the homogenized properties of microstructures with cuboid unit cells. To do this, the boundaries of the unit cell require periodic boundary conditions. As far as I can tell, though, the PeriodicBoundary class only works with structured meshes, which isn't r

Re: [Libmesh-users] periodic BCs

2013-04-22 Thread Ataollah Mesgarnejad
Ben, That makes sense but then what is PeriodicBoundary.myboundary and PeriodicBoundary.pairedboundary ? Best, Ata On Apr 22, 2013, at 1:26 PM, "Kirk, Benjamin (JSC-EG311)" wrote: > If I recall correctly it defines the displacement to the matching periodic > boundary, so that ultimately >

Re: [Libmesh-users] periodic BCs

2013-04-22 Thread Kirk, Benjamin (JSC-EG311)
If I recall correctly it defines the displacement to the matching periodic boundary, so that ultimately U(x+d)=U(x) On Apr 22, 2013, at 10:54 AM, "Ataollah Mesgarnejad" wrote: > Dear all, > > I was wondering if anyone can explain the vector disp for constructor for > PeriodicBoundary? F

[Libmesh-users] periodic BCs

2013-04-22 Thread Ataollah Mesgarnejad
Dear all, I was wondering if anyone can explain the vector disp for constructor for PeriodicBoundary? For example in adaptivity example 5: PeriodicBoundary horz(RealVectorValue(2.0, 0., 0.)); what does RealVectorValue(2.0, 0., 0.) do? Thanks, Ata -

Re: [Libmesh-users] Periodic BCs

2009-07-21 Thread David Knezevic
Hi Roy, > Which formulation are you using? If it's velocity-pressure, then > "make u, v, and w periodic" should be straightforward enough, but > you'll have to do something more complex with p, and right now the > DofMap APIs don't support anything more complex than "make every > variable periodi

Re: [Libmesh-users] Periodic BCs

2009-07-21 Thread Roy Stogner
On Tue, 21 Jul 2009, David Knezevic wrote: > I'm trying to do a Navier-Stokes channel flow problem with periodic BCs > on the left and right boundaries; Which formulation are you using? If it's velocity-pressure, then "make u, v, and w periodic" should be straightforward enough, but you'll have

Re: [Libmesh-users] Periodic BCs

2009-07-21 Thread David Knezevic
hah, it's always the way isn't it: you figure it out just after emailing the list... I moved the adding of the periodic BC to after equation_systems.init() and added the aptly named function call: dof_map.create_dof_constraints(mesh); and now it works! Cheers, Dave David Knezevic wrote:

[Libmesh-users] Periodic BCs

2009-07-21 Thread David Knezevic
Hi all, I'm trying to use libMesh's functionality for periodic boundary conditions, but I can't quite figure it out... I looked it up in the archives, but couldn't find any info. I'm trying to do a Navier-Stokes channel flow problem with periodic BCs on the left and right boundaries; I added: