Skip to content

Commit

Permalink
🥅 update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Pellegrino committed Oct 31, 2023
1 parent ab125ef commit bc59166
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions FemDesign.Tests/Results/Stability/NodalBucklingShapeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,9 @@ public void TestReadStabilityResults()
string struxmlPath = "Results\\Stability\\ReadBucklingShapesTest.struxml";
Model model = Model.DeserializeFromFilePath(struxmlPath);

FemDesign.Calculate.Analysis analysis = new FemDesign.Calculate.Analysis(calcComb : true, calcStab : true);
var stabily = new Calculate.Stability(new List<string> { "LC1ULS" }, new List<int> { 10 }, false, 5);
FemDesign.Calculate.Analysis analysis = new FemDesign.Calculate.Analysis(stability: stabily, calcComb : true, calcStab : true);

var combItem = new FemDesign.Calculate.CombItem(stabReq: 10);
model.Entities.Loads.LoadCombinations.ForEach(lComb =>
{
lComb.CombItem = combItem;
});

analysis.SetLoadCombinationCalculationParameters(model);

using (var femDesign = new FemDesignConnection(fdInstallationDir : @"C:\Program Files\StruSoft\FEM-Design 22\", outputDir: "My analyzed model", keepOpen: false))
{
Expand Down

0 comments on commit bc59166

Please sign in to comment.