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

Parameters of the Methods of the PartialNonUniformLoad Class

Open MLiranzo opened this issue 2 years ago • 14 comments

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 ..."

MLiranzo avatar Nov 12 '23 20:11 MLiranzo

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

epsi1on avatar Nov 13 '23 14:11 epsi1on

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...

epsi1on avatar Nov 13 '23 15:11 epsi1on

did it work?

epsi1on avatar Nov 16 '23 04:11 epsi1on

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

epsi1on avatar Nov 16 '23 18:11 epsi1on

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?

epsi1on avatar Nov 18 '23 06:11 epsi1on

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

epsi1on avatar Nov 18 '23 18:11 epsi1on

thanks, i'll add it to documentation asap

epsi1on avatar Nov 21 '23 05:11 epsi1on