Hi everyone, I'm not very good at Code aster and I've been trying to apply a moment distributed along an edge of a 3D solid for a while, without success. I created a hollow cylinder. I created two groups: a faces group (constraints, DX=DY=DZ=0) and an edges group (where I would like to apply the moment). when I run it, it doesn't generate an error, but when I open the model in Paraview, the cylinder is completely unloaded (Depl=0, VMIS=0). Can anyone help me? Thank you in advance
mesh = LIRE_MAILLAGE(FORMAT='MED',
UNITE=20)
model = AFFE_MODELE(AFFE=_F(MODELISATION=('3D', ),
PHENOMENE='MECANIQUE',
TOUT='OUI'),
MAILLAGE=mesh)
mater = DEFI_MATERIAU(ELAS=_F(E=206000.0,
NU=0.3))
materfl = AFFE_MATERIAU(AFFE=_F(MATER=(mater, ),
TOUT='OUI'),
MODELE=model)
mecabc = AFFE_CHAR_MECA(DDL_IMPO=_F(DX=0.0,
DY=0.0,
DZ=0.0,
GROUP_MA=('FIX_SUPPORT', )),
MODELE=model)
mecach = AFFE_CHAR_MECA(FORCE_ARETE=_F(GROUP_MA=('EDGE_MOMENT', ),
MY=100.0),
MODELE=model)
result = MECA_STATIQUE(CHAM_MATER=materfl,
EXCIT=(_F(CHARGE=mecabc),
_F(CHARGE=mecach)),
MODELE=model)
ris = CALC_CHAMP(CONTRAINTE=('SIGM_ELNO', 'SIGM_NOEU'),
CRITERES=('SIEQ_ELNO', 'SIEQ_NOEU'),
RESULTAT=result)
IMPR_RESU(FORMAT='MED',
RESU=(_F(NOM_CHAM=('SIGM_ELNO', 'SIGM_NOEU', 'SIEQ_ELNO', 'SIEQ_NOEU'),
RESULTAT=ris),
_F(NOM_CHAM=('DEPL', ),
RESULTAT=result)),
UNITE=80)
IMPR_RESU(FORMAT='RESULTAT',
RESU=_F(NOM_CHAM=('SIGM_ELNO', 'SIGM_NOEU', 'SIEQ_ELNO', 'SIEQ_NOEU'),
RESULTAT=ris,
VALE_MAX='OUI',
VALE_MIN='OUI'),
UNITE=8)
FIN()