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

Add method for gravity assembly to SolidBody #217

Closed
adtzlr opened this issue May 2, 2022 · 0 comments · Fixed by #237
Closed

Add method for gravity assembly to SolidBody #217

adtzlr opened this issue May 2, 2022 · 0 comments · Fixed by #237
Labels
enhancement New feature or request
Milestone

Comments

@adtzlr
Copy link
Owner

adtzlr commented May 2, 2022

Like in #140

density = 7850 * 1e-12
gravity = np.array([0,-9.81, 0]) * 1e3

bodyforce = fe.IntegralForm(
    fun=density * gravity.reshape(-1, 1, 1),
    v=displacement,
    dV=region.dV,
).assemble()
@adtzlr adtzlr added the enhancement New feature or request label May 2, 2022
@adtzlr adtzlr added this to the 4.0.0 milestone May 2, 2022
@adtzlr adtzlr modified the milestones: 4.0.0, 4.1.0 Aug 6, 2022
adtzlr added a commit that referenced this issue Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant