|
Functions | |
| def | smeshDC::Mesh_Triangle.SetPhysicalMesh |
| Sets a way to define size of mesh elements to generate. | |
| def | smeshDC::Mesh_Triangle.SetPhySize |
| Sets size of mesh elements to generate. | |
| def | smeshDC::Mesh_Triangle.SetPhyMin |
| Sets lower boundary of mesh element size (PhySize). | |
| def | smeshDC::Mesh_Triangle.SetPhyMax |
| Sets upper boundary of mesh element size (PhySize). | |
| def | smeshDC::Mesh_Triangle.SetGeometricMesh |
| Sets a way to define maximum angular deflection of mesh from CAD model. | |
| def | smeshDC::Mesh_Triangle.SetAngleMeshS |
| Sets angular deflection (in degrees) of a mesh face from CAD surface. | |
| def | smeshDC::Mesh_Triangle.SetAngleMeshC |
| Sets angular deflection (in degrees) of a mesh edge from CAD curve. | |
| def | smeshDC::Mesh_Triangle.SetGeoMin |
| Sets lower boundary of mesh element size computed to respect angular deflection. | |
| def | smeshDC::Mesh_Triangle.SetGeoMax |
| Sets upper boundary of mesh element size computed to respect angular deflection. | |
| def | smeshDC::Mesh_Triangle.SetGradation |
| Sets maximal allowed ratio between the lengths of two adjacent edges. | |
| def | smeshDC::Mesh_Triangle.SetTopology |
| Sets topology usage way. | |
| def | smeshDC::Mesh_Triangle.SetDecimesh |
| To respect geometrical edges or not. | |
| def | smeshDC::Mesh_Triangle.SetVerbosity |
| Sets verbosity level in the range 0 to 100. | |
| def | smeshDC::Mesh_Triangle.SetOptionValue |
| Sets advanced option value. | |
| def | smeshDC::Mesh_Triangle.SetAttractorGeom |
| Sets an attractor on the chosen face. | |
| def | smeshDC::Mesh_Triangle.UnsetAttractorGeom |
| Unsets an attractor on the chosen face. | |
| def | smeshDC::Mesh_Triangle.SetQuadAllowed |
| Sets QuadAllowed flag. | |
| def smeshDC.Mesh_Triangle.SetAngleMeshC | ( | self, | |
theVal = _angleMeshS |
|||
| ) | [inherited] |
Sets angular deflection (in degrees) of a mesh edge from CAD curve.
Definition at line 4965 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetAngleMeshS | ( | self, | |
theVal = _angleMeshS |
|||
| ) | [inherited] |
Sets angular deflection (in degrees) of a mesh face from CAD surface.
Definition at line 4958 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetAttractorGeom | ( | self, | |
| theFace, | |||
| theAttractor, | |||
| theStartSize, | |||
| theEndSize, | |||
| theInfluenceDistance, | |||
| theConstantSizeDistance | |||
| ) | [inherited] |
Sets an attractor on the chosen face.
The mesh size will decrease exponentially with the distance from theAttractor, following the rule h(d) = theEndSize - (theEndSize - theStartSize) * exp [ - ( d / theInfluenceDistance ) ^ 2 ]
| theFace | : face on which the attractor will be defined |
| theAttractor | : geometrical object from which the mesh size "h" decreases exponentially |
| theStartSize | : mesh size on theAttractor |
| theEndSize | : maximum size that will be reached on theFace |
| theInfluenceDistance | : influence of the attractor ( the size grow slower on theFace if it's high) |
| theConstantSizeDistance | : distance until which the mesh size will be kept constant on theFace |
Definition at line 5024 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetDecimesh | ( | self, | |
toIgnoreEdges = False |
|||
| ) | [inherited] |
To respect geometrical edges or not.
Definition at line 5000 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetGeoMax | ( | self, | |
theVal = -1 |
|||
| ) | [inherited] |
Sets upper boundary of mesh element size computed to respect angular deflection.
Definition at line 4978 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetGeometricMesh | ( | self, | |
theGeometricMesh = 0 |
|||
| ) | [inherited] |
Sets a way to define maximum angular deflection of mesh from CAD model.
| theGeometricMesh | is: 0 (None) or 1 (Custom) |
Definition at line 4951 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetGeoMin | ( | self, | |
theVal = -1 |
|||
| ) | [inherited] |
Sets lower boundary of mesh element size computed to respect angular deflection.
Definition at line 4972 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetGradation | ( | self, | |
theVal = _gradation |
|||
| ) | [inherited] |
Sets maximal allowed ratio between the lengths of two adjacent edges.
Definition at line 4984 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetOptionValue | ( | self, | |
| optionName, | |||
| level | |||
| ) | [inherited] |
Sets advanced option value.
Definition at line 5012 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetPhyMax | ( | self, | |
theVal = -1 |
|||
| ) | [inherited] |
Sets upper boundary of mesh element size (PhySize).
Definition at line 4944 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetPhyMin | ( | self, | |
theVal = -1 |
|||
| ) | [inherited] |
Sets lower boundary of mesh element size (PhySize).
Definition at line 4938 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetPhysicalMesh | ( | self, | |
thePhysicalMesh = DefaultSize |
|||
| ) | [inherited] |
Sets a way to define size of mesh elements to generate.
| thePhysicalMesh | is: DefaultSize or Custom. |
Definition at line 4925 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetPhySize | ( | self, | |
| theVal | |||
| ) | [inherited] |
Sets size of mesh elements to generate.
Definition at line 4931 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetQuadAllowed | ( | self, | |
toAllow = True |
|||
| ) | [inherited] |
Sets QuadAllowed flag.
Only for algoType == NETGEN(NETGEN_1D2D) || NETGEN_2D || BLSURF
Definition at line 5041 of file smeshDC.py.
05042 : 05043 if self.algoType == NETGEN_2D: 05044 if not self.params: 05045 # use simple hyps 05046 hasSimpleHyps = False 05047 simpleHyps = ["QuadranglePreference","LengthFromEdges","MaxElementArea"] 05048 for hyp in self.mesh.GetHypothesisList( self.geom ): 05049 if hyp.GetName() in simpleHyps: 05050 hasSimpleHyps = True 05051 if hyp.GetName() == "QuadranglePreference": 05052 if not toAllow: # remove QuadranglePreference 05053 self.mesh.RemoveHypothesis( self.geom, hyp ) 05054 pass 05055 return 05056 pass 05057 pass 05058 if hasSimpleHyps: 05059 if toAllow: # add QuadranglePreference 05060 self.Hypothesis("QuadranglePreference", UseExisting=1, CompareMethod=self.CompareEqualHyp) 05061 pass 05062 return 05063 pass 05064 pass 05065 if self.Parameters(): 05066 self.params.SetQuadAllowed(toAllow) 05067 return
| def smeshDC.Mesh_Triangle.SetTopology | ( | self, | |
| way | |||
| ) | [inherited] |
Sets topology usage way.
| way | defines how mesh conformity is assured
|
Definition at line 4994 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.SetVerbosity | ( | self, | |
| level | |||
| ) | [inherited] |
Sets verbosity level in the range 0 to 100.
Definition at line 5006 of file smeshDC.py.
| def smeshDC.Mesh_Triangle.UnsetAttractorGeom | ( | self, | |
| theFace | |||
| ) | [inherited] |
Unsets an attractor on the chosen face.
| theFace | : face on which the attractor has to be removed |
Definition at line 5033 of file smeshDC.py.