[GiDlist] A problem about customization files

Moderator: GiD Team

Post Reply
Niu Zhiwei

[GiDlist] A problem about customization files

Post by Niu Zhiwei »

hi,everybody,
when I use GID's customization, I meet a following problem. following code showed in *.cnd file.

QUESTION: TYPE:#CB#(X,Y,Z)
VALUE: X
DEPENDENCIES: (X,RESTORE,Value_X1:,0.)(#DEFAULT#,SET,Value_X1:,#CURRENT#)
DEPENDENCIES: (X,RESTORE,Value_X2:,0.)(#DEFAULT#,SET,Value_X2:,#CURRENT#)
QUESTION: Value_X1:
VALUE: 0.
STATE: disabled
QUESTION: Value_X2:
VALUE: 0.
STATE: disabled

my aim is
if TYPE:=X then
Value_X1 and Value_X2 are valid
else
Value_X1 and Value_X2 are invalid
end if

but I cann't get this result. I found that when several DEPENDENCIES exist, only one is valid, the others are invalid.




===================================================================
Jorge Suit Pérez Ronda

[GiDlist] A problem about customization files

Post by Jorge Suit Pérez Ronda »

Hi, you should write only one dependence for one value and in that
dependence one or more actions, for instance (regarding your example):

DEPENDENCIES:(X,RESTORE,Value_X1:,0.,RESTORE,Value_X2:,0.)
DEPENDENCIES:(#DEFAULT#,SET,Value_X1:,#CURRENT#,SET,Value_X2:,#CURRENT#)

best regards,

Jorge.

Niu Zhiwei wrote:

hi,everybody,
when I use GID's customization, I meet a following problem. following code showed in *.cnd file.

QUESTION: TYPE:#CB#(X,Y,Z)
VALUE: X
DEPENDENCIES: (X,RESTORE,Value_X1:,0.)(#DEFAULT#,SET,Value_X1:,#CURRENT#)
DEPENDENCIES: (X,RESTORE,Value_X2:,0.)(#DEFAULT#,SET,Value_X2:,#CURRENT#)
QUESTION: Value_X1:
VALUE: 0.
STATE: disabled
QUESTION: Value_X2:
VALUE: 0.
STATE: disabled

my aim is
if TYPE:=X then
Value_X1 and Value_X2 are valid
else
Value_X1 and Value_X2 are invalid
end if

but I cann't get this result. I found that when several DEPENDENCIES exist, only one is valid, the others are invalid.




===================================================================
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist




Malte Neumann

[GiDlist] 2 given gausspoints per quad element

Post by Malte Neumann »

Hi,

I'm trying to display a result on Gausspoints, using two gausspoints per
Quadrilateral element. Here is an excerpt of my flavia.res:

GAUSSPOINTS "interf_4" ELEMTYPE Quadrilateral "interf_4"
NUMBER OF GAUSS POINTS: 2
NODES NOT INCLUDED
NATURAL COORDINATES: Given
0.577350269E+00 0.0E+00
-0.577350269E+00 -0.0E+00
END GAUSSPOINTS
#-------------------------------------------------------------------------------
RESULT "interface_stresses" "ccarat" 0 MATRIX ONGAUSSPOINTS "interf_4"
COMPONENTNAMES "stress-sxx","stress-syy","stress-sxy","dummy","dummy","dummy"
VALUES
1 -3.50740E+02 3.50740E+02 2.02500E+02 0.00000E+00 0.00000E+00 0.00000E+00
-3.50740E+02 3.50740E+02 2.02500E+02 0.00000E+00 0.00000E+00 0.00000E+00
END VALUES

But it does not work as I expect. When I try to display one of these
gausspoint results, e.g. stress-sxx, GiD crashes completely.

BTW, using GiD 6.2.0d on HP-UX 10.20.

Thanks for your help.

Malte


--
--------------------------------------------------------------------------
Malte Neumann
--------------------------------------------------------------------------
Institut fuer Baustatik / Institute of Structural Mechanics
Prof. Dr.-Ing. Ekkehard Ramm
Universitaet Stuttgart / University of Stuttgart

Pfaffenwaldring 7, D-70550 Stuttgart, Germany

mailto:malte.neumann at statik.uni-stuttgart.de phone: ++49-711-685-6121
http://www.uni-stuttgart.de/ibs/members/neumann/ fax: ++49-711-685-6130
--------------------------------------------------------------------------
Post Reply