Ejemplo n.º 1
0
 public LoadsPerLineRAZ(ElementRAZ _elementRAZ, LoadcaseRAZ _loadcase, LoadsRAZ _Start, LoadsRAZ _End)
 {
     this.startLoads = _Start;
     this.endLoads   = _End;
     this.elementRAZ = _elementRAZ;
     this.loadcase   = _loadcase;
     _loadcase.loadsPerLineRAZs.Add(this);
 }
Ejemplo n.º 2
0
        private void AddLoadCaseToOpenModel(KarambaIDEA.Core.LoadcaseRAZ _loadCaseRAZ)
        {
            LoadCase loadCase = new LoadCase();

            loadCase.Name = _loadCaseRAZ.name;
            loadCase.Id   = _loadCaseRAZ.id;
            loadCase.Type = LoadCaseSubType.PermanentStandard;

            LoadGroupEC loadGroup = null;

            loadGroup           = new LoadGroupEC();
            loadGroup.Id        = _loadCaseRAZ.id;
            loadGroup.Name      = "LG" + _loadCaseRAZ.id;
            loadGroup.GammaQ    = 1.5;
            loadGroup.Psi0      = 0.7;
            loadGroup.Psi1      = 0.5;
            loadGroup.Psi2      = 0.3;
            loadGroup.GammaGInf = 1.0;
            loadGroup.GammaGSup = 1.35;
            loadGroup.Dzeta     = 0.85;
            openModel.AddObject(loadGroup);

            loadCase.LoadGroup = new ReferenceElement(loadGroup);


            openModel.AddObject(loadCase);

            CombiInputEC combi = new CombiInputEC();

            combi.Name                 = "CO" + _loadCaseRAZ.id;
            combi.TypeCombiEC          = TypeOfCombiEC.ULS;
            combi.TypeCalculationCombi = TypeCalculationCombiEC.Linear;
            combi.Items                = new List <CombiItem>();
            CombiItem it = new CombiItem();

            it.Id       = 1;
            it.LoadCase = new ReferenceElement(loadCase);
            it.Coeff    = 1.0;
            combi.Items.Add(it);
            openModel.AddObject(combi);
        }