def setUp(self): self.hist0 = np.zeros((7, )) self.E = 92000.0 self.nu = 0.3 self.mu = self.E / (2 * (1 + self.nu)) self.K = self.E / (3 * (1 - 2 * self.nu)) self.s0 = 180.0 self.R = 150.0 self.d = 10.0 self.elastic = elasticity.IsotropicLinearElasticModel( self.mu, "shear", self.K, "bulk") surface = surfaces.IsoJ2() hrule = hardening.VoceIsotropicHardeningRule(self.s0, self.R, self.d) flow = ri_flow.RateIndependentAssociativeFlow(surface, hrule) self.model = models.SmallStrainRateIndependentPlasticity( self.elastic, flow, check_kt=False) self.efinal = np.array([0.1, -0.05, 0.02, -0.03, 0.1, -0.15]) self.tfinal = 10.0 self.T = 300.0 self.nsteps = 10
def setUp(self): self.n = 12.0 self.K = 150.0 self.k = 6.0 self.C = 24800.0 self.g0 = 300.0 self.Q = 86 - self.k self.gs = 300.0 self.b = 10.0 self.beta = 0.0 self.surface = surfaces.IsoKinJ2() self.iso = hardening.VoceIsotropicHardeningRule(self.k, self.Q, self.b) cs = [self.C] gs = [hardening.SatGamma(self.gs, self.g0, self.beta)] As = [0.0] ns = [1.0] self.hardening = hardening.Chaboche(self.iso, cs, gs, As, ns) self.fluidity = visco_flow.ConstantFluidity(self.K) self.model = visco_flow.ChabocheFlowRule(self.surface, self.hardening, self.fluidity, self.n) self.hist0 = np.zeros((7, )) self.T = 300.0
def verify_Q(): E = 30000.0 nu = 0.3 sy = 100.0 Q = 50.0 b = 100.0 C = 0.0 g = 0.0 mu = E / (2 * (1.0 + nu)) K = E / (3 * (1 - 2 * nu)) elastic = elasticity.IsotropicLinearElasticModel(mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sy, Q, b) gmodels = [hardening.ConstantGamma(g)] hrule = hardening.Chaboche(iso, [C], gmodels, [0.0], [1.0]) flow = ri_flow.RateIndependentNonAssociativeHardening(surface, hrule) model = models.SmallStrainRateIndependentPlasticity(elastic, flow, verbose=False) res = drivers.uniaxial_test(model, 1.0e-2, emax=0.2) stress = res['stress'] print("Q: %f / %f" % (Q, stress[-1] - sy))
def setUp(self): n = 20.0 eta = 108.0 sY = 89.0 Q = 165.0 b = 12.0 self.m = 3 C1 = 80.0e3 C2 = 14.02e3 C3 = 3.333e3 y1 = 0.9e3 y2 = 1.5e3 y3 = 1.0 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1, C2, C3] gs = [y1, y2, y3] gmodels = [hardening.ConstantGamma(g) for g in gs] A = [0.0, 0.0, 0.0] ae = [1.0, 1.0, 1.0] hmodel = hardening.Chaboche(iso, cs, gmodels, A, ae) fluidity = visco_flow.ConstantFluidity(eta) self.hist0 = np.zeros((19, )) self.T = 300.0 self.model = visco_flow.ChabocheFlowRule(surface, hmodel, fluidity, n)
def setUp(self): self.hist0 = np.zeros((7, )) self.hist0 = np.zeros((7, )) self.E = 92000.0 self.nu = 0.3 self.mu = self.E / (2 * (1 + self.nu)) self.K = self.E / (3 * (1 - 2 * self.nu)) self.s0 = 180.0 self.R = 150.0 self.d = 10.0 self.n = 2.0 self.eta = 200.0 self.elastic = elasticity.IsotropicLinearElasticModel( self.mu, "shear", self.K, "bulk") surface = surfaces.IsoJ2() hrule = hardening.VoceIsotropicHardeningRule(self.s0, self.R, self.d) g = visco_flow.GPowerLaw(self.n, self.eta) vmodel = visco_flow.PerzynaFlowRule(surface, hrule, g) flow = general_flow.TVPFlowRule(self.elastic, vmodel) self.model = models.GeneralIntegrator(self.elastic, flow) self.efinal = np.array([0.05, 0, 0, 0.02, 0, -0.01]) self.tfinal = 10.0 self.T = 300.0 self.nsteps = 100
def setUp(self): self.model1 = parse.parse_xml("test/examples.xml", "test_j2comb") mu = 40000.0 K = 84000.0 ys = 100.0 r = 100.0 d = 1000.0 KH = 1000.0 elastic = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(ys, r, d) kin = hardening.LinearKinematicHardeningRule(KH) hrule = hardening.CombinedHardeningRule(iso, kin) flow = ri_flow.RateIndependentAssociativeFlow(surface, hrule) self.model2 = models.SmallStrainRateIndependentPlasticity( elastic, flow) self.T = 300.0 self.tmax = 10.0 self.nsteps = 100.0 self.emax = np.array([0.1, 0, 0, 0, 0, 0])
def setUp(self): self.model1 = parse.parse_xml("test/examples.xml", "test_j2isocomb") E = 150000.0 nu = 0.3 ys = 100.0 H = 100.0 r = 100.0 d = 1000.0 elastic = elasticity.IsotropicLinearElasticModel( E, "youngs", nu, "poissons") surface = surfaces.IsoJ2() hrule1 = hardening.LinearIsotropicHardeningRule(ys, H) hrule2 = hardening.VoceIsotropicHardeningRule(0.0, r, d) hrule = hardening.CombinedIsotropicHardeningRule([hrule1, hrule2]) flow = ri_flow.RateIndependentAssociativeFlow(surface, hrule) self.model2 = models.SmallStrainRateIndependentPlasticity( elastic, flow) self.T = 300.0 self.tmax = 10.0 self.nsteps = 100.0 self.emax = np.array([0.1, 0, 0, 0, 0, 0])
def setUp(self): self.model1 = parse.parse_xml("test/examples.xml", "test_nonassri") mu = 40000.0 K = 84000.0 ys = 100.0 r = 100.0 d = 1000.0 cs = [5.0, 10.0] gs = [1000.0, 1000.0] As = [0.0, 0.0] ns = [1.0, 1.0] elastic = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(ys, r, d) gammas = [hardening.ConstantGamma(g) for g in gs] hmodel = hardening.Chaboche(iso, cs, gammas, As, ns) flow = ri_flow.RateIndependentNonAssociativeHardening(surface, hmodel) self.model2 = models.SmallStrainRateIndependentPlasticity( elastic, flow) self.T = 300.0 self.tmax = 10.0 self.nsteps = 100 self.emax = np.array([0.05, 0, 0, 0, 0, 0])
def setUp(self): self.model1 = parse.parse_xml("test/examples.xml", "test_perzyna") mu = 40000.0 K = 84000.0 elastic = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") sy = 100.0 r = 100.0 d = 1000.0 KK = 1000.0 n = 5.0 eta = 500.0 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sy, r, d) kin = hardening.LinearKinematicHardeningRule(KK) hmodel = hardening.CombinedHardeningRule(iso, kin) gmodel = visco_flow.GPowerLaw(n, eta) vmodel = visco_flow.PerzynaFlowRule(surface, hmodel, gmodel) flow = general_flow.TVPFlowRule(elastic, vmodel) self.model2 = models.GeneralIntegrator(elastic, flow) self.T = 550.0 + 273.15 self.tmax = 10.0 self.nsteps = 100.0 self.emax = np.array([0.1, 0, 0, 0, 0, 0])
def verify_warp3d(): E = 30000.0 nu = 0.3 sy = 100.0 Q = 50.0 b = 100.0 C = 1000.0 g = 10.0 mu = E / (2 * (1.0 + nu)) K = E / (3 * (1 - 2 * nu)) elastic = elasticity.IsotropicLinearElasticModel(mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sy, Q, b) hrule = hardening.Chaboche(iso, [C], [hardening.ConstantGamma(g)], [0.0], [1.0]) flow = ri_flow.RateIndependentNonAssociativeHardening(surface, hrule) model = models.SmallStrainRateIndependentPlasticity(elastic, flow, verbose=False) res = drivers.strain_cyclic(model, 0.0075, -1.0, 1.0e-4, 50) strain = res['strain'] stress = res['stress'] data_warp = np.load('data_fa_warp.npy') plt.plot(strain, stress, 'k-') plt.plot(data_warp[0], data_warp[1], 'r-') plt.show()
def verify_Cg(): E = 30000.0 nu = 0.3 sy = 100.0 Q = 0.0 b = 0.0 C = 1000.0 g = 10.0 mu = E / (2 * (1.0 + nu)) K = E / (3 * (1 - 2 * nu)) elastic = elasticity.IsotropicLinearElasticModel(mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sy, Q, b) hrule = hardening.Chaboche(iso, [C], [hardening.ConstantGamma(g)], [0.0], [1.0]) flow = ri_flow.RateIndependentNonAssociativeHardening(surface, hrule) model = models.SmallStrainRateIndependentPlasticity(elastic, flow, verbose=False) res = drivers.strain_cyclic(model, 0.4, -1.0, 1.0e-4, 1) strain = res['strain'] stress = res['stress'] mv = np.max(np.abs(stress)) hu = mv - sy print("C/y: %f / %f" % ((C / g), hu))
def setUp(self): n = 20.0 eta = 108.0 sY = 89.0 Q = 165.0 b = 12.0 self.m = 3 C1 = 80.0e3 C2 = 14.02e3 C3 = 3.333e3 y1 = 0.9e3 y2 = 1.5e3 y3 = 1.0 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1, C2, C3] gs = [y1, y2, y3] As = [0.0, 0.0, 0.0] ns = [1.0, 1.0, 1.0] gmodels = [hardening.ConstantGamma(g) for g in gs] hmodel = hardening.Chaboche(iso, cs, gmodels, As, ns) fluidity = visco_flow.ConstantFluidity(eta) self.hist0 = np.zeros((19, )) self.T = 300.0 vmodel = visco_flow.ChabocheFlowRule(surface, hmodel, fluidity, n) E = 92000.0 nu = 0.3 mu = E / (2 * (1 + nu)) K = E / (3 * (1 - 2 * nu)) self.elastic = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") flow = general_flow.TVPFlowRule(self.elastic, vmodel) self.model = models.GeneralIntegrator(self.elastic, flow, max_divide=3, force_divide=True) self.efinal = np.array([0.05, 0, 0, 0.02, 0, -0.01]) self.tfinal = 10.0 self.T = 300.0 self.nsteps = 100
def setUp(self): self.s0 = 200.0 self.R = 100.0 self.d = 10.0 self.hist0 = np.array([0.0]) self.hist_trial = np.abs([0.25]) self.T = 300.0 self.model = hardening.VoceIsotropicHardeningRule(self.s0, self.R, self.d)
def setUp(self): n = 20.0 eta = 108.0 sY = 89.0 Q = 165.0 b = 12.0 self.m = 3 C1 = 80.0e3 C2 = 14.02e3 C3 = 3.333e3 y1 = 0.9e3 y2 = 1.5e3 y3 = 1.0 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1, C2, C3] gs = [y1, y2, y3] As = [0.0, 0.0, 0.0] ns = [1.0, 1.0, 1.0] gmodels = [hardening.ConstantGamma(g) for g in gs] hmodel = hardening.Chaboche(iso, cs, gmodels, As, ns) fluidity = visco_flow.ConstantFluidity(eta) self.vmodel = visco_flow.ChabocheFlowRule(surface, hmodel, fluidity, n) E = 92000.0 nu = 0.3 mu = E / (2 * (1 + nu)) K = E / (3 * (1 - 2 * nu)) self.emodel = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") self.model = general_flow.TVPFlowRule(self.emodel, self.vmodel) self.T_n = 300.0 self.e_n = np.zeros((6, )) self.t_n = 0.0 self.h_n = np.zeros((1 + 6 * self.m, ))
def setUp(self): self.s0 = 180.0 self.R = 150.0 self.d = 10.0 self.n = 5.0 self.eta = 20.0 self.surface = surfaces.IsoJ2() self.hrule = hardening.VoceIsotropicHardeningRule( self.s0, self.R, self.d) self.g = visco_flow.GPowerLaw(self.n, self.eta) self.model = visco_flow.PerzynaFlowRule(self.surface, self.hrule, self.g) self.hist0 = np.zeros((1, )) self.T = 300.0
def setUp(self): self.s0 = 200.0 self.K = 1000.0 self.hist0 = np.array([0.0]) self.hist_trial = np.array([0.1]) self.T = 300.0 self.model1 = hardening.LinearIsotropicHardeningRule(self.s0, self.K) self.s0 = 200.0 self.R = 100.0 self.d = 10.0 self.model2 = hardening.VoceIsotropicHardeningRule(self.s0, self.R, self.d) self.model = hardening.CombinedIsotropicHardeningRule([self.model1, self.model2])
def setUp(self): self.n = 20.0 self.eta = 108.0 self.sY = 89.0 self.prefactor = np.asarray([2.]) self.prefactor = 2. self.Q = 165.0 self.b = 12.0 self.m = 3 C1 = 80.0e3 C2 = 14.02e3 C3 = 3.333e3 y1 = 0.9e3 y2 = 1.5e3 y3 = 1.0 surface = surfaces.IsoKinJ2() self.iso = hardening.VoceIsotropicHardeningRule( self.sY, self.Q, self.b) self.cs = [C1, C2, C3] self.gs = [y1, y2, y3] self.As = [0.0, 0.0, 0.0] self.ns = [1.0, 1.0, 1.0] self.gmodels = [hardening.ConstantGamma(g) for g in self.gs] self.hmodel = hardening.Chaboche(self.iso, self.cs, self.gmodels, self.As, self.ns) self.fluidity = visco_flow.ConstantFluidity(self.eta) self.hist0 = np.zeros((19, )) self.T = 300.0 self.model = visco_flow.ChabocheFlowRule(surface, self.hmodel, self.fluidity, self.n, prefactor=self.prefactor)
def test_rd(self): s0 = 10.0 R = 150.0 d = 10.0 n = 3.0 eta = 200.0 surface = surfaces.IsoJ2() hrule = hardening.VoceIsotropicHardeningRule(s0, R, d) g = visco_flow.GPowerLaw(n, eta) vmodel = visco_flow.PerzynaFlowRule(surface, hrule, g) flow = general_flow.TVPFlowRule(self.elastic1, vmodel) model = models.GeneralIntegrator(self.elastic1, flow) self.very_close(model, self.emodel1) model.set_elastic_model(self.elastic2) self.very_close(model, self.emodel2)
def setUp(self): self.model1 = parse.parse_xml(localize("examples.xml"), "test_rd_chaboche") mu = 60384.61 K = 130833.3 elastic = elasticity.IsotropicLinearElasticModel( mu, "shear", K, "bulk") r = -80.0 d = 3.0 Cs = [135.0e3, 61.0e3, 11.0e3] gs = [5.0e4, 1100.0, 1.0] As = [0.0, 0.0, 0.0] ns = [1.0, 1.0, 1.0] gmodels = [hardening.ConstantGamma(g) for g in gs] eta = 701.0 n = 10.5 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(0.0, r, d) hmodel = hardening.Chaboche(iso, Cs, gmodels, As, ns) fluidity = visco_flow.ConstantFluidity(eta) vmodel = visco_flow.ChabocheFlowRule(surface, hmodel, fluidity, n) flow = general_flow.TVPFlowRule(elastic, vmodel) self.model2 = models.GeneralIntegrator(elastic, flow) self.T = 550.0 + 273.15 self.tmax = 10.0 self.nsteps = 100 self.emax = np.array([0.1, 0, 0, 0, 0, 0])
def koo(): # Data from Koo & Kwon (2011) E = 157.0e3 nu = 0.27 sY = 0.0 b = 3.0 Q = -80.0 C1 = 135.0e3 C2 = 123.0e3 C3 = 4.0e3 g1 = 100e3 g2 = 0.85e3 g3 = 1.0 eta = 701.0 n = 10.5 mu = E / (2 * (1.0 + nu)) K = E / (3 * (1 - 2 * nu)) elastic = elasticity.IsotropicLinearElasticModel(mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1, C2, C3] gs = [hardening.ConstantGamma(g1), hardening.ConstantGamma(g2), hardening.ConstantGamma(g3)] hmodel = hardening.Chaboche(iso, cs, gs, [0.0]*len(cs), [1.0]*len(cs)) fluidity = visco_flow.ConstantFluidity(eta) vmodel = visco_flow.ChabocheFlowRule( surface, hmodel, fluidity, n) flow = general_flow.TVPFlowRule(elastic, vmodel) model = models.GeneralIntegrator(elastic, flow) e500 = np.array([0.0058793164, 0.0052876081, 0.004710156, 0.0042916722, 0.0038731605, 0.0032237573, 0.0027900399, 0.0024864991, 0.0017489338, 0.000635346, -0.0006668255, -0.0017811254, -0.0034891722, -0.0044012326, -0.0059358454, -0.005661599, -0.0051996206, -0.0048027165, -0.0044347716, -0.0039945684, -0.0034388636, -0.0032440594, -0.0026585856, -0.002036857, -0.001161945, -0.0003736313, 0.0008344368, 0.0022454705, 0.0035554683, 0.0052854997]) s500 = np.array([349.6965238343, 255.0932943767, 171.2928564634, 102.3697757811, 34.7967386021, -70.6166129529, -103.0909625627, -128.7931029969, -172.1191145041, -237.1093535238, -285.2558144812, -315.8199441656, -342.4341275638, -350.0133084444, -361.0726693423, -319.1748939033, -252.9445696747, -190.7753717856, -128.6110609317, -59.6843149729, 25.4625011672, 57.8965327357, 103.8969743143, 147.2034376803, 200.6779888803, 240.6374439409, 288.0930002819, 323.4323743399, 343.229143486, 357.0215788789]) res = drivers.strain_cyclic(model, 0.006, -1.0, 1.0e-4, 130, verbose = False, nsteps = 50) plt.plot(res['strain'][-100:], res['stress'][-100:], 'k-') plt.plot(e500, s500, 'kx') plt.xlabel("Strain (-/-)") plt.ylabel("Stress (MPa)") plt.show() n500 = np.array([1.8000456006, 7.2646606231, 17.3775914892, 25.6289731945, 35.040864809, 43.9864865417, 54.6731673353, 69.3076477381, 83.9405590891, 98.1077889527, 112.0424068927, 126.7891398736]) ns500 = sn500 = np.array([437.8476941068, 428.2481618804, 413.6055992266, 403.8518586317, 394.8643791744, 388.2393032756, 382.3835530687, 376.4641827161, 372.5718311079, 370.2817510291, 368.4971998147, 367.5615301197]) plt.plot(res['cycles'], res['max'], 'k-') plt.plot(n500, ns500, 'kx') plt.xlabel("Cycle") plt.ylabel("Stress (MPa)") plt.show()
def uniaxial(): # Data from "Numerical modeling of elasto-viscoplastic Chaboche constitutive..." # by A. Ambroziak E = 159000.0 nu = 0.3 k = 514.21 b = 60.0 R1 = -194.39 a = 170000.0 c = 500.0 n = 4.0 eta = 1023.5 # Translate Q = R1 b = b C1 = a g1 = c eta = eta sY = k mu = E / (2 * (1.0 + nu)) K = E / (3 * (1 - 2 * nu)) elastic = elasticity.IsotropicLinearElasticModel(mu, "shear", K, "bulk") surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1] gs = [hardening.ConstantGamma(g1)] hmodel = hardening.Chaboche(iso, cs, gs, [0.0], [1.0]) fluidity = visco_flow.ConstantFluidity(eta) vmodel = visco_flow.ChabocheFlowRule( surface, hmodel, fluidity, n) flow = general_flow.TVPFlowRule(elastic, vmodel) model = models.GeneralIntegrator(elastic, flow) erates = [1.0e-7, 1.0e-2, 1.0e-1] e_7 = np.array([1.03E-007, 0.000977076, 0.0019927018, 0.0029695719, 0.0038278073, 0.0048024128, 0.0058155682, 0.0068186871, 0.0078116926, 0.0088238185, 0.0098260368, 0.0108280492, 0.0118396862, 0.0128318167, 0.0138433765, 0.0148451316, 0.0158469381, 0.0168487447, 0.017840798, 0.0188523063, 0.019844411]) s_7 = np.array([1.9738128815, 164.2845378653, 316.6592895303, 475.0018013938, 559.9786920852, 631.0205153016, 688.1581520788, 733.3950096246, 763.7549280987, 781.2104336727, 791.7254264156, 794.3039929179, 792.9104861704, 789.5405931218, 785.170926534, 777.8289602355, 772.4711004972, 767.1132407589, 760.7671878699, 754.413414722, 750.0514683933]) e_2 = np.array([-1.94E-005, 0.000976973, 0.0019830515, 0.0029890784, 0.0037900553, 0.0048443338, 0.0058197114, 0.0068040701, 0.0078172512, 0.0088300977, 0.0098231803, 0.0108257074, 0.0118377047, 0.0128397943, 0.0138612103, 0.0148630941, 0.0158551988, 0.0168667329, 0.017878267, 0.0188703202, 0.0198623735]) s_2 = np.array([-0.0025734197, 160.316324745, 319.6393095, 476.9781876949, 604.6365302068, 747.075308553, 847.8787301718, 919.9087465388, 978.0384365961, 1023.2714340124, 1056.6075123267, 1079.0271444306, 1091.5223836042, 1097.0771099468, 1097.66384963, 1095.2821497319, 1090.9202034031, 1085.5584835353, 1080.1967636674, 1073.8507107785, 1067.5046578896]) e_1 = np.array([-1.93E-005, 0.0009672712, 0.0019928047, 0.0029793251, 0.0037900295, 0.0047863804, 0.0058017489, 0.0068163453, 0.0078302727, 0.0088243075, 0.0098374371, 0.0108404531, 0.0118432376, 0.0128554407, 0.0138577362, 0.014850124, 0.01587154, 0.0168734495, 0.0178753075, 0.0188770883, 0.0198789206]) s_1 = np.array([2.9735864206, 161.3122381546, 320.6275026506, 475.9899945444, 603.6444769267, 762.9713218113, 905.4255406755, 1018.1181611373, 1105.0173963169, 1175.0594459942, 1231.2050294914, 1272.4736739169, 1304.8138388216, 1325.2455042359, 1338.7366568191, 1345.2872965712, 1345.8740362543, 1344.4843896363, 1341.1106364582, 1334.7607234397, 1330.3949169815]) plt.plot(e_7, s_7, 'kx') plt.plot(e_2, s_2, 'rx') plt.plot(e_1, s_1, 'bx') res = drivers.uniaxial_test(model, erates[0], emax = 0.02) plt.plot(res['strain'], res['stress'], 'k-') res = drivers.uniaxial_test(model, erates[1], emax = 0.02) plt.plot(res['strain'], res['stress'], 'r-') res = drivers.uniaxial_test(model, erates[2], emax = 0.02) plt.plot(res['strain'], res['stress'], 'b-') plt.xlim([0,0.02]) plt.ylim([0,1500]) plt.show()
eta = 108.0 sY = 89.0 Q = 165.0 b = 12.0 C1 = 80.0e3 C2 = 14.02e3 C3 = 3.333e3 y1 = 0.9e3 y2 = 1.5e3 y3 = 1.0 surface = surfaces.IsoKinJ2() iso = hardening.VoceIsotropicHardeningRule(sY, Q, b) cs = [C1, C2, C3] gs = np.array([y1, y2, y3]) gmodels = [hardening.ConstantGamma(g) for g in gs] hmodel = hardening.Chaboche(iso, cs, gmodels, [0.0] * len(cs), [1.0] * len(cs)) fluidity = visco_flow.ConstantFluidity(eta) vmodel = visco_flow.ChabocheFlowRule(surface, hmodel, fluidity, n) E = 92000.0 nu = 0.3 mu = E / (2 * (1 + nu)) K = E / (3 * (1 - 2 * nu))