-
-
September 30, 2024 at 10:47 ammashettySubscriberHello everyone,ÂI’m currently working on an additive manufacturing simulation in ANSYS Mechanical(using apdl), and I’ve encountered an issue with temperature results when using contact between two bodies.ÂHere’s the situation:ÂI ran two simulations using the same boundary conditions and simulation parameters.1.In the first simulation, I applied contact between two separate bodies.2.n the second simulation, I combined the two bodies into a single solid (therefore, no contact was needed).In the simulation with contact, the resulting temperatures are seems to be verz low compared to the simulation without contact, where the temperatures appear normal and as expected.ÂCan someone explain why the temperature results vary so much when using contact between the bodies? The highest temp in the simulaiton without contact is 1700 deg C and with bonded contact is 450 deg C (I have also tried with the shared node option in space claim but it still gives like near 450 temp)ÂThanks in advance!ÂThis is the cad geometry:This is the code use to perform simulation:Âthe code gives an overview of the commands used in the simulaiton.
CSDELE,all!this block of code is used to kill all the element before solvin the simulation
CLOCAL, -, -, -, -, - Â Â ! local coordinate system creation to form a group of elements to be killed
NSEL, S, LOC, X, -, -Â !select the elements NSEL,R,LOC,Y,-,-
NSEL,R,LOC,Z,-,-
NROPT,FULLÂ Â Â Â Â Â Â Â Â
ESLN,S,ALLÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â !select the elements related to the nodes created
EKILL,ALLÂ Â Â Â Â Â Â Â Â Â !kill all the selected elements
ESEL,U,LIVEÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â !keep the remaining elements live, or else everything gets killed
ALLSEL
SOLVE
! block end hereÂ
! this is the second block where we make the elements alive w.r.t to timeÂ
TIMINT,ONÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ! Zeitabh ngigkeit EIN
DDELE,ALL,TEMPÂ Â Â Â Â Â Â Â Â Â Â ! die Anfangsbedingungen entfernen
TIME,(i*(1/4)) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ! Neu Zeitschritt t=i*(LS/vs)[s]
BFDELE,ALL,HGENÂ Â Â Â Â Â Â Â Â ! die vorgegebenen Bedingungen entfernen
CSDELE,all
CLOCAL,11,0,50,-,-Â Â
nsel,s,loc,x,-,-
nsel,r,loc,y,-,-
nsel,r,loc,z,-,-
ESLN,ALL
EALIVE,all
! this block of elements become alive here
Â
! this is the third block where, we count the no. of nodes and assign boundary temps
  *GET,Kanz,NODE,,COUNT   !
  kn=0 ! Param.
   *DO,j,1,Kanz
     kn=NDNEXT(kn)
     BF,kn,HGEN,Q          ! Q is the heat source
   *ENDDO
! third block ends hereÂ
  NSEL,ALL
  ALLSEL
  SOLVE  Â
Â
Â
 -
September 30, 2024 at 11:36 amErik KostsonAnsys Employee
Hi
We (Ansys empl.) can not provide extensive scripting and script debugging support here - perhaps other forum members can chime in and help/provide feedback.
As a note there is a suite of addtive tools inside mechanical.
https://simutechgroup.com/ansys-software/additive-manufacturing/ansys-additive-suite/
https://www.cadfem.net/en/our-solutions/ansys-simulation-software-the-product-family/ansys-structural-mechanics/ansys-additive-suite.html
All the best
Erik
-
September 30, 2024 at 12:40 pmmashettySubscriberHi Erik,ÂThanks alot for your response.ÂI am applying a temperature boundary condition to nodes using the APDL command (BF,,,,) in ANSYS for two different scenarios:Â1.With contact: Two separate bodies with contact defined between them.2.Without contact: The two bodies are combined into a single solid in SpaceClaim, so no contact is needed.Could you provide insights on how contacts affect temperature transfer between solids in such simulations? I'm seeing differences in temperature distribution between the two cases and would appreciate any explanations.ÂThank you!
-
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
Top Contributors
-
461
-
220
-
194
-
177
-
162
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.