@@ -334,13 +334,13 @@ def bilinear_form(self):
334334 dx = self .dx
335335 uM , vM = self ._trial , self ._test
336336 aM = \
337- ufl .inner (self .young_modulus_1 (uT_func ) * self .poisson_ratio_1 / ((1 - 2 * self .poisson_ratio_1 ) * (1 + self .poisson_ratio_1 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_1 (uT_func ) / (2 * (1 + self .poisson_ratio_1 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (1 ) + \
338- ufl .inner (self .young_modulus_2 (uT_func ) * self .poisson_ratio_2 / ((1 - 2 * self .poisson_ratio_2 ) * (1 + self .poisson_ratio_2 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_2 (uT_func ) / (2 * (1 + self .poisson_ratio_2 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (2 ) + \
339- ufl .inner (self .young_modulus_3 (uT_func ) * self .poisson_ratio_3 / ((1 - 2 * self .poisson_ratio_3 ) * (1 + self .poisson_ratio_3 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_3 (uT_func ) / (2 * (1 + self .poisson_ratio_3 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (3 ) + \
340- ufl .inner (self .young_modulus_4 (uT_func ) * self .poisson_ratio_4 / ((1 - 2 * self .poisson_ratio_4 ) * (1 + self .poisson_ratio_4 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_4 (uT_func ) / (2 * (1 + self .poisson_ratio_4 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (4 ) + \
341- ufl .inner (self .young_modulus_5 (uT_func ) * self .poisson_ratio_5 / ((1 - 2 * self .poisson_ratio_5 ) * (1 + self .poisson_ratio_5 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_5 (uT_func ) / (2 * (1 + self .poisson_ratio_5 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (5 ) + \
342- ufl .inner (self .young_modulus_6 * self .poisson_ratio_6 / ((1 - 2 * self .poisson_ratio_6 ) * (1 + self .poisson_ratio_6 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_6 / (2 * (1 + self .poisson_ratio_6 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (6 ) + \
343- ufl .inner (self .young_modulus_7 (uT_func ) * self .poisson_ratio_7 / ((1 - 2 * self .poisson_ratio_7 ) * (1 + self .poisson_ratio_7 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_7 (uT_func ) / (2 * (1 + self .poisson_ratio_7 )) * self .epsilon (uM , x ), self .epsilon (vM , x )) * x [0 ] * dx (7 )
337+ ufl .inner (self .young_modulus_1 (uT_func ) * self .poisson_ratio_1 / ((1 - 2 * self .poisson_ratio_1 ) * (1 + self .poisson_ratio_1 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_1 (uT_func ) / (2 * (1 + self .poisson_ratio_1 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (1 ) + \
338+ ufl .inner (self .young_modulus_2 (uT_func ) * self .poisson_ratio_2 / ((1 - 2 * self .poisson_ratio_2 ) * (1 + self .poisson_ratio_2 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_2 (uT_func ) / (2 * (1 + self .poisson_ratio_2 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (2 ) + \
339+ ufl .inner (self .young_modulus_3 (uT_func ) * self .poisson_ratio_3 / ((1 - 2 * self .poisson_ratio_3 ) * (1 + self .poisson_ratio_3 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_3 (uT_func ) / (2 * (1 + self .poisson_ratio_3 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (3 ) + \
340+ ufl .inner (self .young_modulus_4 (uT_func ) * self .poisson_ratio_4 / ((1 - 2 * self .poisson_ratio_4 ) * (1 + self .poisson_ratio_4 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_4 (uT_func ) / (2 * (1 + self .poisson_ratio_4 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (4 ) + \
341+ ufl .inner (self .young_modulus_5 (uT_func ) * self .poisson_ratio_5 / ((1 - 2 * self .poisson_ratio_5 ) * (1 + self .poisson_ratio_5 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_5 (uT_func ) / (2 * (1 + self .poisson_ratio_5 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (5 ) + \
342+ ufl .inner (self .young_modulus_6 * self .poisson_ratio_6 / ((1 - 2 * self .poisson_ratio_6 ) * (1 + self .poisson_ratio_6 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_6 / (2 * (1 + self .poisson_ratio_6 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (6 ) + \
343+ ufl .inner (self .young_modulus_7 (uT_func ) * self .poisson_ratio_7 / ((1 - 2 * self .poisson_ratio_7 ) * (1 + self .poisson_ratio_7 )) * (uM [0 ].dx (0 ) + uM [1 ].dx (1 ) + uM [0 ]/ x [0 ]) * ufl .Identity (3 ) + 2 * self .young_modulus_7 (uT_func ) / (2 * (1 + self .poisson_ratio_7 )) * self .epsilon (uM ), self .epsilon (vM )) * x [0 ] * dx (7 )
344344 return dolfinx .fem .form (aM )
345345
346346 @property
0 commit comments