Two-dimensional modeling of heat conduction using ANSYS
Here are the steps for setting up the model:
Model Development:
ansys -g -j thermal &
1. Set Preference:
Preferences - Thermal = on - OK
2. Define a square region:
Preprocessor - Modeling / Create - Rectangle - By Dimension
X1=0.,X2=0.305
Y1=0.,Y2=0.305
OK
3. Define materials
Preprocessor - Material props - Materials Model
- Thermal - Conductivity - Isotropic - Thermal conductivity = 200.0 - OK
OK
4. Select Mesh Type:
Preprocessor - Element Type - /Add/edit/Delete - Add
Select "Thermal Solid" and "Quad 4node 55"
OK
Close
5. Meshing:
Preprocessor - MeshTool -
Size controls/ lines/Set -
Pick x=0 and y=o lines - NDIV = 16 - OK
set Mesher = Map
Mesh - Pick the area - OK
6. Apply BCs and loads:
Solution - Loads/Apply - Temperature - On Lines
Left click the x=L line - OK
Value = 20 - OK
On Lines - Left click the y=L line - OK
Value = 30 - OK
Loads/Apply - Heat Flux - On lines
Left click the x=0 line - OK
Value = 10000 - OK
On Lines - Left click the y=0 line - OK
Value = 15000 - OK
7. Solve
Solution - Solve/Current LS - OK
8. Plot temperature distribution on a line for comparison
with analytical solution
Define a path:
-------------
General Postproc>Path Operations>Define Path>By location>Name=ycenter, nDiv=16,OK
>NPT=1, X=0.,y=0.1525, z=0, OK> NPT=2, X=.305,y=0.1525, z=0, OK> Cancel
Map the variable to be plotted on the path:
------------------------------------------
General Postproc>Path Operations>Map onto Path>Lab=T, Selection=Temperature>OK
Plot the results:
------------------
Utility Menu>Plot>Results>Path Plot>Select T>OK
Save the data for comparision with analytical results:
------------------------------------------------------
Utility Menu>List>Results>Path Data>Select XG,T>OK
File>Save as>results16.dat>OK>close
9. Contour plot
General Postproc>Plot Results>Contour Plot/Nodal Solu >OK
Note: For line contours, use
/show,x11,,1