Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2017-10-11 19:35:00

Ceduardolino
Member
Registered: 2017-03-19
Posts: 4

Modify names

Good afternoon

I'd like some help from the more experienced, please.

Modify in SIGM_NOEU for Medium Stress, SIEQ_NOEU for Equivalent Stress o Displaced Voltage Von-Mises and DEPL as Displacement, to be displayed the Paravis.

IMPR_RESU(FORMAT='MED',
          UNITE=80,
          RESU=_F(RESULTAT=RESU,
                  NOM_CHAM=('SIGM_NOEU','SIEQ_NOEU','DEPL',),),);

I checked the documentation [U7.05.21] and did not understand.
Help me please thank you.




Carlos Eduardo
Brasil

Offline

#2 2017-10-12 19:22:36

Johannes_ACKVA
Member
From: Ingenieurbüro für Mechanik, DE
Registered: 2009-11-04
Posts: 630
Website

Re: Modify names

Result=STAT_NON_LINE(...

# INFO_RESU to get to know the names of the fields (NOM_CHAM) and components (NOM_CMP)
INFO_RESU(RESULTAT=Result)

IMPR_RESU(FORMAT='MED',
          RESU=(_F(RESULTAT=Result, NOM_CHAM='DEPL',      NOM_CMP=('DX','DY','DZ',),NOM_CHAM_MED='DEPL_Displacement',),
                _F(RESULTAT=Result, NOM_CHAM='DEPL',      NOM_CMP=('LAGS_C',),      NOM_CHAM_MED='LAGS_C_ContactPressure',),
                _F(RESULTAT=Result, NOM_CHAM='REAC_NODA', NOM_CMP=('DX','DY','DZ',),NOM_CHAM_MED='REAC_NODA_ReactionForce',),
                _F(RESULTAT=Result, NOM_CHAM='SIGM_NOEU',                           NOM_CHAM_MED='SIGM_NOEU_Stress',),
                _F(RESULTAT=Result, NOM_CHAM='SIEQ_NOEU', NOM_CMP=('VMIS',),        NOM_CHAM_MED='VMIS_VMises',),
                _F(RESULTAT=Result, NOM_CHAM='CONT_NOEU',                           NOM_CHAM_MED='CONT_NOEU_ContactValues',),
          ),);

Regards
Johannes_ACKVA

______________________________________________________________________
CODE-ASTER-courses at Ingenieurbüro für Mechanik, Germany

*** CODE-ASTER  DYNAMIC ANALYSIS
     30 Nov - 01 Dec 2017


Ingenieurbüro für Mechanik
D 91717 Wassertrüdingen / Germany

www.code-aster.de                                                Training & Support for NASTRAN and CODE-ASTER

Offline

#3 Yesterday 18:58:05

Ceduardolino
Member
Registered: 2017-03-19
Posts: 4

Re: Modify names

Good afternoon, Johannes.

Below is my .comm code, but I did not get the expected result. Please help me. Thank you

DEBUT();

MElast=10000000.0;
CPoisson=0.25;

MA=DEFI_MATERIAU(ELAS=_F(E=MElast,
                         NU=CPoisson,),);
						 
MAIL=LIRE_MAILLAGE(FORMAT='MED',);

MAIL=MODI_MAILLAGE(reuse=MAIL,
                   MAILLAGE=MAIL,
                   ORIE_PEAU_2D=_F(GROUP_MA=('S_up', 'S_dwn'),),
                   );

MODE=AFFE_MODELE(MAILLAGE=MAIL,
                 AFFE=_F(TOUT='OUI',
                         PHENOMENE='MECANIQUE',
                         MODELISATION='C_PLAN',),);
 				 
MATE=AFFE_MATERIAU(MAILLAGE=MAIL,
                   AFFE=_F(TOUT='OUI',
                           MATER=MA,),);
						   
Pressao=-10000.0;

CHAR=AFFE_CHAR_MECA(MODELE=MODE,
                    DDL_IMPO=(
                        _F(GROUP_MA='DX_0',
                           DX=0.0,),
                        _F(GROUP_NO='DY_0',
                           DY=0.0,),
                        ),
                    PRES_REP=(
                        _F(GROUP_MA='S_up',
                           PRES=Pressao,),
                        _F(GROUP_MA='S_dwn',
                           PRES=Pressao,),
                        ),
                    );
					
					
RESU=MECA_STATIQUE(MODELE=MODE,
                   CHAM_MATER=MATE,
                   EXCIT=_F(CHARGE=CHAR,),);
				   
RESU=CALC_CHAMP(reuse=RESU,
               RESULTAT=RESU,
               CONTRAINTE=('SIGM_ELNO','SIGM_NOEU'),
               CRITERES=('SIEQ_ELNO','SIEQ_NOEU',),);
			   
INFO_RESU(RESULTAT=RESU)
				  
IMPR_RESU(FORMAT='MED',
          RESU=(
		_F(RESULTAT=RESU, NOM_CHAM='DEPL',      NOM_CMP=('DX','DY','DZ',),NOM_CHAM_MED='DEPL_Displacement',),
                _F(RESULTAT=RESU, NOM_CHAM='DEPL',      NOM_CMP=('LAGS_C',),      NOM_CHAM_MED='LAGS_C_ContactPressure',),
                _F(RESULTAT=RESU, NOM_CHAM='REAC_NODA', NOM_CMP=('DX','DY','DZ',),NOM_CHAM_MED='REAC_NODA_ReactionForce',),
                _F(RESULTAT=RESU, NOM_CHAM='SIGM_NOEU',                           NOM_CHAM_MED='SIGM_NOEU_Stress',),
                _F(RESULTAT=RESU, NOM_CHAM='SIEQ_NOEU', NOM_CMP=('VMIS',),        NOM_CHAM_MED='VMIS_VMises',),
                _F(RESULTAT=RESU, NOM_CHAM='CONT_NOEU',                           NOM_CHAM_MED='CONT_NOEU_ContactValues',),
          ),);

FIN();

Carlos Eduardo
Brasil

Offline

Board footer