BAMresearch / fenics-reinforcement

MIT License
0 stars 1 forks source link

Interfaces #4

Open srosenbu opened 1 year ago

srosenbu commented 1 year ago

How do we want the user to interact with this library? Where is it used in a FEniCSX program?

joergfunger commented 1 year ago

This is to be discussed with @eriktamsen , we would like to build a reinforced beam whose concrete properties vary over time, which is then incorporated in the LebeDigitalproject (so Lebedigital includes FenicsX which includes this library)

srosenbu commented 1 year ago

I think this would be more of an issue with the weak form, not the mesh. We currently assume that the user assembles their stiffness matrix for concrete and then calls a function from this package to add rebar stiffness to the matrix and internal force contributions to the residual/internal force vector. So the constitutive model for concrete does not yet play a role here. We can still discuss with @eriktamsen what would work best within LebeDigital

joergfunger commented 1 year ago

Your question was then maybe misinterpreted by me. If you are asking about how the library is used, then I would say

  1. A method that provides a mesh for a given set of reinforcements (block with x,y,z dimensions and two layers (upper and lower) of reinforcement
  2. provide functions to add the contributions of the reinforcement to the residual and the stiffness matrix
  3. we would probably also need some extra visualization functions that visualizes the results (stresses in the bars)