Example #1
0
        public LayerEnergiesSet CalculateFoundationEnergiesSet(FoundationGaSbParameters foundationParameters)
        {
            StrainTensorCalculator newStrainTensorCalculator = new StrainTensorCalculator(_aE, foundationParameters);
            var epsilonParallel      = newStrainTensorCalculator.EpsilonParallel;
            var epsilonPerpendicular = newStrainTensorCalculator.EpsilonPerpendicular;
            StrainEnergyModulesCalculator newStrainEnergyModulesCalculator = new StrainEnergyModulesCalculator(foundationParameters, epsilonParallel, epsilonPerpendicular);
            var ECH      = newStrainEnergyModulesCalculator.EnergyDeltaCH;
            var EVH      = newStrainEnergyModulesCalculator.EnergyDeltaVH;
            var EVB      = newStrainEnergyModulesCalculator.EnergyDeltaVB;
            var EVBPlus  = newStrainEnergyModulesCalculator.EnergyDeltaPlusVB;
            var EVBMinus = newStrainEnergyModulesCalculator.EnergyDeltaMinusVB;
            LayerEnergiesSet newEnergiesSet = new LayerEnergiesSet();

            newEnergiesSet.CalculateLayerEnergies(foundationParameters, ECH, EVH, EVB, EVBPlus, EVBMinus);
            LayerEnergies = newEnergiesSet;
            return(LayerEnergies);
        }
Example #2
0
        public LayerEnergiesSet CalculateEnergiesSet(InterpolatedParametersSet layerParametersSet)
        {
            _layerParametersSet = layerParametersSet;
            StrainTensorCalculator newStrainTensorCalculator = new StrainTensorCalculator(_aE, _layerParametersSet);
            var epsilonParallel      = newStrainTensorCalculator.EpsilonParallel;
            var epsilonPerpendicular = newStrainTensorCalculator.EpsilonPerpendicular;
            StrainEnergyModulesCalculator newStrainEnergyModulesCalculator = new StrainEnergyModulesCalculator(_layerParametersSet, epsilonParallel, epsilonPerpendicular);
            var ECH      = newStrainEnergyModulesCalculator.EnergyDeltaCH;
            var EVH      = newStrainEnergyModulesCalculator.EnergyDeltaVH;
            var EVB      = newStrainEnergyModulesCalculator.EnergyDeltaVB;
            var EVBPlus  = newStrainEnergyModulesCalculator.EnergyDeltaPlusVB;
            var EVBMinus = newStrainEnergyModulesCalculator.EnergyDeltaMinusVB;
            LayerEnergiesSet newEnergiesSet = new LayerEnergiesSet();

            newEnergiesSet.CalculateLayerEnergies(_layerParametersSet, ECH, EVH, EVB, EVBPlus, EVBMinus);
            LayerEnergies = newEnergiesSet;
            return(LayerEnergies);
        }
 public LayersEnergiesSets(LayerEnergiesSet set1, LayerEnergiesSet set2, LayerEnergiesSet set3)
 {
     LayerOneSet   = set1;
     LayerTwoSet   = set2;
     LayerThreeSet = set3;
 }