- SI units:
- Length: m
- Force: N
- Elastic Modulus: Pa = N/m²
- Mass: kg
- Mass Density: kg / m³
- mm / N / t
- Length: mm
- Force: N
- Elastic Modulus: MPa = N/mm²
- Mass: t
- Mass Density: t / mm³
This blog is all about open source FEM software. Mostly about Code-Aster, Salome and NETGEN, but I try to take a look at all the other great projects, that are out there.
The properties of the spring are described with "AFFE_CARA_ELEM". In this case the spring has only translational degrees of freedom, which can be defined by the element "K_T_D_L" (be sure to use any of the "T" elements, not "TR"). Because we use a SEG2 entity, we also need the "L", not "N".modele=AFFE_MODELE(MAILLAGE=mesh,AFFE=(_F(TOUT='OUI',PHENOMENE='MECANIQUE',MODELISATION='3D',),_F(GROUP_MA='spring',PHENOMENE='MECANIQUE',MODELISATION='DIS_T',),),);
If you need rotation as well, choose e.g. "K_TR_D_L".cara=AFFE_CARA_ELEM(MODELE= modele,DISCRET=(_F(CARA='K_T_D_L',GROUP_MA='spring',VALE=(25000,25000,25000,),),);
or the solver:MACRO_MATR_ASSE(MODELE= modele,CHAM_MATER=mat,CARA_ELEM=cara, ...
dyna=DYNA_LINE_TRAN(MODELE=modell,CHAM_MATER=mat,CARA_ELEM=cara,MATR_MASS=Mmass, ...