Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Thermal Contact in APDL

Status
Not open for further replies.

Benjamin Blackford

Mechanical
Jul 7, 2017
7
CA
Hi all,

I'm relatively new to ansys apdl, and am having a lot of trouble with contact analysis in APDL Mechanical. I'm not able to correctly transfer temperatures between two bodies with contact elements in between them. I've attached an image of the problem, and also the txt file that I'm using. Unfortunately I need to use txt import, and not the gui or workbench. Any help you're able to give is really appreciated, as I've been struggling with this for weeks.

FailedContact_fwq3he.png
 
Replies continue below

Recommended for you

Hi Benjamin,

you are using SOLID5 element with keyopt(1) = 0 so you perform coupled field analysis and UX, UY, UZ, TEMP, VOLT, MAG are your DOFs. Do you want to perform such a coupled analysis? If you are interested in thermal analysis only, change keyopt(1) to 8, in your macro ET,1,SOLID5,8 or use solid70 ET,1,SOLID70 (thermal only element).

Then you should maybe define some material properties of your contact.
If you specify thermal contact conductance for you contact via real constants
rmod,cid,14,TCC

You will see results which correspond to bonded contact.

If you do not want to set material properties for the contact like TCC or emmisivity etc, use KEYOPT,cid,2,2 (MPC contact algorithm which couples the DOFs directly with constraint equations).

Regards
Petr

Petr Vymlatil (
 
Amazingly helpful thank you. Yes I was trying to perform structural and thermal together, as thermal expansion is a big part of the more complex model (not shown here). I'm still getting some penetration issues, but I'm now able to conduct heat through the contact. Thanks so much Petr.

FailedContact_rxgost.png


Ben
 
If you add the following to the same part as your txt (keyopt to force) than the mech/temp contact is OK and temps are OK.

Just added as per Petr Vymlatil recomendtaions a TCC contact conduction value (same as the material, 60.5), both U and TEMP DOF (keyopt(1)), and then used keyopt (5) to close or resolve any contact gaps or initial penetration.

Code:
!-----KeyOpts------
keyo,cid,5,3		   ! close gap and penetration added
keyo,cid,8,2               ! auto create asymmetric contact (from Program Controlled setting)
keyo,cid,10,0              ! adjust contact stiffness each NR iteration (from Program Controlled setting)
keyo,cid,12,5              ! bonded always
keyo,cid,2,0               ! augmented Lagrange (from Program Controlled setting)
keyo,cid,4,0               ! on Gauss point (from Program Controlled setting)
keyo,cid,9,1               ! ignore initial gaps/penetration
keyo,cid,7,0               ! No Prediction
keyo,cid,1,1			! Both U and TEMP added
rmod,cid,14,60.5	! TCC added
nsel,all
esel,all
!-----Apply Force-----
 
Thanks for your help everyone. This works great for my practice problem, but when I try to include it into my real code (transient, killed elements, and temperature dependent mat props) it fails again, and I'm not sure the issue. In the image, there is a penetrated layer below the solid, and it's at 356 K which means it's not transferring heat between the larger body.

Thanks in advance.
Incorrect_Contact_j5us2f.png


Ben
 
It is because of the EKILL that probably kills elements and contacts. If you take that part (EKILL) away it works fine.

I would revise that (EKILL - in your image the grey elements I think are those inactive during that step, so you do not see the results - check the contact status if it is active that will tell if the bottom half that is not killed is in contact with the big block). Also if they are connected and there is not contact you might as well, make a compatible mesh between the parts, instead of using MPC to connect dissimilar meshes. Of course if the geometry is complex it can be hard to do that, but such a simple one it is straightforward.

It is the esel, and the esel, inve that selects the contacts/targets also and then they are killed by the subsequent ekill. Try to select the top solid5 elements differently.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top