×
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

Change Material Type

Change Material Type

Change Material Type

(OP)
Simple question that I can't seem to find the answer to anywhere (or work out... :( )

If I have an area, which I mesh, then generate the same area but moved back in the z-direction from the working plane, is there a simple way to make the generated area have different material properties to the original?  (The element type should remain the same).

To me it sounds simple, but correctly implementing a solution has proved tricky.

Thanks for any advice.
HVSmith

PS, here's a snippet of the code if it helps:

CODE

ET,1,131    
KEYOPT,1,3,2                    
KEYOPT,1,4,1                

MP,DENS,1,2000            

R,1                            
SECTYPE,1,SHELL
SECDATA,1E-6,1                        

L=0.011                            
BLC4,-L/2,-L/2,L,L                      

ASEL,S,AREA,,1

AESIZE,ALL,L/20
AMESH,1,1,1

ASEL,S,AREA,,1                        
AGEN,2,ALL,,,0,0,GAP,,0,0                


 

RE: Change Material Type

Isn't this simply:

CODE

ET,1,131    
KEYOPT,1,3,2                    
KEYOPT,1,4,1                

MP,DENS,1,2000   ! Mat 1
MP,DENS,2,3000   ! Mat 2        

R,1                            
SECTYPE,1,SHELL
SECDATA,1E-6,1                        

L=0.011                            
BLC4,-L/2,-L/2,L,L                      

ASEL,S,AREA,,1

AESIZE,ALL,L/20
AMESH,1,1,1

ASEL,S,AREA,,1                        
AGEN,2,ALL,,,0,0,GAP,,0,0  

! ======================================
! Change to Mat 2, retain Type/Secn 1
MAT,2   
TYPE,1
SECNUM,1

ASEL,S,AREA,,2

AESIZE,ALL,L/20
AMESH,2,2,2
      

 


------------
See FAQ569-1083: Asking questions the smart way on Eng-Tips fora for details on how to make best use of Eng-Tips.com

RE: Change Material Type

(OP)
Ah, OK, yes, I see what you did, it makes sense, thanks!

Although I notice a flaw in my own logic...  what I actually need to do is alter the SECDATA command for the newly generated area.  So this isn't quite as simple as changing the material.  Since the material is still the same, but it's the shell thickness that I wish to alter.

With you method above you are still referring to SECNUM,1.

So if I want this new area to have a different shell thickness is it suitable to create a new set of real constants?

CODE

R,2
SECTYPE,2,SHELL
SECDATA,2E-6,2

And then refer to SECNUM,2?
Because I still wish the area to be a SHELL131.

Or would you advise creating an entirely new ET,2 (which would be identical to ET,1 besides the SECDATA for shell thickness)?

I have tried both methods, unsuccessfully.

Thanks again for any further information or advice,
HVSmith




 

RE: Change Material Type

Personally, I always keep the types, mats and secs together for tidyness. Hence you need to create two seperate materials, types and secs. The real constant is irrelevant in the latest release of ANSYS since real constants for shells are no longer supported - this is done through SECDATA.

Once you've created the second set of type/mat/sec, then just simply change to these in the deck:

SECNUM,2
MAT,2
TYPE,2

and then mesh the area:

ASEL,S,AREA,,2
AMESH,ALL

This will work. If it doesn't there's something amiss.

Cheers.


------------
See FAQ569-1083: Asking questions the smart way on Eng-Tips fora for details on how to make best use of Eng-Tips.com

RE: Change Material Type

(OP)
Thanks Drej - very useful advice.
After messing around with the order in which I create, mesh and generate new areas I think I have this working correctly now.

Thanks again.
HVSmith

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