Hi everybody,
I need to simulate the deformation of an elastic body (element type: C3D4) due to hydrostatic pressure in a 3D complex cavity (represented by hydrostatic fluid elements: F3D4) generated by an injection of new fluid mass.
I know I have to work on an INP file, but I don’t know...
Hi Barten,
than you for your help and for you patience. Finally I was able to close the loop in this way :)
groupI=2
sortI=1
zlist=sorted(elem[groupI] for elem in myPointsListPL)
print zlist
MyLoftSign=[]
MyLoftSign.extend([0])
MyLoftSign[0]=zlist[0]
print MyLoftSign[0]
n=0
for i in...
Hello Bartosz,
thank you! I'm learning a lot from the posts! I understand what you mean and I'm sure I'll use it in my script, but know I have to do a step backward. In the script I'm writing I wrote this thing:
mdb.models['importDPxyz'].parts['DPxyz'].WireSpline(points=(sorted([elem for elem...
pts0=[elem for elem in pointsOn if elem[0][2]==0.0]
gives:
[((2.25, 8.0, 0.0),), ((7.003389, 1.922384, 0.0),), ((6.0, 0.0, 0.0),), ((0.0, 2.0, 0.0),)]
I tried to create a tuple from the above list with tuple(pts0), but I cannot use it as argument of findAt(). Again the abaqus message is...
Hello Barten,
thank you for yor help! You're right, with the command you gave me I could extract the points in lists.
What happens now is that the method findAt() needs a tuple to find the edges and, obviously, if I try to use the list of points I extracted Abaqus says:
TypeError: arg1; too...
I'm sorry, I forgot to post what I've already tryied in order to get the edges:
p=mdb.models['importDPxyz'].parts['DPxyz']
e=p.edges
pts=e.pointsOn
>>> print pts
(((1.75, 8.0, 4.0),), ((5.003389, 1.922384, 4.0),), ((4.5, 0.0, 4.0),), ((0.0, 2.0, 4.0),), ((1.25, 8.0, 8.0),), ((3.003389...
Hi everyone,
I’m trying to write a python script to build a solid using the method SolidLoft(). The solid should be created by lofting between three sections (three closed loops of edges). Each section lies on a plane parallel to the xy plane (three different z) and it is made of a spline and a...