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 example non-linear Naghdi shell with parametric geometry #10

Conversation

TianYangEPFL
Copy link
Collaborator

Implement of nonlinear Naghdi shell model of a clamped semi-cylinder under a point load.

@TianYangEPFL
Copy link
Collaborator Author

In workflow, it cannot pass the test and I find something that I don't expect:

P2 = ufl.FiniteElement("Lagrange", ufl.triangle, degree=2)
AttributeError: module 'ufl' has no attribute 'FiniteElement'. Did you mean: 'finiteelement'?

But the code works well locally with dolfinx 0.7.3

@jhale
Copy link
Contributor

jhale commented Mar 26, 2024

I switched to a nightly image as we will release 0.8.0 soon.

Elements are now defined using basix.ufl, you can take a look at the other demos for examples. VectorElement and TensorElement no longer exist; pass e.g. shape=(3,) or (3,3).

@jhale
Copy link
Contributor

jhale commented Mar 27, 2024

@cmaurini @a-latyshev Any comments?

@jhale jhale changed the title Tiyang/nonlinear naghdi clamped semicylinder Add example non-linear Naghdi shell with parametric geometry Mar 27, 2024
@jhale jhale self-requested a review March 27, 2024 13:39
@jhale jhale merged commit a32c94a into FEniCS-Shells:main Mar 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants