Mod: max element size
This commit is contained in:
parent
962837ae67
commit
1d08deebe0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
__pycache__
|
||||
build/
|
||||
logs/
|
||||
*.fls
|
||||
*.aux
|
||||
*.bbl
|
||||
|
18
config.py
18
config.py
@ -59,7 +59,7 @@ class ViscousLayers(Parameters):
|
||||
##
|
||||
structures = [
|
||||
#"simple",
|
||||
#"bodyCentered",
|
||||
"bodyCentered",
|
||||
"faceCentered"
|
||||
]
|
||||
|
||||
@ -70,11 +70,11 @@ class simple:
|
||||
[0, 0, 1],
|
||||
[1, 1, 1]
|
||||
]
|
||||
fillet = False
|
||||
fineness = 1
|
||||
fillet = True
|
||||
fineness = 3
|
||||
parameters = Parameters(
|
||||
minSize = 0.01,
|
||||
maxSize = 0.5,
|
||||
maxSize = 0.1,
|
||||
growthRate = 0.5,
|
||||
nbSegPerEdge = 0.5,
|
||||
nbSegPerRadius = 0.5,
|
||||
@ -104,11 +104,11 @@ class bodyCentered:
|
||||
[0, 0, 1],
|
||||
[1, 1, 1]
|
||||
]
|
||||
fillet = False
|
||||
fineness = 1
|
||||
fillet = True
|
||||
fineness = 3
|
||||
parameters = Parameters(
|
||||
minSize = 0.005,
|
||||
maxSize = 0.1,
|
||||
maxSize = 0.05,
|
||||
growthRate = 0.5,
|
||||
nbSegPerEdge = 0.5,
|
||||
nbSegPerRadius = 0.5,
|
||||
@ -138,8 +138,8 @@ class faceCentered:
|
||||
[0, 0, 1],
|
||||
[1, 1, 1]
|
||||
]
|
||||
fillet = False
|
||||
fineness = 1
|
||||
fillet = True
|
||||
fineness = 3
|
||||
parameters = Parameters(
|
||||
minSize = 0.005,
|
||||
maxSize = 0.05,
|
||||
|
@ -29,7 +29,8 @@ def simpleCubic(theta = 0.01, fillet = False, direction = [1, 0, 0]):
|
||||
C1, C2 = 0.8, 0.5 #0.8, 0.05
|
||||
theta1, theta2 = 0.01, 0.28
|
||||
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
|
||||
filletradius = 0.2 - Cf * (radius - r0)
|
||||
delta = 0.2
|
||||
filletradius = delta - Cf * (radius - r0)
|
||||
|
||||
scale = 100
|
||||
oo = geompy.MakeVertex(0, 0, 0)
|
||||
@ -168,7 +169,8 @@ def simpleHexagonalPrism(theta = 0.01, fillet = False, direction = [1, 1, 1]):
|
||||
C1, C2 = 0.8, 0.5 # 0.8, 0.05
|
||||
theta1, theta2 = 0.01, 0.28
|
||||
Cf = C1 + (C2 - C1) / (theta2 - theta1) * (theta - theta1)
|
||||
filletradius = 0.2 - Cf * (radius - r0)
|
||||
delta = 0.2
|
||||
filletradius = delta - Cf * (radius - r0)
|
||||
|
||||
scale = 100
|
||||
oo = geompy.MakeVertex(0, 0, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user