Skip to main content

Load Cases

LoadCaseBase represents one independent action scenario (dead, live, wind, snow, etc.).

Built-in load case types

  • DeadLoadCase
  • LiveLoadCase
  • WindLoadCase
  • SnowLoadCase
  • SeismicLoadCase
  • IceLoadCase

Add load cases

var dead = new DeadLoadCase("G") { IncludeSelfWeight = true };
var live = new LiveLoadCase("Q");
var windX = new WindLoadCase("W +X", new Point3D(1, 0, 0));

model.AddLoadCase(dead);
model.AddLoadCase(live);
model.AddLoadCase(windX);

Eurocode action classification

LoadCaseBase can hold action metadata used by EN 1990 combination generation:

  • ActionClassification
  • PsiFactors
  • IsFavourable

This is set automatically for some constructors (e.g., WindLoadCase) and can also be assigned explicitly.

Notes

  • Load cases must be added to the model before adding loads that reference them.
  • Adding or removing load cases invalidates cached results.
  • Wind, snow, and seismic load case types carry metadata (direction, intensity) used by the combination generator, but the loads themselves (forces on members) must currently be defined manually by the user. Automatic load generation from attached geometry is planned but not yet implemented.