Problem with Gravity Load
Moderators: silvia, selimgunay, Moderators
Problem with Gravity Load
Hi Silvia,
I have U-shaped retaining structures with soil backfill. When I try to add the mass of the structures as node loads, I get the following message:
"Node::addunbalLoad - load to add of incorrect size 2 should be 3"
The nodes have ndf 3 and I am using:
pattern Plain 1 Linear {
load $tag1 0.0 [expr -9.81*$M] 0.0;
}
Can you please let me know what's wrong?
Thanks a lot,
Linda.
I have U-shaped retaining structures with soil backfill. When I try to add the mass of the structures as node loads, I get the following message:
"Node::addunbalLoad - load to add of incorrect size 2 should be 3"
The nodes have ndf 3 and I am using:
pattern Plain 1 Linear {
load $tag1 0.0 [expr -9.81*$M] 0.0;
}
Can you please let me know what's wrong?
Thanks a lot,
Linda.
-
- Posts: 22
- Joined: Tue Oct 02, 2012 12:24 pm
- Location: Budapest University of Technology and Economincs
Re: Problem with Gravity Load
I have the same error, but with different problem.
This is my sample code:
pattern Plain 10000 Linear {
foreach node $NODES px $PX py $PY {
load $node $px $py 0.0
puts "$node $px $py 0.0 "
}
}
the ndm is 2 and the ndf is 3
the NODES vector is from the opensees command from where I can get the node ID-s.
px and py are not empty, because in the output I check it as you see (puts "$node ...")
After a first iteration I got this error:
Node::addunbalLoad - load to add of incorrect size 3 should be 4
What does this means?
This is my sample code:
pattern Plain 10000 Linear {
foreach node $NODES px $PX py $PY {
load $node $px $py 0.0
puts "$node $px $py 0.0 "
}
}
the ndm is 2 and the ndf is 3
the NODES vector is from the opensees command from where I can get the node ID-s.
px and py are not empty, because in the output I check it as you see (puts "$node ...")
After a first iteration I got this error:
Node::addunbalLoad - load to add of incorrect size 3 should be 4
What does this means?
-
- Posts: 22
- Joined: Tue Oct 02, 2012 12:24 pm
- Location: Budapest University of Technology and Economincs
Re: Problem with Gravity Load
And another note for this.
If I change the nodal load row to:
load $node $px $py 0.0 0.0
the following appears:
Node::addunbalLoad - load to add of incorrect size 4 should be 3
This is the opposite of the previous one.
If I change the nodal load row to:
load $node $px $py 0.0 0.0
the following appears:
Node::addunbalLoad - load to add of incorrect size 4 should be 3
This is the opposite of the previous one.
-
- Posts: 22
- Joined: Tue Oct 02, 2012 12:24 pm
- Location: Budapest University of Technology and Economincs
Re: Problem with Gravity Load
I need an answer pls!
Re: Problem with Gravity Load
Can you post more of your script, like how you define NODES, PX, and PY arrays/lists?
-
- Posts: 22
- Joined: Tue Oct 02, 2012 12:24 pm
- Location: Budapest University of Technology and Economincs
Re: Problem with Gravity Load
If you send your email I could give you. It is a bit difficult model, it has a lot of files, I got this from the Standford University.
mhscott wrote:
> Can you post more of your script, like how you define NODES, PX, and PY
> arrays/lists?
mhscott wrote:
> Can you post more of your script, like how you define NODES, PX, and PY
> arrays/lists?