coolFL
Mechanical
- Mar 4, 2015
- 39
Hello everybody,
I am doing one residual stress simulation. I have two part instances which come in contact and one of them has non-uniform residual stresses from the beginning. I have written *SIGINI subroutine to apply non-uniform initial stress. I tried to apply this stress using python script which is as follows:
a1=mdb.models['208_Bearing_Residual_Run_2'].rootAssembly
e1=a1.instances['Inner Raceway-1'].elements
elements1 = e1.getSequenceFromMask(mask=('[#ffffffff:3972 #1 ]', ), )
region=a1.Set(elements=elements1,name='Set-20')
mdb.models['208_Bearing_Residual_Run_2'].Stress(name='Predefined Field-1',region=region, distributionType=USER_DEFINED)
After running this script, Abaqus does create predefined field. But it doesn't recognize that distribution type is non-uniform and needs to taken from user defined subroutine *SIGINI.
Is there anything wrong with the Python script?
Any input is appreciated,
Thank you in advance,
Sincerely,
Nik
Issues with Python script for non uniform predefined stress fields? - ResearchGate. Available from: [accessed Aug 12, 2016].
I am doing one residual stress simulation. I have two part instances which come in contact and one of them has non-uniform residual stresses from the beginning. I have written *SIGINI subroutine to apply non-uniform initial stress. I tried to apply this stress using python script which is as follows:
a1=mdb.models['208_Bearing_Residual_Run_2'].rootAssembly
e1=a1.instances['Inner Raceway-1'].elements
elements1 = e1.getSequenceFromMask(mask=('[#ffffffff:3972 #1 ]', ), )
region=a1.Set(elements=elements1,name='Set-20')
mdb.models['208_Bearing_Residual_Run_2'].Stress(name='Predefined Field-1',region=region, distributionType=USER_DEFINED)
After running this script, Abaqus does create predefined field. But it doesn't recognize that distribution type is non-uniform and needs to taken from user defined subroutine *SIGINI.
Is there anything wrong with the Python script?
Any input is appreciated,
Thank you in advance,
Sincerely,
Nik
Issues with Python script for non uniform predefined stress fields? - ResearchGate. Available from: [accessed Aug 12, 2016].