def testE3_08(self): self.ConFem8 = ConFem.ConFem() Name = "../DataExamples/E05/E3-08" # ConFem Cantilever column 2nd order self.assertEqual( ConFem.ConFem().Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '4ab6ed350251fd7b3aed1b6b9b9f86fd')
def testE3_09(self): self.ConFem9 = ConFem.ConFem() Name = "../DataExamples/E05/E3-09" # ConFem Reinforced concrete beam under impact load self.assertEqual( self.ConFem9.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '569ff8cbb5f74d1dd1a8f22fda75910f')
def testBond_0(self): Name = "../_DataDiv/bond_T2" # self.assertEqual( ConFem.ConFem().Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '08d35cf7391e72910d1f571a03e4e396') """
def testE3_06(self): self.ConFem8 = ConFem.ConFem() Name = "../DataExamples/E05/E3-06" # ConFem Prestressed reinforced concrete beam self.assertEqual( self.ConFem8.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), 'c658cdca0287b74c2995076abf414928')
def testE3_03(self): self.ConFem6 = ConFem.ConFem() Name = "../DataExamples/E05/E3-03" # Confem Creep deformations of reinforced concrete beam self.assertEqual( self.ConFem6.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '1e1940cca56828340d6b96dd1c974410')
def testE3_04(self): self.ConFem7 = ConFem.ConFem() Name = "../DataExamples/E05/E3-04" # ConFem Temperature actions on reinforced concrete beam self.assertEqual( self.ConFem7.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '1a9e818d1aa011587d134afd9c5ded71')
def testE2_02C2(self): self.ConFem2 = ConFem.ConFem() Name = "../DataExamples/E04/E2-02C2" # ConFem Tensile bar with creep - case 2 imposed immediate strain self.assertEqual( self.ConFem2.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '5932183a73b76a483ae3dba637e23d78')
def testE3_02(self): self.ConFem5 = ConFem.ConFem() Name = "../DataExamples/E05/E3-02" # ConFem Simple reinforced concrete beam self.assertEqual( self.ConFem5.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '7312a6a326144433e5d3e6e6dae9c743')
def testE2_02C3(self): self.ConFem3 = ConFem.ConFem() Name = "../DataExamples/E04/E2-02C3" # ConFem Tensile bar with creep - case 3 gradually imposed strain self.assertEqual( self.ConFem3.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), 'e678d8c60aff5d46409356c4487bdac5')
def testE8_02a(self): Name = "../DataExamples/E10/E8-01a" # ConFem Slab as RC shell self.assertEqual( ConFem.ConFem().Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), 'fc78ec9e2e8c8aa70473ee69e5439acd') """
def testE2_02C1(self): self.ConFem1 = ConFem.ConFem() Name = "../DataExamples/E04/E2-02C1" # ConFem Tensile bar with creep - case 1 imposed immediate stress self.assertEqual( self.ConFem1.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '380ad4e7c0c84ddd56e0bbecec55ce9b')
def testE4_01(self): self.ConFem11 = ConFem.ConFem() Name = "../DataExamples/E06/E4-01" # ConFem Deep Beam as strut and tie model nonlinear arc length self.assertEqual( self.ConFem11.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), 'b3656161e69a6cf6d4738fe086ee427f')
def testE4_01plate(self): self.ConFem10 = ConFem.ConFem() Name = "../DataExamples/E06/E4-01plate" # ConFem Deep Beam as linear elastic plate self.assertEqual( self.ConFem10.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), 'a9960234fbe52304f62a2836eb0144f2')
def testE2_04(self): self.ConFem4 = ConFem.ConFem() Name = "../DataExamples/E04/E2-04" # ConFem Simple reinforced concrete tension bar self.assertEqual( self.ConFem4.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '233acb7630a361fdab6007e1bf042176') """
def setUp(self): """ set up data used in the tests. setUp is called before each test function execution. """ self.ConFem_ = ConFem.ConFem() self.ConSimFem_ = ConSimFem.ConSimFem() self.NameLog = "../_DataBeams/tmp"
def testE7_04(self): self.ConFem13 = ConFem.ConFem() Name = "../DataExamples/E09/E7-04" # ConFem Slab nonlinear self.assertEqual( self.ConFem13.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '9dff98e3f77236dbea65d97922e33800') """
def testE4_02u03(self): self.ConFem12 = ConFem.ConFem() Name = "../DataExamples/E06/E4-02u03" # ConFem Corbel as strut and tie nonlinear arc length 2s self.assertEqual( self.ConFem12.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '01be4c0f4d437661412487820dd9eb1c') """
def testE3_10(self): self.ConFem10 = ConFem.ConFem() Name = "../DataExamples/E05/E3-02_CircMises" # ConFem circ cross section with mises plasticity self.assertEqual( self.ConFem10.Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '6c8e30864c73edefcb47f7ac893df0c1') """
''' import ConFem import ConSimFem import ConPlaD import ConSimplex import ConPostPlot X = str(input('ConFem 0, SimFem 1, ConPlaD 2, ConSim 3, PostFem 4: ')) Name=str(input('Filename without extension: ')) PlotS=str(input('Post-Plots (y/n), default no: ')) if len(PlotS)>0 and PlotS.upper()[0]=='Y': PlotF = True else: PlotF = False if X=='0': LogName="../DataExamples/tmp" # to log temporary data ConFem_ = ConFem.ConFem() ConFem_.Run(Name, LogName, PlotF, True, False, "elemout", [None, None], [], []) elif X=='1': SimFem_ = ConSimFem.ConSimFem() SimFem_.Run(Name, True, True, "elemout") elif X=='2': ConPlaD_ = ConPlaD.ConPlaD() ElSet = str(input('Element Set ("EL1"): ')) if ElSet.strip()=='': ElSet="EL1" Tim = float(input('Time (no default try 1.0): ')) Tim = "%8.4f"%(Tim) Mat = str(input('Material Name (MAT1): ')) if Mat.strip()=='': Mat="MAT1" Type = str(input('plate/slab: ')) ConPlaD_.Run(Name, ElSet,Tim,Mat, True, Type) elif X=='3':
def testSpec_0(self): Name = "../_DataSpecimen/One3D/WillamsTest" # microplane with crack band # self.assertEqual( ConFem.ConFem().Run(Name, self.NameLog, False, LinAlgFlag, False, "elemout", None, None, [], False), '8a13f8de5850d23436a106e65bb41ef1')