×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Deleting certain lines and areas

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)

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 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close