background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_CONSTANTE
Date:
10/12/04
Author (S):
COURTEOUS Mr., J.P. LEFEBVRE
Key
:
U4.31.01-H
Page
:
1/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
Organization (S):
EDF-R & D/AMA














Instruction manual
U4.3- booklet: Function
Document: U4.31.01



Operator
DEFI_CONSTANTE








1 Goal
To define the value of an invariant size.
This operator is a facility offered each time a concept of the type
function
is waited and that
the data to be introduced is constant. That makes it possible to define, for example, of materials of
characteristics independent of the temperature for controls which make it possible to treat
variable materials of characteristics with the temperature.

Attention not to be confused with the definition of a real parameter (ex: has = 3.).
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_CONSTANTE
Date:
10/12/04
Author (S):
COURTEOUS Mr., J.P. LEFEBVRE
Key
:
U4.31.01-H
Page
:
2/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
2 Syntax

F [function] =
DEFI_CONSTANTE
(
NOM_RESU
=/
“TOUTRESU”,
[DEFECT]
/
NR
,
[K8]
VALE
=
v
,
[R]
TITRATE
= Ti
[l_Kn]
)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_CONSTANTE
Date:
10/12/04
Author (S):
COURTEOUS Mr., J.P. LEFEBVRE
Key
:
U4.31.01-H
Page
:
3/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
3 Operands
3.1 Operand
NOM_RESU
NOM_RESU = NR
Indicate the name of the result,
function
thus created is a function whose value is of name
NR
(8 characters).
In fact, this operand is not useful systematically for checks of coherence, in
execution of the code. These checks of coherence are made by the control
CALC_FONCTION
.

3.2 Operand
VALE
VALE = v
Value of the constant (a real number).

3.3 Operand
TITRATE
TITRATE = Ti
Titrate attached to the concept produced by this operator [U4.03.01].


4 Examples
·
To define the constant function “1.” :
F_UN = DEFI_CONSTANTE (
VALE = 1. )
The function
F_UN
represent “any kind of result” (
TOUTRESU
) by
DEFECT
·
To define a constant function representing a constant YOUNG modulus
F_YOUNG =
DEFI_CONSTANTE
(
VALE = 2.1E11,
NOM_RESU
=
“E”
)
background image
Code_Aster
®
Version
7.4
Titrate:
Operator
DEFI_CONSTANTE
Date:
10/12/04
Author (S):
COURTEOUS Mr., J.P. LEFEBVRE
Key
:
U4.31.01-H
Page
:
4/4
Instruction manual
U4.3- booklet: Function
HT-66/04/004/A
























Intentionally white left page.