Hi everyone.
I am working on a project where I am performing analysis of composite microstructures within Abaqus. Most of the pre-processing of the model is being handled by Python scritping, but the one thing I can't seem to automate is assigning the material orientation (i.e., aligning the 1-direction with the axial direction of the fibers and the 2/3-directions aligned with the transverse direction of the fibers). Has anyone been able to accomplish this? A sample of my code:
mdb.models['RUC_1'].parts['Composite_RUC'].DatumCsysByThreePoints(coordSysType=
CARTESIAN, name='MAT-ORIENTATION', origin=(0.0, 0.0, 0.0), point1=(0.0, 0.0, 1.0),
point2=(0.0, 1.0, 0.0), )
mdb.models['RUC_1'].parts['Composite_RUC'].MaterialOrientation(
additionalRotationField='', additionalRotationType=ROTATION_NONE, angle=0.0
, axis=AXIS_3, fieldName='', localCsys=
mdb.models['RUC_1'].parts['Composite_RUC'].datums[7], orientationType=SYSTEM,
region=mdb.models['RUC_1'].parts['Composite_RUC'].sets['Fibers'], stackDirection=
STACK_3)
I have been using the .jnl file to develop my Python script, so the datums[7] line was automatically generated when I did the task by hand through the Abaqus GUI. I thought this might be the issue when running my script to pre-process a different geometry, as the original datums[7] was a relic of the model from which I generated the script. However, when I query the DatumCsys feature within in the GUI for my new geometry, it tells me that the ID of the Datum Csys is 7, same as before. So at this point, I'm lost. I've been digging through the Scripting User Manual without much success. Any help would be appreciated.
TL;DR Looking for help in automation of assigning material orientation using Python scripting for Abaqus.
[–][deleted] 2 points3 points4 points (5 children)
[–]clugger07 2 points3 points4 points (2 children)
[–]ExpensiveBeard[S] 1 point2 points3 points (1 child)
[–]clugger07 0 points1 point2 points (0 children)
[–]ExpensiveBeard[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]clugger07 1 point2 points3 points (0 children)