CREA_CHAMP - NUME_MODE - NUME_ORDRE

  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 years 5 months ago - 11 years 5 months ago #6531 by MGolbs
CREA_CHAMP - NUME_MODE - NUME_ORDRE was created by MGolbs
Hallo,

habe bei einem Rechenlauf folgenden Fehler:
   depl=CREA_CHAMP(INFO=1,
                  CRITERE='RELATIF',
                  TYPE_CHAM='NOEU_DEPL_R',
                  PRECISION=9.9999999999999995E-07,
                  RESULTAT=Res,
                  NOM_CHAM='DEPL',
                  INTERPOL='NON',
                  NUME_MODE=1,
                  OPERATION='EXTR',
                  );
   
   !------------------------------------------------------------------------!
   ! <A> <UTILITAI8_47>                                                     !
   !                                                                        !
   ! Pas de champ correspondant à un accès demandé pour la sd_resultat  Res !
   !                                                                        !
   !  accès xxxxxx : 1                                                      !
   !                                                                        !
   !                                                                        !
   ! Ceci est une alarme. Si vous ne comprenez pas le sens de cette         !
   ! alarme, vous pouvez obtenir des résultats inattendus !                 !
   !------------------------------------------------------------------------!
      
   !---------------------------------------------------------------------------!
   ! <EXCEPTION> <MODELISA4_19>                                                !
   !                                                                           !
   ! on ne peut extraire qu'1 numero d'ordre. vous en avez specifie plusieurs. !
   !---------------------------------------------------------------------------!
   
   Destruction du concept 'depl'.
...
...
..
JDC.py : ERREUR A L'INTERPRETATION DANS ACCAS - INTERRUPTION
>> JDC.py : DEBUT RAPPORT
CR phase d'initialisation
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   ! <S> Exception utilisateur levee mais pas interceptee.                      !
   ! Les bases sont fermees.                                                    !
   ! Type de l'exception : error                                                !
   !                                                                            !
   !  on ne peut extraire qu'1 numero d'ordre. vous en avez specifie plusieurs. !
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
fin CR phase d'initialisation
Date : 17/10/2012 Page : 1/22
Responsable : Jacques PELLET Clé : U4.72.04 Révision : 9849
..
..
SD_RESULTAT
/NUME_ORDRE =nuordr , [I]
/NUME_MODE =numode , [I]
/NOEUD_CMP = (node, cmp), [l_K8]
..
..

Was ist der Unterschied zwischen NUME_MODE und NUME_ORDRE?

Ich habe im Frequenzbereich 55 Moden ausgerechnet. Diese wurden auch als NUME_Order gelistet. Ist NUME_MODE dann der Index der jeweiligen Mode? Beginnt dieser mit 1? Sind Moden außerhalb (unterhalb) des Frequnezbereiches ausgespart bei der Zählung? Ich versuche mit NUME_MODE=1 auf die erste zuzugreifen aber da gibt es wohl irgend ein Problem...

Über Tipps und Infos würde ich mich sehr freuen.

Gruß Markus

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège
Last edit: 11 years 5 months ago by MGolbs.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #6532 by RichardS
Replied by RichardS on topic Re: CREA_CHAMP - NUME_MODE - NUME_ORDRE
Hallo Markus,
hier die Erklärung dazu aus U4.52.03:
•
In dynamics (TYPE_RESU='DYNAMICS”), the frequencies are ordered by order ascending
of the modulus of their variation to the shift (cf [R 5.01.01/02], §3.8/2.5). It is the value of the
variable of access NUME_ORDRE of structure of data. The other variable of access,
NUME_MODE, is equal to the true modal position in the spectrum of the eigenvalue
(determined by the test of Sturm cf §3.6 [R5.01.01]). This test of Sturm is licit only in GEP
with real-modes (real symmetric matrixes), in the other cases, GEP with complex modes and
QEP, one poses NUME_MODE=NUMÉRIQUE_ORDRE.
•
In buckling (TYPE_RESU='MODE_FLAMB” or TYPE_RESU='GENERAL”), the eigenvalues
are stored by order ascending algebraic. Variables NUME_ORDRE and NUME_MODE take the
same value equal to this order.

Das heißt, NUME_MODE gibt die tatsächliche Nummerierung aller (nach Sturm) gefundenen EIgenfrequenzen an.
NUME_ORDRE gibt die Nummerierung der tatsächlich berechneten Eigenfrequenzen an.
Falls nur Moden aus einem bestimmten Frequenzband berechnet werden, kann es sein, dass die erste gefundenen Eigenfrequenz (NUME_MODE = 1)
erst die 15. Eigenfrequenz des Systems ist, und deshalb NUME_MODE = 15.
Dies gilt für einfache Modalanalysen. Ausnahmen sind quadratische Eigenwertprobleme und Knickmoden, hier sind beide Werte identisch.

Gruß,
Richard

SimScale - Engineering Simulation in your browser!

Please Log in or Create an account to join the conversation.

  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 years 5 months ago #6533 by MGolbs
Replied by MGolbs on topic Re: CREA_CHAMP - NUME_MODE - NUME_ORDRE
Hallo Richard,

danke für den Tipp. In der *.mess beginnt bei mir NUME_MODE wirklich mit 14 und nicht mit 1. Ich werde das Skript für die Datenextraktion mit dem Offset von 14 versehen.

Kann man eine eingebaute Neunummerierung der NUME_MODE machen, so dass immer mit 1 bei NUME_MODE begonnen wird? Leider kenne ich mich mit der Arbeit im Bereich Code-Aster Datenfelder nicht aus.

Über Tipps und Infos wäre ich sehr dankbar.

Gruß und Dank Markus

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #6534 by RichardS
Replied by RichardS on topic Re: CREA_CHAMP - NUME_MODE - NUME_ORDRE
Hallo Markus,
wieso kannst du denn nicht einfach NUME_ORDRE nutzen?
Gruß,
Richard

SimScale - Engineering Simulation in your browser!

Please Log in or Create an account to join the conversation.

  • MGolbs
  • MGolbs's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
11 years 5 months ago #6536 by MGolbs
Replied by MGolbs on topic Re: CREA_CHAMP - NUME_MODE - NUME_ORDRE
Hallo Richard,

danke für die Rückmeldung! Das liegt daran, dass ich das Skript nicht selbst erstellt habe (Auftragsvergabe an extern) und zu wenig tief in der Thematik stecke. Etwas Python verstehe ich, schreibe da auch einfache Software in Python.....

Grundsätzlich habe ich auch schon mal daran gedacht NUME_ORDRE im Skript Anstelle NUME_MODE zu nutzen. Ob das aber inerhalb der verwendeten Funktion machbar ist ???

..
..
for X in range(nmodes):
	depl=CREA_CHAMP(TYPE_CHAM='NOEU_DEPL_R',
					   OPERATION='EXTR',
					   RESULTAT=Res,
					   NOM_CHAM='DEPL',
					   NUME_MODE=X+1,
					   INFO=1,);

....

....

	affe.append(   _F(CHAM_GD=Disp[2*X]  ,NUME_MODE=2*X+1,FREQ=freqs[X],), )
	affe.append(   _F(CHAM_GD=Disp[2*X+1],NUME_MODE=2*X+2,FREQ=freqs[X],), )


...
..

Gruß und Dank Markus

Dem Überflüssigen nachlaufen, heißt das Wesentliche verpassen.
Jules Saliège

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #6538 by RichardS
Replied by RichardS on topic Re: CREA_CHAMP - NUME_MODE - NUME_ORDRE
Hallo Markus,
ohne genau zu wissen was das skript tut, scheint mir dass in diesem Fall NUME_ORDRE besser ist, zumindest im CREA_CHAMP.
Die Frage ist nur wofür "affe" im späteren Verlauf genutzt wird.
Gruß,
Richard

SimScale - Engineering Simulation in your browser!

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.144 seconds
Powered by Kunena Forum