[GiDlist] Uniform load distribution
Posted: Mon Nov 01, 2004 9:25 pm
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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20041101/6893d9c6/attachment.htm
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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20041101/6893d9c6/attachment.htm