Ansys Tutorial
Ansys Tutorial
All the material properties can be found in Dr. Lee’s book and on the web.
Don’t blindly follow the tutorial. You need to explore more options and shortcuts.
The material properties change with the material that is being used. (Ex: Aluminum Nitride, Skutterudite, etc.)
1
Go to appearances, scenes and decals > appearances> solids> red color (Any color)
2
1.3 Modeling the ceramic (Electrical insulator)
Follow the same steps and create a ceramic model with specified dimensions
(3mm*3mm*0.5mm)
Save the file as “Ceramic”
3
Select front faces of both legs, click O.K.
Insert p leg and repeat the steps to form the figure as shown
Now go to Insert components > Browse > Copper
Follow the same steps and assemble copper onto the legs by mating the faces
Insert the ceramic and assemble it symmetrically over the copper parts on either side of the
legs as shown
1.5 Model a heatsink as shown in the figure (it has to be modeled as a single part)
Base area: 3mm*3mm
Base thickness: 0.3mm
Fin height: 2mm
4
Fin thickness: 0.3mm
Fin spacing: 0.3mm
5
Creating the cavity is done in order to subtract the heatsink from the air duct. The final setup looks like
the figure above
Draw a U shaped extrusion with dimension (2mm*2.5mm*0.1mm) and assemble it into the
module to connect the copper electrical conductors as shown
6
2 ANSYS Simulation (Fluid Flow CFX)
2.1 Setting up the geometry
Open ANSYS Workbench > Fluid Flow (CFX) > Geometry (Right click) > Import geometry >
Browse > Browse and select the assembly file you had previously saved
Open geometry in design modeler > click generate and wait for the geometry to be
imported and generated into the design modeler
You will see 14 parts, 14 bodies in the tree > Select all the parts > right click and select form
a new part > rename your part (TEG)
Select the air domain in the geometry > detail view > details of the body > fluid/solid > select
fluid
Close the design modeler
7
2.3 Creating Named Selections
Filter your selection to body mode (Ctrl+B) > select resistance part > right click on the body >
Create named selection > name it resistance
Follow the same steps and create named selection for the following bodies:
o Air body
o Heatsink body
o pleg bodies
o nleg bodies
o ceramic bodies
o copper bodies
Filter your selection to face mode (Ctrl+F) > select air inlet face > right click on the face > Create
named selection > name it air inlet
Repeat the steps to create named selection for the following faces
o Air outlet
o Cold side
If there are heat sinks on both the sides, there is not “cold side” face to be created. You instead create
an air inlet and air outlet on the cold side as well.
8
Close the ‘mesh’ window
In project schematic, right click on mesh and click update
9
Material > pleg
Go to Solid models tab > Heat transfer > option > thermal energy (Go to Initialization tab >
Check domain initialization box > click O.K.
Repeat the same steps to create a domain each for nleg, heatsink and, copper and
resistance
Domain Domain
Domain Material
type location
Air Fluid Air Air ideal gas
Copper Solid Copper Copper
Ceramic Solid Ceramic Aluminum Oxide (Custom material)
Resistance Solid Resistance Copper
Heatsink Solid Heatsink Aluminum
Pleg Solid Pleg Bismuth Telluride (Custom material)
nleg Solid nleg Bismuth Telluride (Custom material)
In the outline tree, in the interfaces drop down, double click default fluid/solid interface >
additional interface models tab > check the heat transfer box, repeat the step for default
solid/solid interface
Now, right click air domain > insert boundary > name it “air inlet”
Boundary type: inlet > location: air inlet
Boundary details tab > mass and momentum > option > normal speed: depending on input
speed of air (1m/s)
Heat transfer > static temperature: Given input temperature (770 K) > Click O.K.
Now, right click air domain > insert boundary > name it “air outlet”
Boundary type: outlet > location: air outlet
Boundary details tab > mass and momentum > option > average static pressure > relative
pressure 0 Pa > Click O.K.
Now, right click ceramic domain > insert boundary > name it “cold temperature”
Boundary type: wall > location: cold face
Boundary details tab > heat transfer > option > Temperature > Fixed temperature > Given
cold side temperature (300 K) > Click O.K.
10
Close the setup window
Double click solution in project schematic
Click start run
11
3 ANSYS Simulation (Thermal-electric effect)
In the toolbox menu on the left portion of the window, double click Thermal-Electric. A project will now
appear in the project schematic window of Workbench.
In the Data Source of Outline Filter, click on General Materials. In the Outline of General
Materials pane, right-click on Copper Alloy and select Add to Engineering Data or click on the ‘+’
icon. A ‘book’ symbol will appear once the material has been added.
12
In the Outline Filter, click on Engineering Data, you will see that Copper Alloy in the Outline
Schematic A2 is newly added material to the Structural Steel.
Now we want to add two more materials (p-type and n-type semiconductors). Click on the
empty box below the Structural Steel and name it as p-type. In the Toolbox pane, double-click
Isotropic Thermal Conductivity to include this property to the p-type.
In the Properties of Outline Row 5: p-type: The following values are entered as:
Isotropic Thermal Conductivity: 1.46 W m-1 K -1 (According to the given values)
Isotropic Resistivity: 1.64e-5 Ω m (According to the given values)
Isotropic Seebeck Coefficient: 187e-6 V K-1 (According to the given values)
Create n-type by duplicating the p-type. Right-click on p-type in the Outline of Schematic A2 and
select Duplicate. A duplicate of the p-type material will appear below named p-type 2. Rename
this material to n-type. The value of the Isotropic Seebeck Coefficient is now changed to the
negative as –187e-6.
In the Properties of Outline Row 5: n-type: make sure the final values to be as:
Isotropic Thermal Conductivity: 1.46 W m-1 K -1 (According to the given values)
Isotropic Resistivity: 1.64e-5 Ω m (According to the given values)
Isotropic Seebeck Coefficient: –187e-6 V K-1 (According to the given values)
Create ceramic material by repeating the process as in creating the p type with the following
properties
Isotropic Thermal Conductivity: 27 W m-1 K -1 (According to the given values)
Create Resistance material by repeating the process as in creating the p type with the following
properties
Isotropic Resistivity: 1.822*E-7 Ω*m
RLoad = Rint (only for maximum load condition)
ρLoad*(LLoad/ALoad) = ρint*(Lint/Aint) (int = legs)
ρint = ρpleg + ρpleg + ρnleg + ρnleg = 4* ρpleg (If ρpleg = ρnleg ) (Resistance in series)
Lint = 2 mm (According to the Solid works Model)
Aint = 1mm*1mm (According to the Solid works Model)
LLoad = 4.5mm (According to the Solid works Model)
ALoad = 0.1mm*1mm (According to the Solid works Model)
ρLoad = ρint*(Lint/Aint) * (ALoad/LLoad)
ρLoad = ρpleg*4 * (2mm/1mm^2) * ((0.1mm^2)/4.5mm)
ρLoad = 4.5E-6 Ω*m (for ρpleg = 1.27e-5 Ω m)
Click on the ‘Return to Project’ icon in the menu bar to return to the Project.
Save the project.
13
3.2 Creating the Geometry
Right click the on the geometry > import geometry > Import the original Solidworks Assembled
file.
In the Outline pane right-click on Mesh and select Update. This may take several seconds.
With mesh options
Mesh Relevance Center> medium
Close the model window
Now, link the solution of the CFX model to the thermal-electric setup
In order to do this, click and drag the solution bar and drop it onto the setup bar in thermal-
electric
14
3.4 Input conditions- Setup
Double click on the setup bar (if prompted to update, say YES)
In the Outline pane, expand Stead-State Thermal-Electric Conduction (B5), right click on
imported load, select Insert and click on Temperature. (you will see a new imported
temperature in the outline pane)
Click on imported temperature > details of imported temperature > geometry > select the hot
side surface (ceramic) > apply
Go to transfer definition > CFD surface > select default-default solid interface in ceramic side 1
Right click imported temperature, click import load
Right click on Stead-State Thermal-Electric Conduction (B5), insert temperature
In the details of temperature window, go to geometry > select cold side surface (other ceramic)
> apply
Go to definition > magnitude = 300 K
Right click on Stead-State Thermal-Electric Conduction (B5), insert voltage
Click on the resistance body then right click on the body and select hide body
Select the face of the cross sectional area of copper on the pleg side as shown in the figure
Input the value of input voltage to be 0V
15
Right click on solution > insert > thermal > temperature
Right click on solution > insert > Probe > Reaction probe (For hot side)
Right click on solution > insert > Probe > Reaction probe (For cold side)
Right click on solution > solve
Once the solver has completed its tasks, click on any of the solutions (Temperature, Total
Current Density, etc.) to display the results.
The power output is the sum of magnitudes obtained from the reaction probes.
16
For a TEC, the input conditions change. In place of the external load resistance, there will be a 0V
(ground) on one side of the copper while there is a current input on the other side. A cooling power
is obtained from the input current. This input current depends on the given conditions.
The power output is then maximized with respect to the load resistance in TEG and with respect to
the input current in a TEC.
17