|
Functions | |
| def | smeshDC::Mesh_Algorithm.ViscousLayers |
| Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary. | |
| def | smeshDC::Mesh_Segment.Propagation |
| Defines "Propagation" hypothesis that propagates all other hypotheses on all other edges that are at the opposite side in case of quadrangular faces. | |
| def | smeshDC::Mesh_Segment.QuadraticMesh |
| Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges. | |
| def smeshDC.Mesh_Segment.Propagation | ( | self | ) | [inherited] |
Defines "Propagation" hypothesis that propagates all other hypotheses on all other edges that are at the opposite side in case of quadrangular faces.
Definition at line 4732 of file smeshDC.py.
| def smeshDC.Mesh_Segment.QuadraticMesh | ( | self | ) | [inherited] |
Defines "QuadraticMesh" hypothesis, forcing construction of quadratic edges.
If the 2D mesher sees that all boundary edges are quadratic, it generates quadratic faces, else it generates linear faces using medium nodes as if they are vertices. The 3D mesher generates quadratic volumes only if all boundary faces are quadratic, else it fails.
Definition at line 4802 of file smeshDC.py.
| def smeshDC.Mesh_Algorithm.ViscousLayers | ( | self, | |
| thickness, | |||
| numberOfLayers, | |||
| stretchFactor, | |||
ignoreFaces = [] |
|||
| ) | [inherited] |
Defines "ViscousLayers" hypothesis to give parameters of layers of prisms to build near mesh boundary.
This hypothesis can be used by several 3D algorithms: NETGEN 3D, GHS3D, Hexahedron(i,j,k)
| thickness | total thickness of layers of prisms |
| numberOfLayers | number of layers of prisms |
| stretchFactor | factor (>1.0) of growth of layer thickness towards inside of mesh |
| ignoreFaces | list of geometrical faces (or their ids) not to generate layers on |
Definition at line 4479 of file smeshDC.py.
04480 : 04481 if not isinstance(self.algo, SMESH._objref_SMESH_3D_Algo): 04482 raise TypeError, "ViscousLayers are supported by 3D algorithms only" 04483 if not "ViscousLayers" in self.GetCompatibleHypothesis(): 04484 raise TypeError, "ViscousLayers are not supported by %s"%self.algo.GetName() 04485 if ignoreFaces and isinstance( ignoreFaces[0], geompyDC.GEOM._objref_GEOM_Object ): 04486 ignoreFaces = [ self.mesh.geompyD.GetSubShapeID(self.mesh.geom, f) for f in ignoreFaces ] 04487 hyp = self.Hypothesis("ViscousLayers", 04488 [thickness, numberOfLayers, stretchFactor, ignoreFaces]) 04489 hyp.SetTotalThickness(thickness) 04490 hyp.SetNumberLayers(numberOfLayers) 04491 hyp.SetStretchFactor(stretchFactor) 04492 hyp.SetIgnoreFaces(ignoreFaces) 04493 return hyp 04494 04495 # Public class: Mesh_Segment 04496 # --------------------------