## Deleting certain lines and areas

## Deleting certain lines and areas

(OP)

Hi there,

I am using Ansys APDL to create a model of a honeycomb grid. The size of this grid is 900mm by 450mm. However, my model is a little bit bigger. I was wondering where if there is a way remove everything beyond x=900 and z=450?

Is there any way to kinda cut the areas at these points?

Thanks in advance.

my code is here: (sorry it's messy, I'm kinda new to APDL)

I am using Ansys APDL to create a model of a honeycomb grid. The size of this grid is 900mm by 450mm. However, my model is a little bit bigger. I was wondering where if there is a way remove everything beyond x=900 and z=450?

Is there any way to kinda cut the areas at these points?

Thanks in advance.

my code is here: (sorry it's messy, I'm kinda new to APDL)

#### CODE -->

FINISH /CLEAR /title,Honeycomb Sandwich Panel Simulation, Moazami. /Prep7 ! Geometry - Honeycomb Keypoints Generation !******************************** ************************* *********h=0*********** ************************* ************************* length=21 c=0 ha=0 *Do, y,1,19 a=0 b=ha+1 *Do,i,1,length,1 k,b,a,0,0+c a = a+45 b = b+2 *enddo a=15 b=ha+2 *Do,i,1,length,1 k,b,a,0,0+c a = a+45 b = b+2 *enddo ha=ha+(2*length) c=c+26 *enddo c=13 *Do, y,1,18 a=22.5 b=ha+1 *Do,i,1,length,1 k,b,a,0,0+c a = a+45 b = b+2 *enddo a=22.5+15 b=ha+2 *Do,i,1,length,1 k,b,a,0,0+c a = a+45 b = b+2 *enddo ha=ha+(2*length) c=c+26 *enddo !/eof !******************************** ************************* *********h=50*********** ************************* ************************* c=0 ha=10000 *Do, y,1,19 a=0 b=ha+1 *Do,i,1,length,1 k,b,a,50,0+c a = a+45 b = b+2 *enddo a=15 b=ha+2 *Do,i,1,length,1 k,b,a,50,0+c a = a+45 b = b+2 *enddo ha=ha+(2*length) c=c+26 *enddo !/eof c=13 *Do, y,1,18 a=22.5 b=ha+1 *Do,i,1,length,1 k,b,a,50,0+c a = a+45 b = b+2 *enddo a=22.5+15 b=ha+2 *Do,i,1,length,1 k,b,a,50,0+c a = a+45 b = b+2 *enddo ha=ha+(2*length) c=c+26 *enddo !/eof ! Geometry - Honeycomb Area Generation !******************************** ************************* ******************** ************************* ************************* a=1 b=2 *Do,i,1,777 A,a,b,b+10000,a+10000 a = a+2 b = b+2 *enddo c=2 d=799 *Do,i,1,18 *Do,y,1,41 A,c,d,d+10000,c+10000 c = c+1 d = d+1 *enddo c=2+i*42 d=799+i*42 *enddo c=44 d=799 *Do,i,1,18 *Do,y,1,41 A,c,d,d+10000,c+10000 c = c+1 d = d+1 *enddo c=44+i*42 d=799+i*42 *enddo