This tutorial was completed using ANSYS 7.0 The purpose of this tutorial is to outline a simple coupled thermal/structural analysis. A steel link, with no internal stresses, is pinned between two solid structures at a reference temperature of 0 C (273 K). One of the solid structures is heated to a temperature of 75 C (348 K). As heat is transferred from the solid structure into the link, the link will attemp to expand. However, since it is pinned this cannot occur and as such, stress is created in the link. A steady-state solution of the resulting stress will be found to simplify the analysis.
Loads will not be applied to the link, only a temperature change of 75 degrees Celsius. The link is steel with a modulus of elasticity of 200 GPa, a thermal conductivity of 60.5 W/m*K and a thermal expansion coefficient of 12e-6 /K.
Preprocessing: Defining the Problem
According to Chapter 2 of the ANSYS Coupled-Field Guide, "A sequentially coupled physics analysis is the combination of analyses from different engineering disciplines which interact to solve a global engineering problem. For convenience, ...the solutions and procedures associated with a particular engineering discipline [will be referred to as] a physics analysis. When the input of one physics analysis depends on the results from another analysis, the analyses are coupled."
Thus, each different physics environment must be constructed seperately so they can be used to determine the coupled physics solution. However, it is important to note that a single set of nodes will exist for the entire model. By creating the geometry in the first physical environment, and using it with any following coupled environments, the geometry is kept constant. For our case, we will create the geometry in the Thermal Environment, where the thermal effects will be applied.
Although the geometry must remain constant, the element types can change. For instance, thermal elements are required for a thermal analysis while structural elements are required to deterime the stress in the link. It is important to note, however that only certain combinations of elements can be used for a coupled physics analysis. For a listing, see Chapter 2 of the ANSYS Coupled-Field Guide located in the help file.
The process requires the user to create all the necessary environments, which are basically the preprocessing portions for each environment, and write them to memory. Then in the solution phase they can be combined to solve the coupled analysis.
Thermal Environment - Create Geometry and Define Thermal Properties
- Give example a Title
Utility Menu > File > Change Title ...
/title, Thermal Stress Example - Open preprocessor menu
ANSYS Main Menu > Preprocessor
/PREP7 - Define Keypoints
Preprocessor > Modeling > Create > Keypoints > In Active CS...
K,#,x,y,zWe are going to define 2 keypoints for this link as given in the following table:Keypoint Coordinates (x,y,z) 1 (0,0) 2 (1,0) - Create Lines
Preprocessor > Modeling > Create > Lines > Lines > In Active Coord
L,1,2Create a line joining Keypoints 1 and 2, representing a link 1 meter long. - Define the Type of Element
- Define Real Constants
- Cross-sectional area AREA: 4e-4
- Define Element Material Properties
Preprocessor > Material Props > Material Models > Thermal > Conductivity > IsotropicIn the window that appears, enter the following geometric properties for steel: - KXX: 60.5
- Define Mesh Size
Preprocessor > Meshing > Size Cntrls > ManualSize > Lines > All Lines...For this example we will use an element edge length of 0.1 meters. - Mesh the frame
Preprocessor > Meshing > Mesh > Lines > click 'Pick All' - Write Environment
The thermal environment (the geometry and thermal properties) is now fully described and can be written to memory to be used at a later time.
Preprocessor > Physics > Environment > WriteIn the window that appears, enter the TITLE Thermal and click OK. - Clear Environment
Preprocessor > Physics > Environment > Clear > OKDoing this clears all the information prescribed for the geometry, such as the element type, material properties, etc. It does not clear the geometry however, so it can be used in the next stage, which is defining the structural environment.
Structural Environment - Define Physical Properties
Since the geometry of the problem has already been defined in the previous steps, all that is required is to detail the structural variables.
- Switch Element Type
- Define Element Material Properties
Preprocessor > Material Props > Material Models > Structural > Linear > Elastic > IsotropicIn the window that appears, enter the following geometric properties for steel: - Young's Modulus EX: 200e9
- Poisson's Ratio PRXY: 0.3
- ALPX: 12e-6
- Write Environment
The structural environment is now fully described.
Preprocessor > Physics > Environment > WriteIn the window that appears, enter the TITLE Struct
This will switch to the complimentary structural element automatically. In this case it is LINK 8. For more information on this element, see the help file. A warning saying you should modify the new element as necessary will pop up. In this case, only the material properties need to be modified as the geometry is staying the same.
Solution Phase: Assigning Loads and Solving
- Define Analysis Type
- Read in the Thermal Environment
- Apply Constraints
- Solve the System
- Close the Solution Menu
- Read in the Structural Environment
- Apply Constraints
- Include Thermal Effects
Solution > Define Loads > Apply > Structural > Temperature > From Therm AnalyAs shown below, enter the file name File.rth. This couples the results from the solution of the thermal environment to the information prescribed in the structural environment and uses it during the analysis. - Define Reference Temperature
Preprocessor > Loads > Define Loads > Settings > Reference TempFor this example set the reference temperature to 273 degrees Kelvin. - Solve the System
ANTYPE,0
SOLVE
SOLVE
Postprocessing: Viewing the Results
- Hand Calculations
Hand calculations were performed to verify the solution found using ANSYS:
As shown, the stress in the link should be a uniform 180 MPa in compression. - Get Stress Data
Since the element is only a line, the stress can't be listed in the normal way. Instead, an element table must be created first.General Postproc > Element Table > Define Table > Add
Fill in the window as shown below. [CompStr > By Sequence Num > LS > LS,1
ETABLE,CompStress,LS,1 - List the Stress Data
General Postproc > Element Table > List Elem Table > COMPSTR > OK
PRETAB,CompStr
The following list should appear. Note the stress in each element: -0.180e9 Pa, or 180 MPa in compression as expected.ANSYS Command Listing
finish
/clear
/title, Thermal Stress Example
/prep7 ! Enter preprocessor
k,1,0,0 ! Keypoints
k,2,1,0
l,1,2 ! Line connecting keypoints
et,1,link33 ! Element type
r,1,4e-4, ! Area
mp,kxx,1,60.5 ! Thermal conductivity
esize,0.1 ! Element size
lmesh,all ! Mesh line
physics,write,thermal ! Write physics environment as thermal
physics,clear ! Clear the environment
etchg,tts ! Element type
mp,ex,1,200e9 ! Young's modulus
mp,prxy,1,0.3 ! Poisson's ratio
mp,alpx,1,12e-6 ! Expansion coefficient
physics,write,struct ! Write physics environment as struct
physics,clear
finish
/solu ! Enter the solution phase
antype,0 ! Static analysis
physics,read,thermal ! Read in the thermal environment
dk,1,temp,348 ! Apply a temp of 75 to keypoint 1
solve
finish
/solu ! Re-enter the solution phase
physics,read,struct ! Read in the struct environment
ldread,temp,,,,,,rth ! Apply loads derived from thermal environment
tref,273
dk,1,all,0 ! Apply structural constraints
dk,2,UX,0
solve
finish
/post1 ! Enter postprocessor
etable,CompStress,LS,1 ! Create an element table for link stress
PRETAB,CompStress ! Print the element table
No comments:
Post a Comment