Esempio n. 1
0
 void GetEIF____00_35_UV(CMLoad_35 Load, float fL, out float fA, out float fB, out float fMa, out float fMb)
 {
     // Temporary
     fA = 0.0f;
     fB = 0.0f;
     fMa = 0.0f;
     fMb = 0.0f;
 }
Esempio n. 2
0
 void GetEIF_0__0__35_UV(CMLoad_35 Load, float fL, out float fA, out float fB, out float fMa, out float fMb)
 {
     float fb = fL - Load.Fa - Load.Fs;
     fA = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (MathF.Pow2(fb) * (3f * Load.Fa + 2 * fb + 4 * Load.Fs) + MathF.Pow2(Load.Fs) * (0.5f * Load.Fa + 2f * fb + 0.4f * Load.Fs) + 2f * Load.Fa * fb * Load.Fs);
     fB = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (2f * MathF.Pow2(Load.Fa) * (Load.Fa + 3 * fb + 3 * Load.Fs) + MathF.Pow2(fb) * (3 * Load.Fa + 2f * Load.Fs) + MathF.Pow2(Load.Fs) * (5.5f * Load.Fa + 4f * fb + 1.6f * Load.Fs) + 10f * Load.Fa * fb * Load.Fs);
     fMa = fMb = 0f;
 }
Esempio n. 3
0
 void GetMLoadPart_35(CMLoad_35 Load, CE_1D_BASE Member, FEM_CALC_BASE.Enums.EElemSuppType2D eMType, out float fA, out float fB, out float fMa, out float fMb)
 {
     switch (eMType)
     {
         case Enums.EElemSuppType2D.eEl_00_00: // Both Side restrained
             {
                 GetEIF_00_00_35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_00_0_:
             {
                 GetEIF_00_0__35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_0__00:
             {
                 GetEIF_0__00_35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_0__0_:
             {
                 GetEIF_0__0__35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_00___:
             {
                 GetEIF_0__00_35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl____00:
             {
                 GetEIF_0__0__35_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         default:
             {
                 // Exception
                 fA = fB = fMa = fMb = 0.0f;
                 return;
             }
     }
 }
Esempio n. 4
0
 void GetEIF_00_00_35_UV(CMLoad_35 Load, float fL, out float fA, out float fB, out float fMa, out float fMb)
 {
     float fb = fL - Load.Fa - Load.Fs;
     fA = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (2f * MathF.Pow2(fb) * (3f * fL - 2f * fb) + 4f * Load.Fa * fb * Load.Fs + MathF.Pow2(Load.Fs) * (3f * fb + Load.Fa + 0.6f * Load.Fs));
     fB = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (2f * MathF.Pow2(Load.Fa) * (3f * fL - 2f * Load.Fa) + 8f * Load.Fa * fb * Load.Fs + MathF.Pow2(Load.Fs) * (3f * fb + 5f * Load.Fa + 1.4f * Load.Fs));
     fMa = (Load.Fq * Load.Fs / (60f * MathF.Pow2(fL))) * (10f * MathF.Pow2(fb) * (3f * Load.Fa + 2f * Load.Fs) + MathF.Pow2(Load.Fs) * (10f * fb + 5f * Load.Fa + 2f * Load.Fs) + 20f * Load.Fa * fb * Load.Fs);
     fMb = -(Load.Fq * Load.Fs / (60f * MathF.Pow2(fL))) * (10f * MathF.Pow2(Load.Fa) * (3f * fb + Load.Fs) + MathF.Pow2(Load.Fs) * (15f * fb + 10f * Load.Fa + 3f * Load.Fs) + 40f * Load.Fa * fb * Load.Fs);
 }
Esempio n. 5
0
 void GetMLoadPart_35(CMLoad_35 Load, CE_1D_BASE Member, FEM_CALC_BASE.Enums.EElemSuppType2D eMType, out float fA, out float fB)
 {
     // Temporary
     fA = fB = 0.0f;
 }