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

Generalisation of the Fenics material #118

Open
Sidaty1 opened this issue Mar 23, 2022 · 0 comments
Open

Generalisation of the Fenics material #118

Sidaty1 opened this issue Mar 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Sidaty1
Copy link
Collaborator

Sidaty1 commented Mar 23, 2022

For the moment, a component should be created and added to the factory for each new added FEniCS materiel, and can be used like this
fenics_node.addObject('SaintVenantKirchhoff_FEniCS', template=element, young_modulus="3000", poisson_ratio="0.3")
fenics_node.addObject('HyperelasticForcefieldMaterial_FEniCS', printLog=True)

We would like to create a more general Fenics material component that takes as input the FEniCS generated code path and some compiler parameters, and can be used like this
fenics_node.addObject('FEniCS_material', path='../../FEniCS_code/' material="SaintVenantKirchhoff", compiler='gcc', compilerOption=" ")

@Sidaty1 Sidaty1 self-assigned this Mar 23, 2022
@Ziemnono Ziemnono added the enhancement New feature or request label Mar 23, 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

No branches or pull requests

2 participants