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

Constraints inside MESH-based bodies #72

Open
stevebrasier opened this issue Mar 16, 2018 · 5 comments
Open

Constraints inside MESH-based bodies #72

stevebrasier opened this issue Mar 16, 2018 · 5 comments
Assignees
Labels

Comments

@stevebrasier
Copy link
Collaborator

Creating constraints inside a MESH-based body is failing at some points with a “Point outside of domain” error. Using DISPLAY_POINT demonstrates these points are inside the body at least. Discussion via email indicated that this occurs for points linked to elements which do not have a free face. Possibly we never ran into this before due to using coarse meshes (i.e. most elements would have a free face) or using surface nodesets to apply constraints.

Demo files to follow.

@tkoziara
Copy link
Member

tkoziara commented Mar 19, 2018

Steve, this is in fact not a bug but design feature, when I now look at it. Here is an explanation:

Solfec uses a list of geometrical objects attached to a body to perform contact detection. In case of FE bodies this list comprises only those elements which are adjacent, by a face, to the surface of the body. And by design only those elements are checked, when boundary conditions are applied to the finite element bodies.

Changing the above would be possible, but it would possibly take a little more work, than it may be worth, considering what your goal is.

Do you really need displacements boundary conditions inside of the bulk of finite element bodies? Would you not be able to achieve the same effect by placing constraints on the boundary?

On the other hand, if you would like to apply such constraints to rigid or pseudo-rigid bodies, while still using an FE mesh as geometry, you could convert such mesh into convices first, using MESH2CONVEX. Then it would work.

Let me know how you feel about the above:) (nice example code by the way, thanks for providing)
Tomek

@stevebrasier
Copy link
Collaborator Author

Thanks. I guess, in general, there is no reason why arbitrary constraints (as used for boundary conditions) should not be placeable at any point within the body's volume. However, I take the point about the performance aspect. I think I'm happy to leave it as-is at the moment but I think it should be mentioned in the constraints section of the manual.

@tkoziara
Copy link
Member

tkoziara commented Mar 21, 2018 via email

@tkoziara
Copy link
Member

tkoziara commented Apr 4, 2018

Steve, this proved to be easier than thought - because what was needed was already there; I did not remember that at some earlier point I already extended this functionality but did not fully resolve it so that it was seen by the users; please update sources and do test it as much as you can, also in parallel; Best regards:) Tomek

@tkoziara tkoziara closed this as completed Apr 4, 2018
@tkoziara tkoziara reopened this Apr 16, 2018
@tkoziara
Copy link
Member

Reopened in relation to #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants