BriefFiniteElement.Net icon indicating copy to clipboard operation
BriefFiniteElement.Net copied to clipboard

Use of All Diferents Types of Loads

Open MLiranzo opened this issue 1 year ago • 5 comments

I am trying to implement the uses of different types of loads in my project, distributed loads, concentrated loads, trapezoidal loads and triangular loads. Almost all of them work well with a fairly good level of accuracy, however the concentrated load does not produce any change in the elements where they are applied. I have applied all of these loads to a single element model and all types work well including the concentrated load. Below is a fragment of code with which I apply these loads.

`#region"AGREGANDO CARGAS CONCENTRADAS EN VIGAS" var Len = myFrame[x1].setDim(); // myFrame is a elements beams list

            if (myFrame[x1].CargaMuertaPuntual != 0) // CargaMuertaPuntual is a property that get the concentrated load in dead load
            {
                var distd = Len * myFrame[x1].distMuertaPuntual; // distMuertaPuntual is a property for proportion of Len
                var dis1 = el1.LocalCoordsToIsoCoords(distd)[0];
                var p1 = myFrame[x1].CargaMuertaPuntual;
                var pd = new Force(0, 0, -p1 * 9806.65, 0, 0, 0);
                var ud1 = new ConcentratedLoad(pd, new IsoPoint(dis1), CoordinationSystem.Global);
                el1.Loads.Add(ud1);
            }
            if (myFrame[x1].CargaVivaPuntual != 0)
            {
                var distv = Len * myFrame[x1].distVivaPuntual;
                var dis2 = el1.LocalCoordsToIsoCoords(distv)[0];
                var p2 = myFrame[x1].CargaVivaPuntual;
                var pl = new Force(0, 0, -p2 * 9806.65, 0, 0, 0);
                var ud2 = new ConcentratedLoad(pl, new IsoPoint(dis2), CoordinationSystem.Global);
                el1.Loads.Add(ud2);
            }
            #endregion`

MLiranzo avatar Feb 19 '24 13:02 MLiranzo

What is expected value and what is current value?

epsi1on avatar Feb 19 '24 17:02 epsi1on

Hi, I'm trying to add a feature to the code. Is it possible for you to help me on that please? had a donation which i can share with you. If yes, send me an email (my mail address in my profile). Thanks

epsi1on avatar Mar 03 '24 06:03 epsi1on

Hi I am happy to help within my limited programming knowledge. Let me know your email in my Email, I am not able to locate your profile.

Thanks for the email. I've received it and replied. lets continue this conversation by email if you mind. Thanks again

epsi1on avatar Mar 03 '24 19:03 epsi1on