[GiDlist] GiD's drawing symbol

Moderator: GiD Team

Post Reply
Benedictus Benny Po

[GiDlist] GiD's drawing symbol

Post by Benedictus Benny Po »

Dear GiD's team and users,

I have created some symbols of support and of nodal load in my *.sim file. After I assign all of them in GiD (under Condition menu) I saw that every symbols that I assign are appeared. But if I leave the Condition menu, all the symbols that I have assigned and drawed are disappeared, so I cannot maintain them to stay together with my whole structure I have drawn. My question is, is it possible to maintain these symbols appearance ? because I have to go to the menu everytimes I want to see the condition that I have in my structure.

Another question regarding my previous problem with uniform load,
I did not find the attach file in zip that you said you attach a zip file with that sample problemtype.

Best Regards,
Benedictus Benny PO










Send GiDlist mailing list submissions to
gidlist at gid.cimne.upc.es

To subscribe or unsubscribe via the World Wide Web, visit
http://gid.cimne.upc.es/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at gid.cimne.upc.es

You can reach the person managing the list at
gidlist-admin at gid.cimne.upc.es

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."

______________________________________________________________________


Los envios para la lista de correo GiDlist han de enviarse a
gidlist at gid.cimne.upc.es

Para subscribirse o desapuntarse via World Wide Web, visite
http://gid.cimne.upc.es/mailman/listinfo/gidlist
o, via email, enviando un mensaje con 'help' en el 'asunto' o 'cuerpo'
a
gidlist-request at gid.cimne.upc.es

Puede contactar con la persona que administra la lista bajo
gidlist-admin at gid.cimne.upc.es

Cuando responda, por favor, edite la linea del 'asunto' para que sea
más especifica que "Re: Contenido resumen de GiDlist ..."


Today's Topics:

1. Uniform load distribution (Benedictus Benny Po)
2. Re: Uniform load distribution (Enrique Escolano)

--__--__--

Message: 1
Date: Mon, 1 Nov 2004 20:45:14 +0100 (CET)
From: Benedictus Benny Po v_e_r_s_e_a_u at yahoo.fr
To: gidlist at gatxan.cimne.upc.es
Subject: [GiDlist] Uniform load distribution
Reply-To: gidlist at gid.cimne.upc.es

--0-1613127892-1099338314=:75164
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello GiD fans, users and experts wherever you are,

I want to share with you my problem that I have and hope to get any
solutions and suggest from you.
I'm devoloping interface between FEAP and GiD 7.2 at my institute for
my Master Thesis. I would like GiD to generate uniform load to be
distributed along the nodes I have after mesh generation. This load
generation result in form of single nodal loads over every node along the line
will be used in FEAP as input for LOAD macro editor:

LOAD
node1, X-coor ,Y-coord ,p_x, p_y
node2, X-coor ,Y-coord, p_x, p_y
node3, X-coor ,Y-coord, p_x, p_y
..etc.......

My .cnd file :


NUMBER:5 CONDITION:Face-Load
CONDTYPE:over lines
CONDMESHTYPE:over nodes
QUESTION:L1.....(length of constant uniform load)
VALUE:10 (m)
QUESTION:n_x....(Number of face elements (which are under uniform load)
to be generated)
VALUE:4
QUESTION:q_x...(Uniform Load x direction)
VALUE:0.0
QUESTION:q_y...(Uniform Load y direction)
VALUE:-10 (kN/m)
QUESTION:p_x..(Nodal load x direction)
VALUE:0.0
QUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
load y direction)
VALUE:Autocalculate
STATE:hidden


and my .bas file :

*Set Cond Face-Load *nodes *Canrepeat
*If(CondNumEntities(Int)0)
LOAD
*loop nodes *onlyInCond
*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real)
*cond(p_y,real)
*End loop nodes
*endif

The result I have in my .dat file is like that:
(for L1=10(m), n_x=4 and q_y = -10(kN/m))
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -12.5
3, 5.00, 0.0, 0.0, -12.5
4, 7.50, 0.0, 0.0, -12.5
5, 0.00, 0.0, 0.0, -12.5

I did not see any possibility to tell GiD that at node 2, 3 and 4,
since they get two times the half of the load from left element and right
element, they should be each -25 , instead of -12.5.
If I would use in my .cnd file CANREPEAT: yes after CONDMESHTYPE:
nodes,
I would get the same list of LOAD as above once more time , and it's
still not correct.
The correct result should be :
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -25
3, 5.00, 0.0, 0.0, -25
4, 7.50, 0.0, 0.0, -25
5, 10.00, 0.0, 0.0, -12.5

I hope you understand what I meant and I'm looking forward to hearing
from you.

Best regards,
Benedictus Benny PO





---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les
nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT
ici !
--0-1613127892-1099338314=:75164
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

DIVHello GiD fans, users and experts wherever you are,/DIV
DIV /DIV
DIVI want to share with you my problem that I have and hope to
get any solutions and suggest from you./DIV
DIVI'm devoloping interface between FEAP and GiD 7.2 at my institute
for my Master Thesis. I would like GiD to generate uniform
load to be distributed along the nodes I have after mesh generation.
This load generation result in form of single nodal loads
over every node along the line will be used in FEAP as input for LOAD
macro editor:/DIV
DIV /DIV
DIVLOAD/DIV
DIVnode1, X-coor ,Y-coord ,p_x, p_y/DIV
DIVnode2, X-coor ,Y-coord, p_x, p_y/DIV
DIVnode3, X-coor ,Y-coord, p_x, p_y/DIV
DIV...etc......./DIV
DIV /DIV
DIVMy .cnd file :/DIV
DIV /DIV
DIV
P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"NUMBER:5
CONDITION:Face-LoadBRCONDTYPE:over linesBRCONDMESHTYPE:over
nodesBRQUESTION:L1.....(length of constant uniform load)BRVALUE:10
(m)BRQUESTION:n_x....(Number of face elements (which are under uniform load)
to be generated)  BRVALUE:4BRQUESTION:q_x...(Uniform Load x
direction)BRVALUE:0.0BRQUESTION:q_y...(Uniform Load y
direction)BRVALUE:-10 (kN/m)BRQUESTION:p_x..(Nodal load x
direction)BRVALUE:0.0BRQUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
load y direction)BRVALUE:AutocalculateBRSTATE:hidden?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
o:p/o:p/SPAN/P/DIV
DIV /DIV
DIVand my .bas file :/DIV
DIV /DIV
DIV*Set Cond Face-Load *nodes
*CanrepeatBR*If(CondNumEntities(Int)>0)BRLOADBR*loop nodes *onlyInCondBR*Nodesnum
*NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real) *cond(p_y,real)BR*End loop
nodesBR*endif/DIV
DIV /DIV
DIVThe result I have in my .dat file is like that: /DIV
DIV(for L1=10(m), n_x=4 and q_y = -10(kN/m))/DIV
DIVLOADBRNode  
X-coor        Y-Coord    
p_x            p_y/DIV
DIV  1,     
0.00,          
0.0,        
 0.0,          -12.5BR 
2,      2.50,          
0.0,         
0.0,          -12.5BR 
3,     
5.00,           0.0,         
0.0,          -12.5BR 
4,     
7.50,           0.0,     
    0.0,         
-12.5/DIV
DIV  5,     
0.00,          
0.0,         
0.0,          -12.5/DIV
DIV /DIV
DIVI did not see any possibility to tell GiD that at node 2, 3
and 4, since they get two times the half of the load from left element
and right element, they should be each -25 , instead of -12.5. /DIV
DIVIf I would use   in my .cnd file CANREPEAT: yes
after CONDMESHTYPE: nodes,BRI would get the same list of LOAD as
above once more time , and it's still not correct./DIV
DIV The correct result should be :  /DIV
DIV
DIVLOADBRNode  
X-coor        Y-Coord    
p_x             p_y/DIV
DIV 
1,       0.00,        
 0.0,       
 0.0,             -12.5BR 
2,       2.50,         
0.0,        
0.0,             -25BR 
3,      
5.00,        
 0.0,        
0.0,             -25BR  4,      
7.50,        
 0.0,        
0.0,             -25/DIV
DIV 
5,     10.00,        
 0.0,        
0.0,             -12.5/DIV
DIV /DIV
DIVI hope you understand what I meant and I'm looking forward to
hearing from you./DIV
DIV /DIV
DIVBest regards,/DIV
DIVBenedictus Benny PO/DIV/DIV
DIV /DIV
DIV /DIVp
hr size=1
Créez gratuitement votre Yahoo! Mail avec font color="red"100 Mo
de stockage !
/font
bra
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.benefits.yahoo.com/"Créez
votre Yahoo! Mail/abrbr
font color="red"Le nouveau Yahoo! Messenger est arrivé
!
/font Découvrez toutes les nouveautés pour dialoguer instantanément avec
vos amis.
a
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com"Téléchargez
GRATUITEMENT ici !/a
--0-1613127892-1099338314=:75164--

--__--__--

Message: 2
From: "Enrique Escolano" escolano at cimne.upc.es
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] Uniform load distribution
Date: Tue, 2 Nov 2004 11:07:36 +0100
Reply-To: gidlist at gid.cimne.upc.es

This is a multi-part message in MIME format.

------=_NextPart_000_02B0_01C4C0CC.2918A980
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_02B1_01C4C0CC.2918A980"


------=_NextPart_001_02B1_01C4C0CC.2918A980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

You can use Tcl language for enhanced features.=20
Can call a tcl procedure from the bas file with the *tcl command

This is a sample:
File .cnd Define a condition over lines, over face elements (not over
=
nodes), for example, named Face-Load
NUMBER: 1 CONDITION: Face-Load
CONDTYPE: over lines
CONDMESHTYPE: over face elements
QUESTION: Pressure
VALUE: 0.0
HELP: Pressure on line to be transferred as equivalent nodal loads
END CONDITION

File .bas Call a tcl procedure, named SampleLoadWriteNodalLoads
..
*tcl(SampleLoadWriteNodalLoads)
..

File .tcl Define this tcl procedure.

proc SampleLoadWriteNodalLoads { } {
#set a {{10 1 - 3} {2 1 - 3} {6 3 - 3} {1 1 - 3}}
set infocond [GiD_Info conditions Face-Load mesh]
foreach item $infocond {
set elem [lindex $item 0]
set face [lindex $item 1]
set pressure [lindex $item 3]
set infoelem [GiD_Info mesh elements Triangle $elem]
if { $face =3D=3D 1 } {
set n1 [lindex $infoelem 1]
set n2 [lindex $infoelem 2]=20
} elseif { $face =3D=3D 2 } {
set n1 [lindex $infoelem 2]
set n2 [lindex $infoelem 3]
} else {
#assumed face=3D=3D3 ,only for triangles
set n1 [lindex $infoelem 3]
set n2 [lindex $infoelem 1]
}
set c1 [lrange [GiD_Info mesh nodes $n1] 1 end]
set c2 [lrange [GiD_Info mesh nodes $n2] 1 end]
set dist [::MathUtils::VectorDistance $c1 $c2]
set force [expr {$dist*$pressure*0.5}]
if { [info exists F($n1)] } {
set F($n1) [expr {$F($n1)+$force} ] =20
} else {
set F($n1) $force
}
if { [info exists F($n2)] } {
set F($n2) [expr {$F($n2)+$force} ] =20
} else {
set F($n2) $force
}
}
set result "LOAD\n"
append result "Node F\n"
foreach node [array names F] {
append result "$node $F($node)\n"
}
return $result
}

This procedure requires the last 7.5.0b GiD beta version.
GiD_Info (or .gid.central.s info) is a tcl procedure defined by GiD to
=
return internal information.(read GiD help about Tcl-Tk extension)
The other command are Tcl standard (can see more information about =
Tcl/Tk language from the Internet)

I attach a zip file with this sample problemtype source.

Regards
Enrique Escolano
----- Original Message -----=20
From: Benedictus Benny Po=20
To: gidlist at gatxan.cimne.upc.es=20
Sent: Monday, November 01, 2004 8:45 PM
Subject: [GiDlist] Uniform load distribution


Hello GiD fans, users and experts wherever you are,

I want to share with you my problem that I have and hope to get any =
solutions and suggest from you.
I'm devoloping interface between FEAP and GiD 7.2 at my institute for
=
my Master Thesis. I would like GiD to generate uniform load to be =
distributed along the nodes I have after mesh generation. This load =
generation result in form of single nodal loads over every node along =
the line will be used in FEAP as input for LOAD macro editor:

LOAD
node1, X-coor ,Y-coord ,p_x, p_y
node2, X-coor ,Y-coord, p_x, p_y
node3, X-coor ,Y-coord, p_x, p_y
...etc.......

My .cnd file :

NUMBER:5 CONDITION:Face-Load
CONDTYPE:over lines
CONDMESHTYPE:over nodes
QUESTION:L1.....(length of constant uniform load)
VALUE:10 (m)
QUESTION:n_x....(Number of face elements (which are under uniform =
load) to be generated) =20
VALUE:4
QUESTION:q_x...(Uniform Load x direction)
VALUE:0.0
QUESTION:q_y...(Uniform Load y direction)
VALUE:-10 (kN/m)
QUESTION:p_x..(Nodal load x direction)
VALUE:0.0
=
QUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
=
load y direction)
VALUE:Autocalculate
STATE:hidden


and my .bas file :

*Set Cond Face-Load *nodes *Canrepeat
*If(CondNumEntities(Int)0)
LOAD
*loop nodes *onlyInCond
*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real) =
*cond(p_y,real)
*End loop nodes
*endif

The result I have in my .dat file is like that:=20
(for L1=3D10(m), n_x=3D4 and q_y =3D -10(kN/m))
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -12.5
3, 5.00, 0.0, 0.0, -12.5
4, 7.50, 0.0, 0.0, -12.5
5, 0.00, 0.0, 0.0, -12.5

I did not see any possibility to tell GiD that at node 2, 3 and 4, =
since they get two times the half of the load from left element and =
right element, they should be each -25 , instead of -12.5.=20
If I would use in my .cnd file CANREPEAT: yes after CONDMESHTYPE: =
nodes,
I would get the same list of LOAD as above once more time , and it's
=
still not correct.
The correct result should be : =20
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -25
3, 5.00, 0.0, 0.0, -25
4, 7.50, 0.0, 0.0, -25
5, 10.00, 0.0, 0.0, -12.5

I hope you understand what I meant and I'm looking forward to hearing
=
from you.

Best regards,
Benedictus Benny PO




-------------------------------------------------------------------------=
-----
Cr=E9ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !=20
Cr=E9ez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arriv=E9 ! D=E9couvrez toutes les =
nouveaut=E9s pour dialoguer instantan=E9ment avec vos amis. =
T=E9l=E9chargez GRATUITEMENT ici !
------=_NextPart_001_02B1_01C4C0CC.2918A980
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"HEAD
META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"
META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ffffff
DIVFONT face=3DArial size=3D2You can use Tcl language for enhanced
=
features.=20
/FONT/DIV
DIVFONT face=3DArial size=3D2Can call a tcl procedure from the bas
=
file with=20
the *tcl command/FONT/DIV
DIV /DIV
DIVFONT face=3DArial size=3D2This is a sample:/FONT/DIV
DIVFONT face=3DArial size=3D2STRONGFile .cnd/STRONG  
=
Define a=20
condition over lines, over face elements (not over nodes), for example,
=
named=20
Face-Load/FONT/DIV
DIVFONT face=3DArial color=3D#ff0000 size=3D2NUMBER: 1
CONDITION:=20
Face-LoadBRCONDTYPE: over linesBRCONDMESHTYPE: over face=20
elementsBRQUESTION: PressureBRVALUE: 0.0BRHELP: Pressure on line
=
to be=20
transferred as equivalent nodal loadsBREND =
CONDITIONBR/FONT/DIVFONT=20
face=3DArial color=3D#ff0000 size=3D2FONT color=3D#000000
DIVSTRONGFile .bas /STRONGCall a tcl procedure, named=20
SampleLoadWriteNodalLoadsBRFONT color=3D#0000ff.../FONT/DIV
DIVFONT color=3D#0000ff*tcl(SampleLoadWriteNodalLoads)/FONT/DIV
DIVFONT color=3D#0000ff.../FONTBR/DIV
DIVSTRONGFile .tcl/STRONG Define this tcl procedure./DIV
DIV /DIV
DIVFONT color=3D#0000ffproc SampleLoadWriteNodalLoads { }=20
{BR    #set a {{10 1 - 3} {2 1 - 3} {6 3 - 3} {1 1
-=20
3}}BR    set infocond [GiD_Info conditions
Face-Load=20
mesh]BR    foreach item $infocond {BR set elem
=
[lindex=20
$item 0]BR set face [lindex $item 1]BR set pressure =
[lindex $item=20
3]BR set infoelem [GiD_Info mesh elements Triangle =
$elem]BR if {=20
$face =3D=3D 1 } {BR     set n1 [lindex
$infoelem=20
1]BR     set n2 [lindex $infoelem 2] BR }
=
elseif {=20
$face =3D=3D 2 } {BR     set n1 [lindex
$infoelem=20
2]BR     set n2 [lindex $infoelem 3]BR } =
else=20
{BR     #assumed face=3D=3D3 ,only for=20
trianglesBR     set n1 [lindex $infoelem=20
3]BR     set n2 [lindex $infoelem=20
1]BR }BR set c1 [lrange [GiD_Info mesh nodes $n1] 1=20
end]BR set c2 [lrange [GiD_Info mesh nodes $n2] 1 =
end]BR set dist=20
[::MathUtils::VectorDistance $c1 $c2]BR set force [expr=20
{$dist*$pressure*0.5}]BR if { [info exists F($n1)] }=20
{BR     set F($n1) [expr {$F($n1)+$force}=20
]     BR } else
{BR     =
set=20
F($n1) $forceBR }BR if { [info exists F($n2)] }=20
{BR     set F($n2) [expr {$F($n2)+$force}
] =20
BR } else {BR     set F($n2)=20
$forceBR }BR    }BR    set =
result=20
"LOAD\n"BR    append result "Node =
F\n"BR   =20
foreach node [array names F] {BR append result "$node=20
$F($node)\n"BR    }BR    return=20
$resultBR}/FONT/DIV
DIVFONT color=3D#0000ff/FONT /DIV
DIVThis procedure requires the last 7.5.0b GiD beta version./DIV
DIVGiD_Info (or .gid.central.s info) is a tcl procedure defined by
GiD =
to=20
return internal information.(read GiD help about Tcl-Tk
extension)/DIV
DIVThe other command are Tcl standard (can see more information about
=
Tcl/Tk=20
language from the Internet)/DIV
DIV /DIV
DIVI attach a zip file with this sample problemtype source./DIV
DIV /DIV
DIVRegards/DIV
DIVEnrique Escolano/DIV/FONT/FONT
BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"
DIV style=3D"FONT: 10pt arial"----- Original Message ----- /DIV
DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"BFrom:/B=20
A title=3Dv_e_r_s_e_a_u at yahoo.fr=20
href=3D"mailto:v_e_r_s_e_a_u at yahoo.fr"Benedictus Benny Po/A /DIV
DIV style=3D"FONT: 10pt arial"BTo:/B A =
title=3Dgidlist at gatxan.cimne.upc.es=20
=
href=3D"mailto:gidlist at gatxan.cimne.upc.es"gidlist at gatxan.cimne.upc.es/=
A=20
/DIV
DIV style=3D"FONT: 10pt arial"BSent:/B Monday, November 01,
2004 =
8:45=20
PM/DIV
DIV style=3D"FONT: 10pt arial"BSubject:/B [GiDlist] Uniform
load =

distribution/DIV
DIVBR/DIV
DIVHello GiD fans, users and experts wherever you are,/DIV
DIV /DIV
DIVI want to share with you my problem that I have and hope to
=
get any=20
solutions and suggest from you./DIV
DIVI'm devoloping interface between FEAP and GiD 7.2 at my
institute =
for my=20
Master Thesis. I would like GiD to generate uniform load to
=
be=20
distributed along the nodes I have after mesh generation. This =
load=20
generation result in form of single nodal loads over every
=
node=20
along the line will be used in FEAP as input for LOAD macro =
editor:/DIV
DIV /DIV
DIVLOAD/DIV
DIVnode1, X-coor ,Y-coord ,p_x, p_y/DIV
DIVnode2, X-coor ,Y-coord, p_x, p_y/DIV
DIVnode3, X-coor ,Y-coord, p_x, p_y/DIV
DIV...etc......./DIV
DIV /DIV
DIVMy .cnd file :/DIV
DIV /DIV
DIV
P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"SPAN
lang=3DEN-GB=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: =
EN-GB"NUMBER:5=20
CONDITION:Face-LoadBRCONDTYPE:over linesBRCONDMESHTYPE:over=20
nodesBRQUESTION:L1.....(length of constant uniform
load)BRVALUE:10 =

(m)BRQUESTION:n_x....(Number of face elements (which are under =
uniform load)=20
to be generated)  BRVALUE:4BRQUESTION:q_x...(Uniform Load
x=20
direction)BRVALUE:0.0BRQUESTION:q_y...(Uniform Load y=20
direction)BRVALUE:-10 (kN/m)BRQUESTION:p_x..(Nodal load x=20
=
direction)BRVALUE:0.0BRQUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/C=
ond(2,int)*0.5).....(nodal=20
load y=20
=
direction)BRVALUE:AutocalculateBRSTATE:hiddeno:p/o:p/SPAN/P/=
DIV
DIV /DIV
DIVand my .bas file :/DIV
DIV /DIV
DIV*Set Cond Face-Load *nodes=20
*CanrepeatBR*If(CondNumEntities(Int)>0)BRLOADBR*loop
nodes=20
*onlyInCondBR*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real)=20
*cond(p_x,real) *cond(p_y,real)BR*End loop nodesBR*endif/DIV
DIV /DIV
DIVThe result I have in my .dat file is like that: /DIV
DIV(for L1=3D10(m), n_x=3D4 and q_y =3D -10(kN/m))/DIV
DIVLOADBRNode   =
X-coor       =20
Y-Coord    =20

p_x           =20
p_y/DIV
DIV  1,     =20
0.00,          =20
0.0,        =20
 0.0,         =20
-12.5BR =20
=
2,      2.50,     =
     =20
0.0,         =20
0.0,         
-12.5BR =20
3,     =20
5.00,          =20
0.0,         =20
0.0,          =
-12.5BR =20
4,     =20
7.50,          =20
0.0,         =20
0.0,         
-12.5/DIV
DIV  5,     =20
0.00,          =20
0.0,         =20
0.0,         
-12.5/DIV
DIV /DIV
DIVI did not see any possibility to tell GiD that at node 2, 3
=
and 4,=20
since they get two times the half of the load from left element and =
right=20
element, they should be each -25 , instead of -12.5. /DIV
DIVIf I would use   in my .cnd file CANREPEAT: yes=20
after CONDMESHTYPE: nodes,BRI would get the same list of =
LOAD as=20
above once more time , and it's still not correct./DIV
DIV The correct result should be :  /DIV
DIV
DIVLOADBRNode   =
X-coor       =20
Y-Coord    =20
=
p_x           &nbs=
p;=20
p_y/DIV
DIV =20
=
1,       0.00,    =
    =20
 0.0,       =20

 0.0,           =
 =20
-12.5BR  2,      =20
2.50,         =20
0.0,        =20
0.0,           =20
 -25BR  3,      =20
5.00,        =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-25BR  4,      =20
7.50,        =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-25/DIV
DIV =20
=
5,     10.00,     &nbsp=
;  =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-12.5/DIV
DIV /DIV
DIVI hope you understand what I meant and I'm looking =
forward to=20
hearing from you./DIV
DIV /DIV
DIVBest regards,/DIV
DIVBenedictus Benny PO/DIV/DIV
DIV /DIV
DIV /DIV
P
HR SIZE=3D1
Cr=E9ez gratuitement votre Yahoo! Mail avec FONT color=3DredB100
=
Mo de=20
stockage !/B/FONT BRA=20
=
href=3D"http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=3D=
25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.b=
enefits.yahoo.com/"Cr=E9ez=20
votre Yahoo! Mail/ABRBRFONT color=3DredBLe nouveau Yahoo! =
Messenger=20
est arriv=E9 !/B/FONT D=E9couvrez toutes les nouveaut=E9s pour =
dialoguer=20
instantan=E9ment avec vos amis. A=20
=
href=3D"http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=3D=
26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.=
messenger.yahoo.com"T=E9l=E9chargez=20
GRATUITEMENT ici !/A/BLOCKQUOTE/BODY/HTML

------=_NextPart_001_02B1_01C4C0CC.2918A980--

------=_NextPart_000_02B0_01C4C0CC.2918A980
Content-Type: application/x-zip-compressed;
name="SampleLoad.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="SampleLoad.zip"

UEsDBBQAAAAIAIZWYjGlJ3mbKwAAADEAAAAdAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5i
YXPj5dLT0+Pl4uXSKknO0QhOzC3ISfXJT0wJL8osSfXLT0nMAfGKNUFKwCoBUEsDBBQAAAAIAGxP
YjHNGAn0mAAAAMsAAAAdAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5jbmRNjk0OgjAQhfdN
eoe5gAa37FRqIIFShZq4rDIkJKWNLXB+R1ngZhbv55sndXUStxQOcK5lVrRFLVO4mBfuSm86zr5q
+1AiBb9gADs4jKtaiSb/c3rqAFoc0U2UuGrRrDAVMMY5IGf3Y6kpnuwTznJRqs0D735omDw86Qbj
Yo8hYAcmAr7nYTGWwOB8ZyxYmkY/hMy21Zx9AFBLAwQUAAAACADKWGIxlgUdx/QBAADoBAAAHQAA
AFNhbXBsZUxvYWQuZ2lkL1NhbXBsZUxvYWQudGNsjVRNi9swED1vIP9h2Oiwu+2WWKY9BHIohJTC
tj30Yw+uKcKeNKKOZCSFZgn+7zuSbeG4YdOcJL2Z92bejDOdzLSqnuCvNn9gow1UUqEw4IwU6neF
djqpjS7gq9jVFT5oUT4a6fCzLkXlbxaO0MBxOgH6zSw6EHA8JnNI4B5SQng8vYO0OyXdW9Om+Syp
NrrQqoTsg1z9+kg38FfppFYW1qLAey8HO7TbvE2jalEUW6BydsAiAdVy5RmxoueM2inxQLAPmucd
tiG+EZb0WG3Q2r0Z42mPe6GWO1bqiwp6qJyFb511wPyTT5MbcokF0eWSeg+GXfWtq2Qg1ZOHcmIE
PxPBc6CQhnQtngrw/xHgFwVCxy1/pJsJ8maHZXBwuUzhddgevziDjXlZOb2oHJpvOr8Lz2GIGseO
K12iBaaSnDxFVfYTKvilDD7KKKV1kC0Wn4TbfneysovFDyycNisChCJbGZXBCh4XSBu/QXioDRyZ
T79j/eLczd+8beLYM98V4IFCaI9vqNrbfDSf9jWytddXLGg0kIe4f0cxyGxDO8/Oq/KzqvxUlQ9U
X5Lkp5IeGnzKZMO+cnD98OX96qe6bgFR1+R3xOj/A2Ed0f5T9vOBTBgjnkAJGhms86A+SmchMNRM
h9vI01Vh0O2NAtaGTyf0/AxQSwMECgAAAAAAzlhiMQAAAAAAAAAAAAAAAA8AAABTYW1wbGVMb2Fk
LmdpZC9QSwECFAAUAAAACACGVmIxpSd5mysAAAAxAAAAHQAAAAAAAAABACAAtoEAAAAAU2FtcGxl
TG9hZC5naWQvU2FtcGxlTG9hZC5iYXNQSwECFAAUAAAACABsT2IxzRgJ9JgAAADLAAAAHQAAAAAA
AAABACAAtoFmAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5jbmRQSwECFAAUAAAACADKWGIx
lgUdx/QBAADoBAAAHQAAAAAAAAABACAAtoE5AQAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC50
Y2xQSwECFAAKAAAAAADOWGIxAAAAAAAAAAAAAAAADwAAAAAAAAAAABAA/0FoAwAAU2FtcGxlTG9h
ZC5naWQvUEsFBgAAAAAEAAQAHgEAAJUDAAAAAA==

------=_NextPart_000_02B0_01C4C0CC.2918A980--



--__--__--

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


End of GiDlist Digest



---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20041103/ba4c3152/attachment.htm
Enrique Escolano

[GiDlist] GiD's drawing symbol

Post by Enrique Escolano »

At this moment, 'draw conditions' is only a temporary state, it's not possible to draw permanently.
Maybe for the next version...

About the attachment of the previous mail, probably your mail server remove (by security) the zip attachments.
You can directly copy and paste form the previous mail the contents of the related files: SampleLoad.cnd, SampleLoad.bas , and SampleLoad.tcl, and put inside a problemtype directory named SampleLoad.gid

Enrique Escolano
----- Original Message -----
From: Benedictus Benny Po
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, November 03, 2004 1:53 PM
Subject: [GiDlist] GiD's drawing symbol


Dear GiD's team and users,

I have created some symbols of support and of nodal load in my *.sim file. After I assign all of them in GiD (under Condition menu) I saw that every symbols that I assign are appeared. But if I leave the Condition menu, all the symbols that I have assigned and drawed are disappeared, so I cannot maintain them to stay together with my whole structure I have drawn. My question is, is it possible to maintain these symbols appearance ? because I have to go to the menu everytimes I want to see the condition that I have in my structure.

Another question regarding my previous problem with uniform load,
I did not find the attach file in zip that you said you attach a zip file with that sample problemtype.

Best Regards,
Benedictus Benny PO










Send GiDlist mailing list submissions to
gidlist at gid.cimne.upc.es

To subscribe or unsubscribe via the World Wide Web, visit
http://gid.cimne.upc.es/mailman/listinfo/gidlist
or, via email, send a message with subject or body 'help' to
gidlist-request at gid.cimne.upc.es

You can reach the person managing the list at
gidlist-admin at gid.cimne.upc.es

When replying, please edit your Subject line so it is more specific
than "Re: Contents of GiDlist digest..."

______________________________________________________________________


Los envios para la lista de correo GiDlist han de enviarse a
gidlist at gid.cimne.upc.es

Para subscribirse o desapuntarse via World Wide Web, visite
http://gid.cimne.upc.es/mailman/listinfo/gidlist
o, via email, enviando un mensaje con 'help' en el 'asunto' o 'cuerpo'
a
gidlist-request at gid.cimne.upc.es

Puede contactar con la persona que administra la lista bajo
gidlist-admin at gid.cimne.upc.es

Cuando responda, por favor, edite la linea del 'asunto' para que sea
más especifica que "Re: Contenido resumen de GiDlist ..."


Today's Topics:

1. Uniform load distribution (Benedictus Benny Po)
2. Re: Uniform load distribution (Enrique Escolano)

--__--__--

Message: 1
Date: Mon, 1 Nov 2004 20:45:14 +0100 (CET)
From: Benedictus Benny Po v_e_r_s_e_a_u at yahoo.fr
To: gidlist at gatxan.cimne.upc.es
Subject: [GiDlist] Uniform load distribution
Reply-To: gidlist at gid.cimne.upc.es

--0-1613127892-1099338314=:75164
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hello GiD fans, users and experts wherever you are,

I want to share with you my problem that I have and hope to get any
solutions and suggest from you.
I'm devoloping interface between FEAP and GiD 7.2 at my institute for
my Master Thesis. I would like GiD to generate uniform load to be
distributed along the nodes I have after mesh generation. This load
generation result in form of single nodal loads over every node along the line
will be used in FEAP as input for LOAD macro editor:

LOAD
node1, X-coor ,Y-coord ,p_x, p_y
node2, X-coor ,Y-coord, p_x, p_y
node3, X-coor ,Y-coord, p_x, p_y
..etc.......

My .cnd file :


NUMBER:5 CONDITION:Face-Load
CONDTYPE:over lines
CONDMESHTYPE:over nodes
QUESTION:L1.....(length of constant uniform load)
VALUE:10 (m)
QUESTION:n_x....(Number of face elements (which are under uniform load)
to be generated)
VALUE:4
QUESTION:q_x...(Uniform Load x direction)
VALUE:0.0
QUESTION:q_y...(Uniform Load y direction)
VALUE:-10 (kN/m)
QUESTION:p_x..(Nodal load x direction)
VALUE:0.0
QUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
load y direction)
VALUE:Autocalculate
STATE:hidden


and my .bas file :

*Set Cond Face-Load *nodes *Canrepeat
*If(CondNumEntities(Int)0)
LOAD
*loop nodes *onlyInCond
*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real)
*cond(p_y,real)
*End loop nodes
*endif

The result I have in my .dat file is like that:
(for L1=10(m), n_x=4 and q_y = -10(kN/m))
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -12.5
3, 5.00, 0.0, 0.0, -12.5
4, 7.50, 0.0, 0.0, -12.5
5, 0.00, 0.0, 0.0, -12.5

I did not see any possibility to tell GiD that at node 2, 3 and 4,
since they get two t! imes the half of the load from left element and right
element, they should be each -25 , instead of -12.5.
If I would use in my .cnd file CANREPEAT: yes after CONDMESHTYPE:
nodes,
I would get the same list of LOAD as above once more time , and it's
still not correct.
The correct result should be :
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -25
3, 5.00, 0.0, 0.0, -25
4, 7.50, 0.0, 0.0, -25
5, 10.00, 0.0, 0.0, -12.5

I hope you understand what I meant and I'm looking forward to hearing
from you.

Best regards,
Benedictus Benny PO





---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les
nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT
ici !
--0-1613127892-1099338314=:75164
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

DIVHello GiD fans, users and experts wherever you are,/DIV
DIV /DIV
DIVI want to share with you my problem that I have and hope to
get any solutions and suggest from you./DIV
DIVI'm devoloping interface between FEAP and GiD 7.2 at my institute
for my Master Thesis. I would like GiD to generate uniform
load to be distributed along the nodes I have after mesh generation.
This load generation result in form of single nodal l! oads
over every node along the line will be used in FEAP as input for LOAD
macro editor:/DIV
DIV /DIV
DIVLOAD/DIV
DIVnode1, X-coor ,Y-coord ,p_x, p_y/DIV
DIVnode2, X-coor ,Y-coord, p_x, p_y/DIV
DIVnode3, X-coor ,Y-coord, p_x, p_y/DIV
DIV...etc......./DIV
DIV /DIV
DIVMy .cnd file :/DIV
DIV /DIV
DIV
P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"NUMBER:5
CONDITION:Face-LoadBRCONDTYPE:over linesBRCONDMESHTYPE:over
nodesBRQUESTION:L1.....(length of constant uniform load)BRVALUE:10
(m)BRQUESTION:n_x....(Number of face elements (which are under uniform loa! d)
to be generated)  BRVALUE:4BRQUESTION:q_x...(Uniform Load x
direction)BRVALUE:0.0BRQUESTION:q_y...(Uniform Load y
direction)BRVALUE:-10 (kN/m)BRQUESTION:p_x..(Nodal load x
direction)BRVALUE:0.0BRQUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
load y direction)BRVALUE:AutocalculateBRSTATE:hidden?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office"
o:p/o:p/SPAN/P/DIV
DIV /DIV
DIVand my .bas file :/DIV
DIV /DIV
DIV*Set Cond Face-Load *nodes
*CanrepeatBR*If(CondNumEntities(Int)>0)BRLOADBR*loop nodes *onlyInCondBR*Nodesnum
*NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real) *cond(p_y,real)BR*End loop
nodesBR*endif/DIV
DIV /DIV
DIVThe result I have in my .dat file is like that: /DIV
DIV(for L1=10(m), n_x=4 and q_y = -10(kN/m))/DIV
DIVLOADBRNode  
X-coor        Y-Coord    
p_x            p_y/DIV
DIV  1,     
0.00,          
0.0,        
 0.0,          -12.5BR 
2,      2.50,          
0.0,         
0.0,          -12.5BR 
3,     
5.00,           0.0,         
0.0,          -12.5BR 
4,     
7.50,           0.0,    &am! p;nbsp;
    0.0,         
-12.5/DIV
DIV  5,     
0.00,          
0.0,         
0.0,          -12.5/DIV
DIV /DIV
DIVI did not see any possibility to tell GiD that at node 2, 3
and 4, since they get two times the half of the load from left element
and right element, they should be each -25 , instead of -12.5. /DIV
DIVIf I would use   in my .cnd file CANREPEAT: yes
after CONDMESHTYPE: nodes,BRI would get the same list of LOAD&! ;nbsp;as
above once more time , and it's still not correct./DIV
DIV The correct result should be :  /DIV
DIV
DIVLOADBRNode  
X-coor        Y-Coord    
p_x             p_y/DIV
DIV 
1,       0.00,        
 0.0,       
 0.0,             -12.5BR 
2,       2.50,         
0.0,        
0.0,             -25BR 
3,      
5.00,        
 0.0,        
0.0,             -25BR  4,      
7.50,        
 0.0,        
0.0,             -25/DIV
DIV 
5,     10.00,        
 0.0,        
0.0,             -12.5/DIV
DIV /DIV
DIVI hope you understand what I meant and I'm looking forward to
hearing from you./DIV
DIV /DIV
DIVBest regards,/DIV
DIVBenedictus Benny PO/DIV/DIV
DIV /DIV
DIV /DIVp
hr size=1
Créez gratuitement votre Yahoo! Mail avec font color="red"100 Mo
de stockage !
/font
bra
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.benefits.yahoo.com/"Créez
votre Yahoo! Mail/abrbr
font color="red"Le nouveau Yahoo! Messenger est arrivé
!
/font Découvrez toutes les nouveautés pour dialoguer instantanément avec
vos amis.
a
href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com"Téléchargez
GRATUITEMENT ici !/a
--0-1613127892-1099338314=:75164--

--__--__--

Message: 2
From: "Enrique Escolano" escolano at cimne.upc.es
To: gidlist at gatxan.cimne.upc.es
Subject: Re: [GiDlist] Un! iform load distribution
Date: Tue, 2 Nov 2004 11:07:36 +0100
Reply-To: gidlist at gid.cimne.upc.es

This is a multi-part message in MIME format.

------=_NextPart_000_02B0_01C4C0CC.2918A980
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_02B1_01C4C0CC.2918A980"


------=_NextPart_001_02B1_01C4C0CC.2918A980
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

You can use Tcl language for enhanced features.=20
Can call a tcl procedure from the bas file with the *tcl command

This is a sample:
File .cnd Define a condition over lines, over face elements (not over
=
nodes), for example, named Face-Load
NUMBER: 1 CONDITION: Face-Load
CONDTYPE: over lines
CONDMESHT! YPE: over face elements
QUESTION: Pressure
VALUE: 0.0
HELP: Pressure on line to be transferred as equivalent nodal loads
END CONDITION

File .bas Call a tcl procedure, named SampleLoadWriteNodalLoads
..
*tcl(SampleLoadWriteNodalLoads)
..

File .tcl Define this tcl procedure.

proc SampleLoadWriteNodalLoads { } {
#set a {{10 1 - 3} {2 1 - 3} {6 3 - 3} {1 1 - 3}}
set infocond [GiD_Info conditions Face-Load mesh]
foreach item $infocond {
set elem [lindex $item 0]
set face [lindex $item 1]
set pressure [lindex $item 3]
set infoelem [GiD_Info mesh elements Triangle $elem]
if { $face =3D=3D 1 } {
set n1 [lindex $infoelem 1]
set n2 [lindex $infoelem 2]=20
} elseif { $face =3D=3D 2 } {
set n1 [lindex $infoelem 2]
set n2 [lindex $infoelem 3]
} else {
#assumed face=3D=3D3 ,only for triangles
set n1 [lindex $infoelem 3]
set n2 [lindex $infoelem 1]
}
set c1 [lrange [GiD_Info mesh nodes $n1] 1 end]
set c2 [lrange [GiD_Info mesh nodes $n2] 1 end]
set dist [::MathUtils::VectorDistance $c1 $c2]
set force [expr {$dist*$pressure*0.5}]
if { [info exists F($n1)] } {
set F($n1) [expr {$F($n1)+$force} ] =20
} else {
set F($n1) $force
}
if { [info exists F($n2)] } {
set F($n2) [expr {$F($n2)+$force} ] =20
} else {
set F($n2) $force
}
}
set result "LOAD\n"
append result "Node F\n"
foreach node [array names F] {
append result "$node $F($node)\n"
}
! return $result
}

This procedure requires the last 7.5.0b GiD beta version.
GiD_Info (or .gid.central.s info) is a tcl procedure defined by GiD to
=
return internal information.(read GiD help about Tcl-Tk extension)
The other command are Tcl standard (can see more information about =
Tcl/Tk language from the Internet)

I attach a zip file with this sample problemtype source.

Regards
Enrique Escolano
----- Original Message -----=20
From: Benedictus Benny Po=20
To: gidlist at gatxan.cimne.upc.es=20
Sent: Monday, November 01, 2004 8:45 PM
Subject: [GiDlist] Uniform load distribution


Hello GiD fans, users and experts wherever you are,

I want to share with you my problem that I have a! nd hope to get any =
solutions and suggest from you.
I'm devoloping interface between FEAP and GiD 7.2 at my institute for
=
my Master Thesis. I would like GiD to generate uniform load to be =
distributed along the nodes I have after mesh generation. This load =
generation result in form of single nodal loads over every node along =
the line will be used in FEAP as input for LOAD macro editor:

LOAD
node1, X-coor ,Y-coord ,p_x, p_y
node2, X-coor ,Y-coord, p_x, p_y
node3, X-coor ,Y-coord, p_x, p_y
...etc.......

My .cnd file :

NUMBER:5 CONDITION:Face-Load
CONDTYPE:over lines
CONDMESHTYPE:over nodes
QUESTION:L1.....(length of constant uniform load)
VALUE:10 (m)
QUESTION:n_x....(Number of face elements (which are under uniform =
load) to be generated) =20
VALUE:4
QUESTION:q_x...(Uniform Load x direction) VALUE:0.0
QUESTION:q_y...(Uniform Load y direction)
VALUE:-10 (kN/m)
QUESTION:p_x..(Nodal load x direction)
VALUE:0.0
=
QUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/Cond(2,int)*0.5).....(nodal
=
load y direction)
VALUE:Autocalculate
STATE:hidden


and my .bas file :

*Set Cond Face-Load *nodes *Canrepeat
*If(CondNumEntities(Int)0)
LOAD
*loop nodes *onlyInCond
*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real) *cond(p_x,real) =
*cond(p_y,real)
*End loop nodes
*endif

The result I have in my .dat file is like that:=20
(for L1=3D10(m), n_x=3D4 and q_y =3D -10(kN/m))
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -12.5
3, 5.00, 0.0, 0.0, -12.5
4, 7.50, 0.0, 0.0, -12.5
5, 0.00, 0.0, 0.0, -12.5

I did not see any possibility to tell GiD that at node 2, 3 and 4, =
since they get two times the half of the load from left element and =
right element, they should be each -25 , instead of -12.5.=20
If I would use in my .cnd file CANREPEAT: yes after CONDMESHTYPE: =
nodes,
I would get the same list of LOAD as above once more time , and it's
=
still not correct.
The correct result should be : =20
LOAD
Node X-coor Y-Coord p_x p_y
1, 0.00, 0.0, 0.0, -12.5
2, 2.50, 0.0, 0.0, -25
3, 5.00, 0.0, 0.0, -25
4, 7.50, 0.0, 0.0, -25
5, 10.00, 0.0, 0.0, -12.5

I hope you understand what I meant and I'm looking forward to hearing
=
from you.

Best regards,
Benedictus Benny PO




-------------------------------------------------------------------------=
-----
Cr=E9ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !=20
Cr=E9ez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arriv=E9 ! D=E9couvrez toutes les =
nouveaut=E9s pour dialoguer instantan=E9ment avec vos amis. =
T=E9l=E9chargez GRATUITEMENT ici !
------=_NextPart_001_02B1_01C4C0CC.2918A980
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"HEAD
META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1"
META content=3D"MSHTML 6.00.2800.1476" name=3DGENERATOR
STYLE/STYLE
/HEAD
BODY bgColor=3D#ffffff
DIVFONT face=3DArial size=3D2You can use Tcl language for enhanced
=
features.=20
/FONT/DIV
DIVFONT face=3DArial size=3D2Can call a tcl procedure from the bas
=
file with=20
the *tcl command/FONT/DIV
DIV /DIV
DIVFONT face=3DArial size=3D2This is a sample:/FONT/DIV
DIVFONT face=3DArial size=3D2STRONGFile .cnd/STRONG  
=
Define a=20
condition over lines, over face elements (not over nodes), for example,
=
named=20
Face-Load/FONT/DIV
DIVFONT face=3DArial color=3D#ff0000 size=3D2NUMBER: 1
CONDITION:=20
Face-LoadBRCONDTYPE: over linesBRCONDMESHTYPE: over face=20
elementsBRQUESTION: PressureBRVALUE: 0.0BRHELP: Pressure on line
=
to be=20
transferred as equivalent nodal loadsBREND =
CONDITIONBR/FONT/DIVFONT=20
face=3DArial color=3D#ff0000 size=3D2FONT color=3D#000000
DIVSTRONGFile .bas /STRONGCall a tcl procedure, named=20
SampleLoadWriteNodalLoadsBRFONT color=3D#0000ff.../FONT/DIV
DIVFONT color=3D#0000ff*tcl(SampleLoadWriteNodalLoads)/FONT/DIV
DIVFONT color=3D#0000ff.../FONTBR/DIV
DIVSTRONGFile .tcl/STRONG Define this tcl procedure./DIV
DIV /DIV
DIVFONT color=3D#0000ffproc SampleLoadWriteNodalLoads { }=20
{BR    #set a {{10 1 - 3} {2 1 - 3} {6 3 - 3} {1 1
-=20
3}}BR    set infocond [GiD_Info conditions
Face-Load=20
mesh]BR    foreach item $infocond {BR set elem
=
[lindex=20
$item 0]BR set face [lindex $item 1]BR set pressure =
[lindex $item=20
3]BR set infoelem [GiD_Info mesh elements Triangle =
$elem]BR if {=20
$face =3D=3D 1 } {BR     set n1 [lindex
$infoelem=20
1]BR     set n2 [lindex $infoelem 2] BR }
=
elseif {=20
$face =3D=3D 2 } {BR     set n1! [lindex
$infoelem=20
2]BR     set n2 [lindex $infoelem 3]BR } =
else=20
{BR     #assumed face=3D=3D3 ,only for=20
trianglesBR     set n1 [lindex $infoelem=20
3]BR     set n2 [lindex $infoelem=20
1]BR }BR set c1 [lrange [GiD_Info mesh nodes $n1] 1=20
end]BR set c2 [lrange [GiD_Info mesh nodes $n2] 1 =
end]BR set dist=20
[::MathUtils::VectorDistance $c1 $c2]BR set force [expr=20
{$dist*$pressure*0.5}]BR if { [info exists F($n1)] }=20
{BR     set F($n1) [expr {$F($n1)+$force}=20
]     BR } else
{BR     =
set=20
F($n1) $forceBR }BR if { [info exists F($n2)] }=20
{BR     set F($n2) [expr {$F($n2)+$force}
] =20
BR } else {BR     set F($n2)=20
$forceBR }BR    }BR    set =
result=20
"LOAD\n"BR    append result "Node =
F\n"BR   =20
foreach node [array names F] {BR append result "$node=20
$F($node)\n"BR    }BR    return=20
$resultBR}/FONT/DIV
DIVFONT color=3D#0000ff/FONT /DIV
DIVThis procedure requires the last 7.5.0b GiD beta version./DIV
DIVGiD_Info (or .gid.c! entral.s info) is a tcl procedure defined by
GiD =
to=20
return internal information.(read GiD help about Tcl-Tk
extension)/DIV
DIVThe other command are Tcl standard (can see more information about
=
Tcl/Tk=20
language from the Internet)/DIV
DIV /DIV
DIVI attach a zip file with this sample problemtype source./DIV
DIV /DIV
DIVRegards/DIV
DIVEnrique Escolano/DIV/FONT/FONT
BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"
DIV style=3D"FONT: 10pt arial"----- Original Message ----- /DIV
DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"BFrom:/B=20
A title=3Dv_e_r_s_e_a_u at yahoo.fr=20
href=3D"mailto:v_e_r_s_e_a_u at yahoo.fr"Benedictus Benny Po/A /DIV
DIV style=3D"FONT: 10pt arial"BTo:/B A =
title=3Dgidlist at gatxan.cimne.upc.es=20
=
href=3D"mailto:gidlist at gatxan.cimne.upc.es"gidlist at gatxan.cimne.upc.es/=
A=20
/DIV
DIV style=3D"FONT: 10pt arial"BSent:/B Monday, November 01,
2004 =
8:45=20
PM/DIV
DIV style=3D"FONT: 10pt arial"BSubject:/B [GiDlist] Uniform
load =

distribution/DIV
DIVBR/DIV
DIVHello GiD fans, users and experts wherever you are,/DIV
DIV /DIV
DIVI want to share with you my problem that I have and hope to
=
get any=20
solutions and suggest from you./DIV
DIVI'm devoloping interface between! FEAP and GiD 7.2 at my
institute =
for my=20
Master Thesis. I would like GiD to generate uniform load to
=
be=20
distributed along the nodes I have after mesh generation. This =
load=20
generation result in form of single nodal loads over every
=
node=20
along the line will be used in FEAP as input for LOAD macro =
editor:/DIV
DIV /DIV
DIVLOAD/DIV
DIVnode1, X-coor ,Y-coord ,p_x, p_y/DIV
DIVnode2, X-coor ,Y-coord, p_x, p_y/DIV
DIVnode3, X-coor ,Y-coord, p_x, p_y/DIV
DIV...etc......./DIV
DIV /DIV
DIVMy .cnd file :/DIV
DIV /DIV
DIV
! P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"SPAN
lang=3DEN-GB=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: =
EN-GB"NUMBER:5=20
CONDITION:Face-LoadBRCONDTYPE:over linesBRCONDMESHTYPE:over=20
nodesBRQUESTION:L1.....(length of constant uniform
load)BRVALUE:10 =

(m)BRQUESTION:n_x....(Number of face elements (which are under =
uniform load)=20
to be generated)  BRVALUE:4BRQUESTION:q_x...(Uniform Load
x=20
direction)BRVALUE:0.0BRQUESTION:q_y...(Uniform Load y=20
direction)BRVALUE:-10 (kN/m)BRQUESTION:p_x..(Nodal load x=20
=
direction)BRVALUE:0.0BRQUESTION:p_y#FUNC#(Cond(4,real)*Cond(1,real)/C=
ond(2,int)*0.5).....(nodal=20
load y=20
=
direction)BRVALUE:AutocalculateBRSTATE:hiddeno:p/o:p/SPAN/P/=
DIV
DIV /DIV
DIVand my .bas file :/DIV
DIV /DIV
DIV*Set Cond Face-Load *nodes=20
*CanrepeatBR*If(CondNumEntities(Int)>0)BRLOADBR*loop
nodes=20
*onlyInCondBR*Nodesnum *NodesCoord(1,real) *NodesCoord(2,real)=20
*cond(p_x,real) *cond(p_y,real)BR*End loop nodesBR*endif/DIV
DIV /DIV
DIVThe result I have in my .dat file is like that: /DIV
DIV(for L1=3D10(m), n_x=3D4 and q_y =3D -10(kN/m))/DIV
DIVLOADBRNode   =
X-coor       =20
Y-Coord    =20

p_x           =20
p_y/DIV
DIV  1,     =20
0.00,          =20
0.0,        =20
 0.0,         =20
-12.5BR =20
=
2,      2.50,     =
     =20
0.0,         =20
0.0,         
-12.5BR =20
3,     =20
5.00,          =20
0.0,         =20
0.0,          =
-12.5BR =20
4,     =20
7.50,          =20
0.0,         =20
0.0,         
-12.5/DIV
DIV&! nbsp; 5,     =20
0.00,          =20
0.0,         =20
0.0,         
-12.5/DIV
DIV /DIV
DIVI did not see any possibility to tell GiD that at node 2, 3
=
and 4,=20
since they get two times the half of the load from left element and =
right=20
element, they should be each -25 , instead of -12.5. /DIV
DIVIf I would use   in my .cnd file CANREPEAT: yes=20
after CONDMESHTYPE: nodes,BRI would get the same list of =
LOAD as=20
above once more time , and it's still not correct./DIV
DIV The correct result should be :  /DIV
DIV
DIVLOADBRNode   =
X-coor       =20
Y-Coord    =20
=
p_x           &nbs=
p;=20
p_y/DIV
DIV =20
=
1,       0.00,    =
    =20
 0.0,       =20

 0.0,           =
 =20 -12.5BR  2,      =20
2.50,         =20
0.0,        =20
0.0,           =20
 -25BR  3,      =20
5.00,        =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-25BR  4,      =20
&n! bsp; 7.50,        =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-25/DIV
DIV =20
=
5,     10.00,     &nbsp=
;  =20
 0.0,        =20
=
0.0,           &nb=
sp;=20
-12.5/DIV
DIV /DIV
DIVI hope you understand what I meant and I'm looking =
forward to=20
hearing from you./DIV
DIV /DIV
DIVBest regards,/DIV
DIVBenedictus Benny PO/DIV/DIV
DIV /DIV
DIV /DIV
P
HR SIZE=3D1
Cr=E9ez gratuitement votre Yahoo! Mail avec FONT color=3DredB100
=
Mo de=20
stockage !/B/FONT BRA=20
=
href=3D"http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=3D=
25917/*http://fr.rd.yahoo.com/mail/mail_taglines_100/default/*http://fr.b=
enefits.yahoo.com/"Cr=E9ez=20 votre Yahoo! Mail/ABRBRFONT color=3DredBLe nouveau Yahoo! =
Messenger=20
est arriv=E9 !/B/FONT D=E9couvrez toutes les nouveaut=E9s pour =
dialoguer=20
instantan=E9ment avec vos amis. A=20
=
href=3D"http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/evt=3D=
26111/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.=
messenger.yahoo.com"T=E9l=E9chargez=20
GRATUITEMENT ici !/A/BLOCKQUOTE/BODY/HTML

------=_NextPart_001_02B1_01C4C0CC.2918A980--

------=_NextPart_000_02B0_01C4C0CC.2918A980
Content-Type: application/x-zip-compressed;
name="SampleLoad.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="SampleLoad.zip"

UEsDBBQAAAAIAIZWYjGlJ3mbKwAAADEAAAAdAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5i
YXPj5dLT0+Pl4uXSKknO0QhOzC3ISfXJT0wJL8osSfXLT0nMAfGKNUFKwCoBUEsDBBQAAAAIAGxP
YjHNGAn0mAAAAMsAAAAdAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5jbmRNjk0OgjAQhfdN
eoe5gAa37FRqIIFShZq4rDIkJKWNLXB+R1ngZhbv55sndXUStxQOcK5lVrRFLVO4mBfuSm86zr5q
+1AiBb9gADs4jKtaiSb/c3rqAFoc0U2UuGrRrDAVMMY5IGf3Y6kpnuwTznJRqs0D735omDw86Qbj
Yo8hYAcmAr7nYTGWwOB8ZyxYmkY/hMy21Zx9AFBLAwQUAAAACADKWGIxlgUdx/QBAADoBAAAHQAA
AFNhbXBsZUxvYWQuZ2lkL1NhbXBsZUxvYWQudGNsjVRNi9swED1vIP9h2Oiwu+2WWKY9BHIohJTC
tj30Yw+uKcKeNKKOZCSFZgn+7zuSbeG4YdOcJL2Z92bejDOdzLSqnuCvNn9gow1UUqEw4IwU6neF
djqpjS7gq9jVFT5oUT4a6fCzLkXlbxaO0MBxOgH6zSw6EHA8JnNI4B5SQng8vYO0OyXdW9Om+Syp
NrrQqoTsg1z9+kg38FfppFYW1qLAey8HO7TbvE2jalEUW6BydsAiAdVy5RmxoueM2inxQLAPmucd
tiG+EZb0WG3Q2r0Z42mPe6GWO1bqiwp6qJyFb511wPyTT5MbcokF0eWSeg+GXfWtq2Qg1ZOHcmIE
PxPBc6CQhnQtngrw/xHgFwVCxy1/pJsJ8maHZXBwuUzhddgevziDjXlZOb2oHJpvOr8Lz2GIGse! O
K12i BaaSnDxFVfYTKvilDD7KKKV1kC0Wn4TbfneysovFDyycNisChCJbGZXBCh4XSBu/QXioDRyZ
T79j/eLczd+8beLYM98V4IFCaI9vqNrbfDSf9jWytddXLGg0kIe4f0cxyGxDO8/Oq/KzqvxUlQ9U
X5Lkp5IeGnzKZMO+cnD98OX96qe6bgFR1+R3xOj/A2Ed0f5T9vOBTBgjnkAJGhms86A+SmchMNRM
h9vI01Vh0O2NAtaGTyf0/AxQSwMECgAAAAAAzlhiMQAAAAAAAAAAAAAAAA8AAABTYW1wbGVMb2Fk
LmdpZC9QSwECFAAUAAAACACGVmIxpSd5mysAAAAxAAAAHQAAAAAAAAABACAAtoEAAAAAU2FtcGxl
TG9hZC5naWQvU2FtcGxlTG9hZC5iYXNQSwECFAAUAAAACABsT2IxzRgJ9JgAAADLAAAAHQAAAAAA
AAABACAAtoFmAAAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC5jbmRQSwECFAAUAAAACADKWGIx
lgUdx/QBAADoBAAAHQAAAAAAAAABACAAtoE5AQAAU2FtcGxlTG9hZC5naWQvU2FtcGxlTG9hZC50
Y2xQSwECFAAKAAAAAADOWGIxAAAAAAAAAAAAAAAADwAAAAAAAAAAABAA/0FoAwAAU2FtcGxlTG9h
ZC5naWQvUEsFBgAAAAAEAAQAHgEAAJUDAAAAAA==

------=_NextPart_000_02B0_01C4C0CC.2918A980--



--__--__--

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


End of GiDlist Digest



------------------------------------------------------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. Téléchargez GRATUITEMENT ici !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20041104/644715a5/attachment.htm
Post Reply