Parameters of the Methods of the PartialNonUniformLoad Class
Hello epsi1on, After trying to use the PartialTrapezoidalLoad class without results, I accessed the PartialTrapezoidalLoadExamples example to try to replace the PartialTrapezoidalLoad class; However, it is not clear with the parameters used:
load.SeverityFunction = Mathh.SingleVariablePolynomial.FromPoints(-1, 5, 1, 7); // -1,5,1,7 ?? load.StartLocation = new IsoPoint(-0.5); // -0.5 ?? load.EndLocation = new IsoPoint(0.5); // 0.5 ??
You could add a graphic diagram, even freehand. In another sense, I don't know why the PartialTrapezoidalLoad class is not recognized? it throws the following error message "The type or namespace name PartialTrapezoidalLoad could not be found ..."
The class for non uniform load is renamed since. It's name is PartialNonUniformLoad.
https://github.com/BriefFiniteElementNet/BriefFiniteElement.Net/blob/master/Sources/BriefFiniteElementNet/Loads/PartialNonUniformLoad.cs
It is good you have included a visualization :) The start and end points are iso points. the linear load can be assumed as a polynomial. (edit: polynomial with degree of 1) Here is pseudo code for your load:
var x1 =2.0 m
var x2=5.0 m
var x3=6.5 m
var xi1 = Xi(x1,6.5);// compute x=2 in iso system
var xi2 = Xi(x2,6.5);
var xi2 = Xi(x3,6.5);
var load = new PartialNonuniformLoad();
load.Severity = Mathh.SingleVariablePolynomial.FromPoints(xi1, 1.8 ton/meter, xi2, 2.3 ton/meter);
load.StartPoint = new IsoPoint( xi1);
load.StartPoint = new IsoPoint( xi2);
note that this is pseudo code for clarification. not necessarily compiles as C#. you must convert ton/m to N/m etc...
did it work?
i think you are using local coordinate values, but you should use iso coordinate values. i.e. you should convert X to ξ. have a look at here: https://bfenet.readthedocs.io/en/latest/example/isoparamcoord/index.html#barelement-isoparam-example
this is code for your first example with both ends pinned to ground: https://github.com/BriefFiniteElementNet/BriefFiniteElement.Net/blob/master/Validation/Validation/GithubIssues/Issue174.cs
Could you please check and see if it's results are true?
good to hear that, Could you please give more information (like screenshot etc of software.) in order to make it as a validation like ones in the validation section? it need a brief visualization (you already did) some code (which i did) and some info about the software which the BFE is validated against which need to be done.
Thanks
thanks, i'll add it to documentation asap