FEALiTE2D.Plotting
1.1.2
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
dotnet add package FEALiTE2D.Plotting --version 1.1.2
NuGet\Install-Package FEALiTE2D.Plotting -Version 1.1.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FEALiTE2D.Plotting" Version="1.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FEALiTE2D.Plotting --version 1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FEALiTE2D.Plotting, 1.1.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FEALiTE2D.Plotting as a Cake Addin #addin nuget:?package=FEALiTE2D.Plotting&version=1.1.2 // Install FEALiTE2D.Plotting as a Cake Tool #tool nuget:?package=FEALiTE2D.Plotting&version=1.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FEALiTE2D
A fast and reliable finite element analysis library for 2D frame, beam and truss elements using C#.
FEALiTE2D | |
---|---|
FEALiTE2D.Plotting |
Features
- Analysis of frame, beam, truss/link members.
- Various load types:
- Frame point load.
- Frame uniform load.
- Frame trapezoidal load.
- Nodal point load.
- Support displacement.
- Loads can be set in global and element's local coordinate system.
- Nodes can have local and global coordinate system.
- Loads can be assigned in variant load cases of different natures.
- Loads can be combined in a load combination with load magnification factors.
- Rigid Supports of 3 degrees of freedom.
- Elastic supports using translational and rotational springs.
- Variety of predefined cross-sections.
- Linear mesher for better analysis results.
Sign convention for loads in global and local coordinate system.
Example
Here is a 2D framed strcture subjected to various loading conditions
public void TestStructure()
{
// units are kN, m
FEALiTE2D.Structure.Structure structure = new FEALiTE2D.Structure.Structure();
Node2D n1 = new Node2D(0, 0, "n1");
Node2D n2 = new Node2D(9, 0, "n2");
Node2D n3 = new Node2D(0, 6, "n3");
Node2D n4 = new Node2D(9, 6, "n4");
Node2D n5 = new Node2D(0, 12, "n5");
n1.Restrain(NodalDegreeOfFreedom.UX, NodalDegreeOfFreedom.UY, NodalDegreeOfFreedom.RZ); //fully restrained
n2.Restrain(NodalDegreeOfFreedom.UX, NodalDegreeOfFreedom.UY, NodalDegreeOfFreedom.RZ); //fully restrained
structure.AddNode(n1, n2, n3, n4, n5);
IMaterial material = new GenericIsotropicMaterial() { E = 30E6, U = 0.2, Label = "Steel", Alpha = 0.000012, Gama = 39885, MaterialType = MaterialType.Steel };
IFrame2DSection section = new Generic2DSection(0.075, 0.075, 0.075, 0.000480, 0.000480, 0.000480 * 2, 0.1, 0.1, material);
FrameElement2D e1 = new FrameElement2D(n1, n3, "e1") { CrossSection = section };
FrameElement2D e2 = new FrameElement2D(n2, n4, "e2") { CrossSection = section };
FrameElement2D e3 = new FrameElement2D(n3, n5, "e3") { CrossSection = section };
FrameElement2D e4 = new FrameElement2D(n3, n4, "e4") { CrossSection = section };
FrameElement2D e5 = new FrameElement2D(n4, n5, "e5") { CrossSection = section };
structure.AddElement(new[] { e1, e2, e3, e4, e5 });
LoadCase loadCase = new LoadCase("live", LoadCaseType.Live);
structure.LoadCasesToRun.Add(loadCase);
n2.SupportDisplacementLoad.Add(new SupportDisplacementLoad(10E-3, -5E-3, -2.5 * Math.PI / 180, loadCase));
e3.Loads.Add(new FramePointLoad(0, 0, 7.5, e3.Length / 2, LoadDirection.Global, loadCase));
e4.Loads.Add(new FrameTrapezoidalLoad(0, 0, -15, -7, LoadDirection.Global, loadCase, 0.9, 2.7));
e5.Loads.Add(new FrameUniformLoad(0, -12, LoadDirection.Local, loadCase));
n3.NodalLoads.Add(new NodalLoad(80, 0, 0, LoadDirection.Global, loadCase));
n5.NodalLoads.Add(new NodalLoad(40, 0, 0, LoadDirection.Global, loadCase));
n1.NodalLoads.Add(new NodalLoad(40, 0, 0, LoadDirection.Global, loadCase));
structure.LinearMesher.NumberSegements = 35;
structure.Solve();
}
Ploting internal forces and displacments
Use ploting Library FEALiTE2D.Plotting
, create dxf plotter with correct options and save the file on your local machine.
var op = new FEALiTE2D.Plotting.Dxf.PlottingOption
{
NFDScaleFactor = 0.01,
SFDScaleFactor = 0.01,
BMDScaleFactor = 0.01,
DisplacmentScaleFactor = 1,
DiagramsHorizontalOffsets = 10
};
var plotter = new FEALiTE2D.Plotting.Dxf.Plotter(structure, op);
plotter.Plot("D:\\internal forces.dxf", loadCase);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- FEALiTE2D (>= 1.1.2)
- netDxf.netstandard (>= 2.4.0)
-
.NETStandard 2.0
- FEALiTE2D (>= 1.1.2)
- netDxf.netstandard (>= 2.4.0)
-
net8.0
- FEALiTE2D (>= 1.1.2)
- netDxf.netstandard (>= 2.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
corrected dxf plotting for inclined elements