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

You are not logged in.

#1 2019-05-30 22:50:15

Forestsun
Member
Registered: 2019-04-02
Posts: 10

[Solved] How to create a new node group including all nodes?

Hi,

What I want to do is to using command POST_RELEVE_T to extract my result (evol_ther) into a table... But in this command, key word GROUP_NO is a must and can not set to be all... Then I need to create a new node group to match this key word. But why in DEFI_GROUP I still can not select all nodes in the model !...... Are there any easy way to do this easy thing without using preprocessor?......

Thanks in advance for your help.

Forest

Last edited by Forestsun (2019-05-31 16:45:22)

Offline

#2 2019-05-31 06:52:31

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,622

Re: [Solved] How to create a new node group including all nodes?

hello

this will do the job
it will crate a GROUP_NO named 'all' with all the nodes

i expect you know what you are doing with that
as i may lead to strange results in the result of POST_RELEVE_T
if not a run time error

mesh=DEFI_GROUP(
	MAILLAGE=mesh,
    reuse =mesh,
    CREA_GROUP_MA=(
    	........
    	_F(NOM='all',TOUT='OUI',),
    ),
    CREA_GROUP_NO=(_F(TOUT_GROUP_MA='OUI',),),
);

do not forget to introduce yourself in he ad hoc section of the forum

jean pierre aubry


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

#3 2019-05-31 13:23:39

Forestsun
Member
Registered: 2019-04-02
Posts: 10

Re: [Solved] How to create a new node group including all nodes?

Thanks a lot for your kindly reply!!! It works and I can extract and stack them in a numpy array form. Thank you so much!

Best,
Forest

Last edited by Forestsun (2019-05-31 16:44:39)

Offline