コード例 #1
0
ファイル: CMLoadPart_TRANS_F.cs プロジェクト: 777ondro/sw-en
 void GetEIF____00_34_UV(CMLoad_34 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;
 }
コード例 #2
0
ファイル: CMLoadPart_TRANS_F.cs プロジェクト: 777ondro/sw-en
 void GetEIF_0__0__34_UV(CMLoad_34 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 + 5 * Load.Fs) + MathF.Pow2(Load.Fs) * (1.5f * Load.Fa + 4f * fb + 1.1f * Load.Fs) + 4f * 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 + Load.Fs) + MathF.Pow2(Load.Fs) * (4.5f * Load.Fa + 2f * fb + 0.9f * Load.Fs) + 8f * Load.Fa * fb * Load.Fs);
     fMa = fMb = 0f;
 }
コード例 #3
0
ファイル: CMLoadPart_TRANS_F.cs プロジェクト: 777ondro/sw-en
 void GetMLoadPart_34(CMLoad_34 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_34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_00_0_:
             {
                 GetEIF_00_0__34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_0__00:
             {
                 GetEIF_0__00_34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_0__0_:
             {
                 GetEIF_0__0__34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl_00___:
             {
                 GetEIF_0__00_34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         case Enums.EElemSuppType2D.eEl____00:
             {
                 GetEIF_0__0__34_UV(Load, Member.FLength, out fA, out fB, out fMa, out fMb);
                 return;
             }
         default:
             {
                 // Exception
                 fA = fB = fMa = fMb = 0.0f;
                 return;
             }
     }
 }
コード例 #4
0
ファイル: CMLoadPart_TRANS_F.cs プロジェクト: 777ondro/sw-en
 void GetEIF_00_00_34_UV(CMLoad_34 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) + 8f * Load.Fa * fb * Load.Fs + MathF.Pow2(Load.Fs) * (3f * Load.Fa + 5f * fb + 1.4f * Load.Fs));
     fB = (Load.Fq * Load.Fs / (4f * MathF.Pow3(fL))) * (2f * MathF.Pow2(Load.Fa) * (3f * fL - 2f * Load.Fa) + 4f * Load.Fa * fb * Load.Fs + MathF.Pow2(Load.Fs) * (3f * Load.Fa + fb + 0.6f * Load.Fs));
     fMa = -(Load.Fq * Load.Fs / (60f * MathF.Pow2(fL))) * (10f * MathF.Pow2(fb) * (3f * Load.Fa + Load.Fs) + MathF.Pow2(Load.Fs) * (15f * Load.Fa + 10f * fb + 3f * Load.Fs) + 40f * Load.Fa * fb * Load.Fs);
     fMb = (Load.Fq * Load.Fs / (60f * MathF.Pow2(fL))) * (10f * MathF.Pow2(Load.Fa) * (3f * fb + 2f * Load.Fs) + MathF.Pow2(Load.Fs) * (10f * Load.Fa + 5f * fb + 2f * Load.Fs) + 20f * Load.Fa * fb * Load.Fs);
 }
コード例 #5
0
ファイル: CMLoadPart_AXIAL_F.cs プロジェクト: 777ondro/sw-en
 void GetMLoadPart_34(CMLoad_34 Load, CE_1D_BASE Member, FEM_CALC_BASE.Enums.EElemSuppType2D eMType, out float fA, out float fB)
 {
     // Temporary
     fA = fB = 0.0f;
 }