Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 1/6

Organization (S): EDF-R & D/AMA, CS IF

Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
Document: U4.72.02

Operator COMB_CHAM_NO

1 Goal

To carry out the linear combination of fields to the nodes.

All the concepts of the cham_no_ type * to combine must be based on same classification
(command NUME_DDL [U4.61.11]).

This operator also allows to carry out the recombination of modes of Fourier in a direction
data (for displacements or temperatures).

The produced concept (cham_no_ *) can be réentrant.
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 2/6

2 Syntax

cchno [cham_no_ *] = COMB_CHAM_NO

(
reuse = cchno,
/COMB_R = _F (
PART =/“IMAG”,
/
“REEL”
,







CHAM_NO
=
CH
,
/
[cham_no_DEPL_R]
/
[cham_no_TEMP_R]
/
[cham_no_PRES_R]
/
[cham_no_DEPL_C]
/
[cham_no_TEMP_C]
/
[cham_no_PRES_C]








COEF_R
=
R,
[R]






),
/
COMB_C
=
_F (

CHAM_NO
=
CH
,
/
[cham_no_DEPL_R]
/
[cham_no_DEPL_C]
/
[cham_no_TEMP_R]
/
[cham_no_TEMP_C]
/
[cham_no_PRES_R]
/
[cham_no_PRES_C]








/
COEF_R
=
R,
[R]
/
COEF_C
=
C,
[C]






),


/
COMB_FOURIER = _F (
CHAM_NO = CH,/
[cham_no_DEPL_R]
/
[cham_no_TEMP_R]











NUME_MODE
=
N,
[I]










TYPE_MODE =/“SYME”,
/“ANTI”
,










COEF_R =
/R, [R]
/
1.,
[DEFAUT]









),



ANGL =, (in degrees)







[R]
)

if COMB_R and CHAM_NO: [cham_no_DEPL_R]
then [*]
- >
DEPL_R
[cham_no_TEMP_R]
[*]
- >
TEMP_R
[cham_no_PRES_R]
[*]
- >
PRES_R
[cham_no_DEPL_C]
[*]
- >
DEPL_R
[cham_no_TEMP_C]
[*]
- >
TEMP_R
[cham_no_PRES_C]
[*]
- >
PRES_R

if COMB_C and CHAM_NO: [cham_no_DEPL_R]
then [*]
- >
DEPL_C
[cham_no_DEPL_C]
[*]
- >
DEPL_C
[cham_no_TEMP_R]
[*]
- >
TEMP_C
[cham_no_TEMP_C]
[*]
- >
TEMP_C
[cham_no_PRES_R]
[*]
- >
PRES_C
[cham_no_PRES_C]
[*]
- >
PRES_C

if COMB_FOURIER and CHAM_NO [cham_no_DEPL_R]
then [*]
- >
DEPL_R
[cham_no_TEMP_R]
[*]
- >
TEMP_R
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 3/6

3 Operands

3.1
Recall on the syntax of the complex values

The complex values can be declared in two different ways:

·
in the form
+ ib with syntax IH has has, B
where
has and B are real numbers.
·
in the form
(module, phase) with MP MOD, pH
where
MOD and pH are real numbers (pH in degree).

3.2 Word
key
COMB_R

/COMB_R = _F

Description of the terms of the linear combination producing a cham_no_ * with coefficients
realities.

3.2.1 Operand
PARTIE



PART =/“REAL”,
/
“IMAG”
,

To carry out extractions or linear combinations of part (S) imaginary (S) or
of part (S) real (S) of cham_no complex.

3.2.2 Operand
CHAM_NO


CHAM_NO = CH,

Name of the concept of the cham_no_ type * to combine.

3.2.3 Operand
COEF_R


COEF_R = R,

Real coefficient to apply to the concept argument of CHAM_NO.

3.3 Word
key
COMB_C


/COMB_C = _F

Description of the terms of the linear combination producing a cham_no_ * with coefficients
complexes.

3.3.1 Operand
CHAM_NO


CHAM_NO = CH,

Name of the concept of the cham_no_ type * to combine.

3.3.2 Operands
COEF_R and COEF_C


/COEF_R = R,

Real coefficient to apply to the concept argument of CHAM_NO.

/
COEF_C
=
C,

Coefficient complexes to apply to the concept argument of CHAM_NO.
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 4/6

3.4 Word
key
COMB_FOURIER

/
COMB_FOURIER = _F

Harmonic description by harmonic of the terms of the Fourier series with
to combine. With an occurrence of the key word factor COMB_FOURIER corresponds
description supplements of a harmonic and only one.

The description of a harmonic comprises:

·
the field of displacements (or temperatures) resulting from a preliminary resolution on
the harmonic considered,
·
the number of mode or number of the harmonic of FOURIER,
·
the type of the harmonic (symmetrical or antisymmetric).

3.4.1 Operand
CHAM_NO




CHAM_NO = CH,

Field of displacements (or temperatures) corresponding to harmonic N

3.4.2 Operand
NUME_MODE




NUME_MODE = N,

Entirety indicating the number of the harmonic.

3.4.3 Operand
TYPE_MODE




TYPE_MODE =/“SYME”, symmetrical harmonic
/
“ANTI”
,
antisymmetric harmonic

3.4.4 Operand
COEF_R





COEF_R
=/R,
Multiplying coefficient associated the harmonic







/1. , (1 per defect in the standard recombination)

Recall: The recombination of FOURIER on displacements is written:






cosn

sin N
0
NR
0






U () =

cosn
one +
N
S

sin N
U

has
N = 0



0
- sin N

0
cosn

14444 2
4 4444 3
4
1444 2
4
3
4444


Have
Aa


with one
N
N
N
N
S = (S
U R, S
U Z, S
U) (in the same way for ua).

A symmetrical harmonic is thus recombined with the matrix Have, a harmonic
antisymmetric with the Aa matrix.

3.5 Operand
ANGL



ANGL = angle in degree of the section where the recombination of FOURIER takes place.
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 5/6

4
Phases of checking/execution

Phase of checking

It is checked that the “produced concept” is not an operand of input of the operator.

In the case of the recombination of FOURIER, one checks that all the cham_no to be recombined are of
even standard (cham_no_DEPL_R or cham_no_TEMP_R).

Production run

·
With the execution the operator checks before carrying out the linear combination, that the type of
values of the result is compatible with the type of the values of the concepts cham_no_ * with
to combine.
·
It also carries out the checks of coherence: arguments of the cham_no_ type *
must have same classification.

5 Examples
5.1
Traditional linear combination



Utot = COMB_CHAM_NO (COMB_C = (_F (CHAM_NO = U1, COEF_R = 1.),

_F
(CHAM_NO=U2,
COEF_C=RI
0.,
1.),),








)

The concept produces Utot is of cham_no_ type * _C (complex): Utot = U1 + I U2

The Utot concept can be used again as concept produced for a news
combination with U3 cham_no_ * _R (real):



Utot = COMB_CHAM_NO
(reuse = Utot,
COMB_C = (_F (CHAM_NO = Utot, COEF_R = 1.),


_F (CHAM_NO
=
U3,


COEF_R
=
2.),),









)

What produces: Utot = Utot + 2. U3

5.2
Recopy concept of the cham_no type

This operator is also used for the recopy of a concept of the cham_no_ type *:



CH_sauv = COMB_CHAM_NO (COMB_R = _F (CHAM_NO = CH, COEF_R = 1.)
)

5.3
Recombination of FOURIER in thermics

One calculates the recombination of FOURIER in = 0 of 2 symmetrical modes: mode 1 and mode 2.

to
=
COMB_CHAM_NO
(COMB_FOURIER
= (
_F (CHAM_NO =TEMP1, NUME_MODE =1, TYPE_MODE = ' SYME'),
_F (CHAM_NO
=temp2, NUME_MODE
=2, TYPE_MODE
= ' SYME'),),
ANGL
=
0.)

Each field of temperature (temp1 and temp2) comes from a resolution on the mode
corresponding.
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Code_Aster ®
Version
7.4
Titrate:
Operator COMB_CHAM_NO


Date:
04/01/05
Author (S):
X. DESROCHES, L. VIVAN Key
:
U4.72.02-H Page
: 6/6

5.4
Recombination of FOURIER in elasticity

dep45
=
COMB_CHAM_NO
(COMB_FOURIER
= (
_F (CHAM_NO =DEP1S, NUME_MODE =1, TYPE_MODE = ' SYME'),



_F (CHAM_NO
=dep0a, NUME_MODE
=0, TYPE_MODE
= ' ANTI'),),



ANGL
=
45.)

One recombines in = 45°:

·
a harmonic resulting (for example) from a loading in uniform pressure mode 1
symmetrical,
·
a harmonic resulting from a loading in pure torsion (antisymmetric mode 0).

Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
HT-66/05/004/A

Outline document