|
[Sponsors] |
Problem Solving thermal-diffusion model using SOLID227 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 1, 2019, 08: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? |
|
Tags |
coupled analysis, moving heat source, thermal-diffusion, transient 3d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |