Code_Aster ®
Version
7.4
Titrate:
Operator PROD_MATR_CHAM


Date:
27/01/05
Author (S):
J. Key PELLET
:
U4.72.06-D Page
: 1/4

Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.7- booklet: Operations on the results and the fields
Document: U4.72.06
Operator PROD_MATR_CHAM

1 Goal

To carry out the product of a matrix by a vector.

The matrix is a structure of data of the type matr_asse: it is with actual values or complex,
symmetrical or not symmetrical, with a storage “line of sky per blocks” or Morse. The vector is
a structure of data of the type cham_no. It is with actual values or complex. One imposes that
stamp and vector are both to actual values or both with complex values (if not
to use before commands COMB_MATR_ASSE [U4.72.01] or COMB_CHAM_NO [U4.72.02]) and
that they share same classification (see command NUME_DDL [U4.61.11]).

Product a concept of the cham_no type *.

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 PROD_MATR_CHAM


Date:
27/01/05
Author (S):
J. Key PELLET
:
U4.72.06-D Page
: 2/4

2 Syntax

uass
[cham_no_ *] = PROD_MATR_CHAM (






MATR_ASSE
= m,/[matr_asse_DEPL_R]
/
[matr_asse_TEMP_R]
/
[matr_asse_DEPL_C]
/
[matr_asse_PRES_C]






CHAM_NO
=
U
,
/
[cham_no_DEPL_R]
/
[cham_no_TEMP_R]
/
[cham_no_DEPL_C]
/
[cham_no_PRES_C]






TITER
= titr,
[l_Kn]











)

The type of the concept of uass is:

MATR_ASSE
CHAM_NO
CHAM_NO
[matr_asse_DEPL_R]
and [cham_no_DEPL_R]

[cham_no_DEPL_R]
[matr_asse_DEPL_C]
and [cham_no_DEPL_C]

[cham_no_DEPL_C]
[matr_asse_TEMP_R]
and [cham_no_TEMP_R]

[cham_no_TEMP_R]
[matr_asse_PRES_C]
and [cham_no_PRES_C]

[cham_no_PRES_C]

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 PROD_MATR_CHAM


Date:
27/01/05
Author (S):
J. Key PELLET
:
U4.72.06-D Page
: 3/4

3 Operands

3.1 Word
key
MATR_ASSE

MATR_ASSE = m

Name of the matrix (concept matr_asse_ *) to combine.

3.2 Word
key
CHAM_NO

CHAM_NO = U

Name of the vector (concept cham_no_ *) to combine.

3.3 Key word
TITER

TITER = titr

Titrate that one wants to give to the result

4 Examples
4.1
Phase of checking

· Checking which the produced concept is not an operand of input of the operator.

4.2 Phase
of execution

· Checking that the matrix and the vector to be multiplied are both with actual values or all them
two with complex values.

· Checking of coherence: the operands of the matr_asse_ type * and cham_no_ type * must
to share same classification.

· Checking that the matrix was not already factorized.

5 Example
of use

Product stamps vector:



u_mv_1 = PROD_MATR_CHAM
(MATR_ASSE = mat_1,
CHAM_NO
=
u_1,










)

For example, one can use this command to create a vector second member resulting from the product
matrix of mass and a vector acceleration obtained by command DYNA_LINE_TRAN. It
vector second member can be used as loading for a static calculation.
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 PROD_MATR_CHAM


Date:
27/01/05
Author (S):
J. Key PELLET
:
U4.72.06-D Page
: 4/4

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

Outline document