boundary conditions now consider patch dimension along pulling direction (used to be orthogonal to that..!)

This commit is contained in:
Philip Eisenlohr 2012-06-13 09:28:59 +00:00
parent 976564b74e
commit dfc8606207
1 changed files with 2 additions and 2 deletions

View File

@ -495,7 +495,7 @@ def boundary_conditions(rate,thickness, size,aspect,xmargin,ymargin):
"*apply_name pull_bottom",
"*apply_type fixed_displacement",
"*apply_dof y",
"*apply_dof_value y %f"%(-rate*(inner+outer)/2.0),
"*apply_dof_value y %f"%(-rate*(lower+upper)/2.0),
"*apply_dof_table y linear",
"*select_clear_nodes",
"*select_nodes",
@ -508,7 +508,7 @@ def boundary_conditions(rate,thickness, size,aspect,xmargin,ymargin):
"*apply_name pull_top",
"*apply_type fixed_displacement",
"*apply_dof y",
"*apply_dof_value y %f"%(rate*(inner+outer)/2.0),
"*apply_dof_value y %f"%(rate*(lower+upper)/2.0),
"*apply_dof_table y linear",
"*select_clear_nodes",
"*select_nodes",