Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic bcs with non-zero offset #1345

Open
jasondhales opened this issue Feb 14, 2014 · 2 comments
Open

Periodic bcs with non-zero offset #1345

jasondhales opened this issue Feb 14, 2014 · 2 comments
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@jasondhales
Copy link
Contributor

I need an enhancement to the periodic bcs. For a pair of nodes on opposite faces, the current constraint is

u,,i,, - u,,j,, = 0.

I need to be able to define the constraint this way:

u,,i,, - u,,j,, - c = 0

where c is user-defined. This allows an average gradient across the domain and enables us to impose a net strain, e.g.

@friedmud
Copy link
Contributor

If you just do this in one direction (like x), it should be possible to do it with a DirichletBC and the NearestNodeLocator...

@jasondhales
Copy link
Contributor Author

It will be for (x,y,z) degrees of freedom for all three pairs of faces. I need to specify three axial (xx, yy, zz) and three shear (xy, yz, zx) strains.

Is it hard to add the non-zero offset to the periodic bcs? I suppose I could wire sets of NearestNodeLocators with specialized DirichletBCs, beautified with Actions. But by then I would have essentially replaced the periodic bcs.

If possible, I'd much prefer to avoid duplicating effort. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

3 participants