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

You are not logged in.

#1 2020-01-07 17:28:43

Hems
Member
Registered: 2018-06-07
Posts: 9

[SOLVED] get the displacement at each node in a table

Hi,
I am new to code_aster.
I did a static analysis on a simply supported beam with a point load. I am interested in getting the displacement at each node of the beam in a table. I tried to use POST_RELEVE_T. I could get the result for one node. I could not understand how to obtain the displacement table for multiple nodes.

I attached the files herewith.

P.S: I grouped all nodes individually named nds_1,nds_2 ...nds_11to access them by name


Regards,

Hems

Last edited by Hems (2020-01-15 10:45:01)


Attachments:
Simple_Beam.rar, Size: 3.89 KiB, Downloads: 54

Offline

#2 2020-01-08 15:53:19

joanBO
Member
Registered: 2019-04-12
Posts: 16

Re: [SOLVED] get the displacement at each node in a table

Hi Hems,

In your comm file, you wrote:

table = POST_RELEVE_T(ACTION= _F(GROUP_NO=( 'nds_7',),
                                INTITULE='Disp',
				NOM_CHAM='DEPL',
                                OPERATION=('EXTRACTION', ),
                                RESULTANTE=('DZ', ),
                                RESULTAT=res), )

Code_Aster is showing you the displacement of the 'nds_7'. Try adding all the nodes:

table = POST_RELEVE_T(ACTION= _F(GROUP_NO=( 'nds_1', ... , 'nds_11'),

Or make a group with all nodes:

table = POST_RELEVE_T(ACTION= _F(GROUP_NO=( 'nodes'),

Regards,

Joan

Offline

#3 2020-01-08 16:53:27

Hems
Member
Registered: 2018-06-07
Posts: 9

Re: [SOLVED] get the displacement at each node in a table

Hi Joan,

Thanks for the your reply. I already tried your suggestions but I get the displacement summation of the nodes I specify in one line. It is not giving the result I want. But it gives,

using nds_7 and nds_5 results
##ASTER 14.04.00 CONCEPT table CALCULE LE 08/01/2020 A 16:45:50 DE TYPE           
#TABLE_SDASTER                                                                   
INTITULE         RESU     NOM_CHAM         NUME_ORDRE   INST         DZ         
Disp             res      DEPL                        1  0.00000E+00 -5.33333E-07

similarly, I get sum of all nodes displacement if I add all the nodes in the list.


I need a table with columns of  NodeName-Displacement.

Regards,
Hems

Offline

#4 2020-01-14 17:15:23

Hems
Member
Registered: 2018-06-07
Posts: 9

Re: [SOLVED] get the displacement at each node in a table

Hi,

After a lot of trails, I got what I wanted by creating a table and then printing it

depl_Tab=CREA_TABLE(RESU=_F(GROUP_NO=[ENTER LIST OF NODES],
                    NOM_CHAM='DEPL',
                    NOM_CMP=('DZ', ),
                    RESULTAT=res),
                    TITRE='depl_Tab',
                    TYPE_TABLE='TABLE')

IMPR_TABLE(TABLE=depl_Tab,
             FORMAT='TABLEAU',
             UNITE=8,
             FIN_TABLE='',
             SEPARATEUR='|',
             COMMENTAIRE='#',
             COMM_PARA='',
             DEBUT_LIGNE='',
             FIN_LIGNE='\n',
             FORMAT_R='E12.5',
             IMPR_FONCTION='NON',
             INFO=1,)


Thanks
Hems

Last edited by Hems (2020-01-14 17:18:16)

Offline