diff --git a/processing/pre/patchFromReconstructedBoundaries.py b/processing/pre/patchFromReconstructedBoundaries.py index 7d224f972..258d4c985 100755 --- a/processing/pre/patchFromReconstructedBoundaries.py +++ b/processing/pre/patchFromReconstructedBoundaries.py @@ -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",