Mod: max element size

This commit is contained in:
L-Nafaryus 2021-05-17 14:08:55 +05:00
parent 962837ae67
commit 1d08deebe0
3 changed files with 14 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
__pycache__
build/
logs/
*.fls
*.aux
*.bbl

View File

@ -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,

View File

@ -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)