# Problem Solving thermal-diffusion model using SOLID227

 Register Blogs Members List Search Today's Posts Mark Forums Read

 April 1, 2019, 07:09 Problem Solving thermal-diffusion model using SOLID227 #1 New Member   Sahil Chaddha Join Date: Feb 2019 Posts: 3 Rep Power: 7 I am solving a coupled moving heat source-diffusion problem using SOLID227. I have a simple cuboid geometry with heat source moving along the center. For moving heat source boundary condition, I used this plugin Moving Heat Source. But I needed to solve the thermal-diffusion model. So I used the following APDL in geometry and solution. Geometry : ET,matid, SOLID227 ! for thermal-diffusion DOF KEYOPT,1,matid, 100010 MP,DXX,matid,0.2166 MP,DYY,matid,0.2166 MP,DZZ,matid,0.2166 Transient Thermal Solution: allsel,,node *get,numNode,node,,count *get,currNode,node,,num,min *get,xmax,node,,mxloc,x *get,xmin,node,,mnloc,x lambda=0.002 alpha_c = 0.02 cem_c = 6.67 ! assign couboid nodes as alternate layers of concentration. *do,i,1,numNode x = nx(currNode) region = mod(nint(x/lambda),2) *if,region,eq,0,then ic,currNode,conc,cem_c *else ic,currNode,conc,alpha_c *endif currNode = ndnext(currNode) *enddo !named-selection for boundaries sf,boundary_faces,dflux,0 allsel Ea = 237207.4 R = 8.314 tb,migr,1,,,0 tbdata,1,Ea/R tbdata,2,0 tbdata,3,0 tbdata,4,0 tbdata,7,0 But I am not able to get any results. And no helpful errors are shown in solver output. Can someone please help me what's wrong in the above setup?