Fem: Add Z-refinement support for Netgen
This commit is contained in:
@@ -469,11 +469,32 @@ class MeshNetgen(base_fempythonobject.BaseFemPythonObject):
|
||||
)
|
||||
prop.append(
|
||||
_PropHelper(
|
||||
type="App::PropertyBool",
|
||||
name="AutoZRefine",
|
||||
type="App::PropertyEnumeration",
|
||||
name="ZRefine",
|
||||
group="Mesh Parameters",
|
||||
doc="Automatic Z refine",
|
||||
value=False,
|
||||
doc="Z-refinement for extruded shapes",
|
||||
value=["No", "Regular", "Custom"],
|
||||
)
|
||||
)
|
||||
prop.append(
|
||||
_PropHelper(
|
||||
type="App::PropertyVector",
|
||||
name="ZRefineDirection",
|
||||
group="Mesh Parameters",
|
||||
doc="Z-refinement direction",
|
||||
value=Base.Vector(0, 0, 1),
|
||||
)
|
||||
)
|
||||
prop.append(
|
||||
_PropHelper(
|
||||
type="App::PropertyFloatList",
|
||||
name="ZRefineSize",
|
||||
group="Mesh Parameters",
|
||||
doc="Z-refinement size given as a fraction of the shape size.\n"
|
||||
+ "For a regular partition only one value is needed",
|
||||
value=[
|
||||
0.1,
|
||||
],
|
||||
)
|
||||
)
|
||||
prop.append(
|
||||
|
||||
Reference in New Issue
Block a user