Hello,
I am trying to generate and offset a meshed shell layer from a meshed part (see figure) via Abaqus scripting using the "generateMeshByOffset(...)" command. This task can be performed using the interface from edit mesh>offset (create shell layer). I have the following attempt:
region = mdb.models['Model-1'].parts['MatrixCUT'].faces.getByBoundingBox(100,0,0,100,100,100)
meshType=SHELL
numLayers=1
distanceBetweenLayers=0.0
initialOffset=100
mdb.models[name].parts[name].generateMeshByOffset(region,meshType,distanceBetweenLayers,numLayers,initialOffset)
The difficulty I am facing is how to define the region correctly. I have tried findAt() and getByBoundingBox, but I always encounter an error. The region should contain a sequence of element faces. The macro manager recorded the "getSequenceFromMask" which I cannot interpret following:
mdb.models['Model-1'].parts['MatrixCUT'].generateMeshByOffset(
distanceBetweenLayers=0.0, initialOffset=100.0, meshType=SHELL, numLayers=1
, region=Region(
face2Elements=mdb.models['Model-1'].parts['MatrixCUT'].elements.getSequenceFromMask(
mask=('[#0:25 #1 ]', ), ),
face3Elements=mdb.models['Model-1'].parts['MatrixCUT'].elements.getSequenceFromMask(
mask=('[#0:30 #200000 #0:205 #100000 ]', ), )))
Any advice on how to correctly use this command? (Abaqus scripting user guide: 18.2.11)
The "CAE" file is attached