Sometimes I use helping points and helping lines from which other points and lines can be created. In this way I can put the new geometry under a same name, so the model gets simplified.



The following code is about how the displacement is calculated in the program. The parameters are constantly related to the values, given by the sliding bars.
The total displacement in a beam like this is always parabolic. This means that in GC 2 different displacements, in three places (symetric), and a start and end point must be defined. This was done by making some invisible lines of displacement. A line through the end points of the lines create the parabolic line of displacement. By using this line as a feature the same displacement can take place in all the edges of the beam.
{
StartPoint = point05[2];
Direction = baseCS.ZDirection;
Length = Factor * 5 / 32 * (BeamLoad * BeamLength * BeamLength * BeamLength * BeamLength) / (BeamYoungsMod * BeamWidth * BeamHeight * BeamHeight * BeamHeight);
SymbolXY = {105, 106};
}
feature line08 GC.Line
{
StartPoint = {point05[3], point05[1]};
Direction = baseCS.ZDirection;
Length = 0.75 * Factor * 5 / 32 * (BeamLoad * BeamLength * BeamLength * BeamLength * BeamLength) / (BeamYoungsMod * BeamWidth * BeamHeight * BeamHeight * BeamHeight);
SymbolXY = {105, 108};
}
Further today I will try to make a I formed beam in the same way. Also I will try to put a plan on this blog in which gets prescribed how the model is build. This can perhaps also been used by the turors in making the same model.
No comments:
Post a Comment