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

How to assign young Modulus for material in mfem example 2? #4536

Open
NikhilPurbey opened this issue Oct 10, 2024 · 2 comments
Open

How to assign young Modulus for material in mfem example 2? #4536

NikhilPurbey opened this issue Oct 10, 2024 · 2 comments

Comments

@NikhilPurbey
Copy link

NikhilPurbey commented Oct 10, 2024

Hello there,

  How can I assign young modulus to mfem example 2 material.

I have a seperate ex2.cpp which I have modified to do linear elasticity analysis for a single material beam. Here is my ex2.cpp
ex2.zip

I am using this msh file with my ex2.cpp
newRefinedTestBeam.zip

Also, I wanted to clarify how I could assign a value pull force so that basically assign weight of the material and it does the linear elasticity calculation. in my ex2.cpp I wanted to be able to assign weight of beam as pullforce array value, and be able to assign young modulus depending on the type of material I am analysing.

How can I accomplish that? Maybe the way I am trying to do this is wrong. If I could get some more guidance on it it will be super helpful.

@NikhilPurbey
Copy link
Author

@Raghavendra0117 Do you have any insight on this?

@Raghavendra0117
Copy link

Raghavendra0117 commented Oct 16, 2024

Hi @NikhilPurbey ,

Example2 has two input parameters, λ and μ. These are material Lame constants and can be evaluated using the following formulae.

$$ \lambda = \frac {E \nu}{\left(1- 2 \nu \right) \left(1+ \nu \right)} $$

$$ \mu = \frac{E}{2 \left( 1+ \nu \right)} $$

E = Elasticity modulus/Yong's modulus
μ = poisson ratio.

Ref:https://mfem.org/examples/.
https://en.wikipedia.org/wiki/Lam%C3%A9_parameters

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

No branches or pull requests

2 participants