Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve default options for ventricles and base #2

Merged
merged 1 commit into from
Mar 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scaffoldmaker/meshtypes/meshtype_3d_heartventricles1.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ def getDefaultOptions():
'Number of elements through LV wall' : 1,
'LV wall thickness' : 0.15,
'LV wall thickness ratio apex' : 0.5,
'LV wall thickness ratio base': 0.75,
'LV wall thickness ratio base': 0.8,
'LV base flatten ratio': 0.75,
'LV base flatten angle degrees': 0.0,
'RV free wall thickness' : 0.05,
'RV width' : 0.15,
'RV width' : 0.2,
'Length ratio' : 2.0,
'Element length ratio equator/apex' : 1.0,
'Septum arc angle degrees' : 130.0,
'Septum arc angle degrees' : 125.0,
'Use cross derivatives' : False
}

Expand Down
10 changes: 7 additions & 3 deletions scaffoldmaker/meshtypes/meshtype_3d_heartventriclesbase1.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,19 @@ def getDefaultOptions():
options['Number of elements across septum'] = 5
options['Number of elements below septum'] = 2
options['Number of elements through LV wall'] = 1
# additional defaults for heartventricles1:
options['Element length ratio equator/apex'] = 0.5
options['LV base flatten angle degrees'] = 25.0
options['Length ratio'] = 1.8
# additional options
options['Base height'] = 0.1
options['Base thickness'] = 0.05
options['LV outlet inner diameter'] = 0.25
options['LV outlet inner diameter'] = 0.3
options['LV outlet wall thickness'] = 0.02
options['RV outlet inner diameter'] = 0.25
options['RV outlet inner diameter'] = 0.3
options['RV outlet wall thickness'] = 0.02
options['Outlet element length'] = 0.1
options['Outlet rotation degrees'] = 0.0
options['Outlet rotation degrees'] = 5.0
return options

@staticmethod
Expand Down