boundary conditions now consider patch dimension along pulling direction (used to be orthogonal to that..!)
This commit is contained in:
parent
976564b74e
commit
dfc8606207
|
@ -495,7 +495,7 @@ def boundary_conditions(rate,thickness, size,aspect,xmargin,ymargin):
|
||||||
"*apply_name pull_bottom",
|
"*apply_name pull_bottom",
|
||||||
"*apply_type fixed_displacement",
|
"*apply_type fixed_displacement",
|
||||||
"*apply_dof y",
|
"*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",
|
"*apply_dof_table y linear",
|
||||||
"*select_clear_nodes",
|
"*select_clear_nodes",
|
||||||
"*select_nodes",
|
"*select_nodes",
|
||||||
|
@ -508,7 +508,7 @@ def boundary_conditions(rate,thickness, size,aspect,xmargin,ymargin):
|
||||||
"*apply_name pull_top",
|
"*apply_name pull_top",
|
||||||
"*apply_type fixed_displacement",
|
"*apply_type fixed_displacement",
|
||||||
"*apply_dof y",
|
"*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",
|
"*apply_dof_table y linear",
|
||||||
"*select_clear_nodes",
|
"*select_clear_nodes",
|
||||||
"*select_nodes",
|
"*select_nodes",
|
||||||
|
|
Loading…
Reference in New Issue