Download CASTEM2000

Transcript
C.E.A / D.M.T / L.A.M.S
CASTEM2000
A piece of information or a set of information makes up what is called an OBJECT in
the program.
Besides the fact that they are named by the user, which enables him to find them, all the
objects have a specific type, which enables him to find the structure of data associated with
them. Some objects can be of ENTIER (integer) or FLOTTANT (real) type and are
characterized by a very simple structure; others such as those of MMODEL type will be more
complex: they contain the reference to the structure geometry, the formulation of the relative
finite elements, or the material behavior.
What matters most to the user is the name, the type is above all a computer requirement
which allows, however, the syntax of data to be checked.
2.3. CASTEM2000 language: GIBIANE
GIBIANE is an advanced language enabling the user to communicate directly with the
program through data exchange. All the operations performed with GIBIANE consist in
handling existing objects with a view to modifying them or creating new ones.
The syntax of an elementary operation can require several objects; it takes various forms
depending on whether the result obtained consists of one or several modified objects or of
newly created ones.
In the first case, the instruction is as follows:
OPERAND DIRECTIVES;
“ELIM 0.001 GEOM ;” for instance, in which (ELIM) DIRECTIVE refers to the name
of the function to be run and OPERANDS (GEOM 0.001) to the objects to be used.
In the second case, the instruction is as follows:
RESULTS=OPERANDS OPERATOR;
“LIGNE = DROI P1 P2 S ;” for instance, in which “OPERATOR” (DROI) refers to the
name of the function to be run, “OPERANDS” (P1 P2 S) stands for the objects supplied as
arguments in the operator syntax, and “RESULTS” (LIGNE) refers to the objects resulting
from the operation.
Operations are performed by operators which apply directly to objects supplied as
arguments. Operands can be already existing objects containing information characteristic of
the analysis to be carried out, or specific objects defined only to facilitate the execution of the
- 18 -