Commit 1b336a30 authored by matecellab's avatar matecellab
Browse files

fix indenter rotation for all eternity ever

parent 329272bb
......@@ -552,7 +552,7 @@ for b = 1:numel(basil)
fprintf(fid,'Bregion=myModel.rootAssembly.instances[''leg-1''].sets[''boneRP'']\n');
fprintf(fid,'# first step, rotate bone over z-axis\n');
fprintf(fid,'myModel.StaticStep(name=''step-1'', previous=''Initial'', description=''Rotate bone over z-axis'', timePeriod=1, maxNumInc=100, initialInc=1, minInc=1e-6, maxInc=1, nlgeom=ON)\n');
fprintf(fid,'myModel.DisplacementBC(name=''moveIndenter'', createStepName=''step-1'', region=Iregion, u1=0, u2=0, u3=0, amplitude=UNSET, fixed=OFF, distributionType=UNIFORM, fieldName='''', localCsys=None)\n');
fprintf(fid,'myModel.DisplacementBC(name=''moveIndenter'', createStepName=''step-1'', region=Iregion, u1=0, u2=0, u3=0, ur1=0, ur2=0, ur3=0, amplitude=UNSET, fixed=OFF, distributionType=UNIFORM, fieldName='''', localCsys=None)\n');
fprintf(fid,'myModel.DisplacementBC(name=''moveBone'', createStepName=''step-1'', region=Bregion, u1=0, u2=0, u3=0, amplitude=UNSET, fixed=OFF, distributionType=UNIFORM, fieldName='''', localCsys=None)\n');
fprintf(fid,'myModel.VelocityBC(name=''rotateBone'', createStepName=''step-1'', region=Bregion, vr1=0, vr2=0, vr3=%f, amplitude=UNSET, localCsys=None, distributionType=UNIFORM, fieldName='''')\n',bcom(3,3));
......@@ -576,7 +576,7 @@ for b = 1:numel(basil)
fprintf(fid,'# fix cast (in initial step)\n');
fprintf(fid,'Cregion=myModel.rootAssembly.instances[''cast-1''].sets[''castRP'']\n');
fprintf(fid,'myModel.EncastreBC(name=''fixCast'', createStepName=''Initial'', region=Cregion, localCsys=None)\n');
end
end
fprintf(fid,'# set solution technique\n');
fprintf(fid,'myModel.steps[''step-1''].setValues(matrixSolver=DIRECT, matrixStorage=UNSYMMETRIC, solutionTechnique=FULL_NEWTON)\n');
fprintf(fid,'myModel.steps[''step-2''].setValues(matrixSolver=DIRECT, matrixStorage=UNSYMMETRIC, solutionTechnique=FULL_NEWTON)\n');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment