MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / create_orthotropic

Method create_orthotropic

python/pymesh/material.py:21–33  ·  view source on GitHub ↗

Create an orthotropic material. Args: desnity: Material density. young: Array of Young's modulus, [young_x, young_y, young_z] poisson: Array of Poisson's ratio, [poisson_yz, poisson_zy, poisson_zx, poisson_

(cls, density, young, poisson, shear)

Source from the content-addressed store, hash-verified

19
20 @classmethod
21 def create_orthotropic(cls, density, young, poisson, shear):
22 """ Create an orthotropic material.
23
24 Args:
25 desnity: Material density.
26 young: Array of Young's modulus, [young_x, young_y, young_z]
27 poisson: Array of Poisson's ratio, [poisson_yz, poisson_zy,
28 poisson_zx, poisson_xz,
29 poisson_xy, poisson_yx]
30 shear: Array of Shear modulus, [shear_yz, shear_zx, shear_xy]
31 """
32 return Material(PyMesh.Material.create_orthotropic(
33 density, young, poisson, shear))
34
35 @classmethod
36 def create_element_wise_isotropic(cls, density, mesh,

Callers 1

test_equivalenceMethod · 0.45

Calls 1

MaterialClass · 0.70

Tested by 1

test_equivalenceMethod · 0.36