Thermal Analysis Using MSC SimXpert R3.2 Course Notes
Thermal Analysis Using MSC SimXpert R3.2 Course Notes
Software Corporation
Europe Corporate Asia Pacific
MSC.Software GmbH MSC.Software Corporation MSC.Software Japan Ltd.
Am Moosfeld 13 2 MacArthur Place Shinjuku First West 8F
81829 Munich, Germany Santa Ana, CA 92707 USA 23-7 Nishi Shinjuku
Telephone: (49) (89) 43 19 87 0 Telephone: (800) 345-2078 1-Chome, Shinjuku-Ku
Fax: (49) (89) 43 61 71 6 Fax: (714) 784-4056 Tokyo 160-0023, JAPAN
Telephone: (81) (3)-6911-1200
Fax: (81) (3)-6911-1201
MSC.Software Corporation reserves the right to make changes in specifications and other information contained in this
document without prior notice. The concepts, methods, and examples presented in this text are for illustrative and
educational purposes only, and are not intended to be exhaustive or to apply to any particular engineering problem or
design. MSC.Software Corporation assumes no liability or responsibility to any person or company for direct or indirect
damages resulting from the use of any information contained herein.
Copyright © 2007 MSC.Software Corporation. All Rights Reserved. This notice shall be marked on any reproduction of
this documentation, in whole or in part. Any reproduction or distribution of this document, in whole or in part, without the
prior written consent of MSC.Software Corporation is prohibited.
The MSC.Software corporate logo, Adams, Dytran, Easy5, Fatigue, Laminate Modeler, Marc, Mentat, MD Nastran, MD
Patran, MSC, MSC Nastran, Mvision, Patran, SimDesigner, SimEnterprise, SimManager, SimXpert and Sofy are
trademarks or registered trademarks of the MSC.Software Corporation in the United States and/or other
countries. NASTRAN is a registered trademark of NASA. All other trademarks belong to their respective owners.
2
CONTENTS
Section Pages
3
Copyright 2009 MSC.Software Corporation
4
SECTION 1
INTRODUCTION TO
MSC SimXpert THERMAL
ANALYSIS
vs
Coupled Fields
T1 T1 q T2 T1 T2
k t
● The MD Nastran Thermal steady-state equation derived from this equation is
[ K ]{T } R
[ ]{T Tabs }4 {P} { N }
● This is a nonlinear matrix equation. It is solved using the Newton-Raphson
iteration scheme. In concert with the Newton-Raphson method, the following
options are provided to improve the efficiency of the iteration process.
● Tangential matrix update strategy
● Line search method
● Bisection of loads
● Quasi-Newton (BFGS) updates
● This equation, and its solution, are described in Section 7.
k t
● The MD Nastran Thermal transient equation derived from this equation is
[ B ]{T
} [ K ]{T } [ R]{T Tabs }4 {P} { N }
● This is a nonlinear matrix equation. It is solved using the Newton-Raphson
iteration scheme. In concert with the Newton-Raphson method, the
following options are provided to improve the efficiency of the iteration
process.
● Tangential matrix update strategy
● Line search method
● Bisection of loads
● Quasi-Newton (BFGS) updates
● This equation, and its solution, are described in Section 7.
SMX124, Section 1, January 2009
Copyright 2009 MSC.Software Corporation S1-13
SMX124, Section 1, January 2009
Copyright 2009 MSC.Software Corporation S1-14
SECTION 2
CONDUCTION
WITH
ELEMENTS, MATERIALS,
CONSTRAINTS, LOADING
k t
SMX124, Section 2, January 2009
Copyright 2009 MSC.Software Corporation S2-4
SUPPORTED ELEMENT TOPOLOGIES
● Element types
● The MD Nastran SOL 153 and SOL 159 elements are
isoparametric
1D 2D 3D Axisym
CBAR CQUAD4 CHEXA CTRIAX6
CBEAM CQUAD8 CPENTA
CBEND CTRIA3 CTETRA
CONROD CTRIA6
CROD
CTUBE
34
● Isoparametric element with 1 dimension, (r) 12
1 2 35
r 13
r = -1 0 r=1
h1 (1 r ) / 2 , h2 (1 r ) / 2
● Element conduction matrix
● where
( j) 34
● [ k ]e = element j conduction matrix 12
( j)
● [ B ] = element j temperature gradient
35
interpolation matrix 13
( j)
● [k ] = element j thermal conductivities
● The integration is over the volume of element j
● An example is
[0]
[0]
[0]
( j)
Ak 1 1
[k ](e j )
[0]
[0]
1
L 1
SMX124, Section 2, January 2009
[0]
[0]
[0]
Copyright 2009 MSC.Software Corporation S2-7
SUPPORTED ELEMENT TOPOLOGIES (Cont.)
● 2D element 55
34 33
56
11 34
57
● Isoparametric element with 2 dimensions, (r,s) 12 35
2 s 13
1
s=1
0 r
3
s = -1 4
r = -1 r=1
[k ](e j ) [ B]( j )T [k ]( j ) [ B ]( j ) dV ( j )
V ( j)
[k ](e j ) [ B]( j )T [k ]( j ) [ B ]( j ) dV ( j )
V ( j)
[name ] [ X ij ]
● where the elements Xij may be real or complex (real and imaginary part). The
matrix is defined by a single header entry and one or more column entries. Only
one header is required. A column entry is required for each column with nonzero
elements.
● For more information see the MD Nastran Quick Reference Guide.
[k ]e
( j)
[ B ] ( j )T
[ k ]( j ) [ B ]( j ) dV ( j )
V( j)
● Sum the element conduction matrices
[ K ] [ k ](e j )
j
[ K ]{T } {P}
Derive element conduction matrices from Apply boundary conditions to constrain the
material properties, element properties, and geometry model
Assemble all element conduction matrices into a Solve the matrix equation [K] {T} = {P} for
global conduction matrix [K] nodal temperature
k t
● The MD Nastran Thermal transient equation derived from this equation is
[ B ]{T
} [ K ]{T } [ R]{T Tabs }4 {P} { N }
● This is a nonlinear matrix equation. It is solved using the Newton-Raphson
iteration scheme. In concert with the Newton-Raphson method, the
following options are provided to improve the efficiency of the iteration
process.
● Tangential matrix update strategy
● Line search method
● Bisection of loads
● Quasi-Newton (BFGS) updates
● This equation, and its solution, are described in Section 7.
SMX124, Section 4, January 2009
Copyright 2009 MSC.Software Corporation S4-5
TRANSIENT TEMPERATURE CONSTRAINTS
● The Defaults For Temperature
BC form was shown for the
section on conduction
● The material given in the section
on conduction is repeated here
● The Temperature entry was used
to specify a constant
temperature
● The Temp vs Time scaling
function entry is discussed now
● Normal Flux
● Can select Select or Create
● Select TABLED1_1
● Click OK
● Click Store, then click Exit
● Volumetric Heat
● Specify the application region using the
Create Volumetric Heat pick panel
● Select an entity type to screen pick, e.g.
Elements
● Screen pick the elements to apply the
internal heat generation to
● Click Done, then click Exit
● Stefan-Boltzmann equation
EbdT 4
Eb
0
● where
● = Stefan-Boltzmann constant
A1 dA1
4 4 cos cos 2
q ( T T ) 1 dA dA
12 1 2 2 1 2
A1 A2 r
● Reciprocity theorem AF A F
i ij j ji
● In general F F
ij ji
n
● Net radiation from Ai to other q
i , net Ai Fik ( Ebi Ebk )
k 1, k i
surfaces in enclosure n
● Sum of Fik for enclosure Fik
1
k 1, k i
● Radiation enclosures
● Temperature dependent emissivity (=
)
● Diffuse surface view factor calculations with self and
3rd-body shadowing
● Radiation in enclosures
● Access the enclosure radiation face
form using the LBCs tab, then the LBC
group.
● The Defaults For Encl Rad Face form
appears
● Shell surface option -- for specifying
what face the radiation is emitted from.
● Front
● Back
SMX124, Section 5, January 2009
Copyright 2009 MSC.Software Corporation S5-40
RADIATION IN ENCLOSURES (Cont.)
● Radiation in enclosures
● Shading option -- for specifying
what is to be shaded or what is
to shade.
● None
● The face cannot shade or
be shaded by other faces
● Can shade
● The face can shade other
faces
● Can be shaded
● The face can be shaded by
other faces
● Both
● The face can shade and be
shaded by other faces
Subelem (b-dir) = 2
Subelem (g-dir) = 4
where As = area of
subelement s, and drs =
distance between subelement
r and subelement s.
● GITB
● Gaussian integration order to
be used for calculating net
effective view factors with
third –body shadowing.
● Select file
multiple_enclosures.bdf
SMX124, Section 5, January 2009
Copyright 2009 MSC.Software Corporation S5-52
CASE STUDY: THREE RAD ENCLOSURES
● Display the four 2D elements showing their node numbers
1 2 3
k t
● A transition is made from this equation (strong form) to a variational
formulation (weak form). The matrix equation corresponding to the
variational formulation is
[ B ]{T
} [ K ]{T } {F }
● where, [B] and [K] are the heat capacity and conduction matrices
● {T} and {F} are the temperature and heat load vectors
● The MD Nastran Thermal steady-state equation derived from this
equation is
[ K ]{T } R
[ ]{T Tabs }4 {P} {N }
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-5
STEADY-STATE FORMULATION STEPS (Cont.)
● This is a nonlinear matrix equation. It is solved using the Newton-
Raphson iteration scheme. A residual load vector function is defined as
the difference between the applied thermal load vector and the thermal
load vector due to element temperature.
{T}
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-6
STEADY-STATE FORMULATION STEPS (Cont.)
● The Taylor series expansion is evaluated at the temperatures for the
(i + 1)-th iteration, and set equal to zero.
i
{R} i1
{R({T} )} {R({T} )} ({T} {T} ) {0}
i
1 i i
{T}
● From this the following equation is arrived at.
[ KT ] {T } {R}
i i i
● where
i 1
{T } {T }
i
{T } i
i
{N }
[ K T ]
[ K ] 4[ R] {T Tabs }
i i
i
i 3
{T }
● Note
SMX124, Section 7, January 2009
{T }i1 {T }i {T }i
Copyright 2009 MSC.Software Corporation S7-7
STEADY-STATE FORMULATION STEPS (Cont.)
● This is an iterative process, not linear. Start with i = 0. Thus, the first
equation to be solved is
[KT ]0{T}0 {R}0
● From the solution to this equation the next temperature vector is
found from 1 0
{T} {T} {T}
0
[ K T ] {T } {R}
1 1 1
P+N
1
1 KT 1
R1
KT 0
R0 F1
F0
T 0 T 1
SMX124, Section 7, January 2009 T0 T1 T2 Tm T
Copyright 2009 MSC.Software Corporation S7-9
STEADY-STATE FORMULATION STEPS (Cont.)
● Since matrix decomposition is time consuming, MD Nastran does not
update the left-hand side matrix at each iteration. The tangential matrix
is updated only when the solution fails to converge or the iteration
efficiency can be improved. However, the residual vector is updated at
each iteration.
● In concert with the Newton-Raphson method, the following options are
provided to improve the efficiency of the iteration.
● Tangential matrix update strategy
● Line search method
● Bisection of loads
● Quasi-Newton (BFGS) updates
j
a) Est # iters to converge > MAXITER,
# iters to
For iteration b) Est time to converge with current >
“j”
converge [ KT ] j updated if Est time to converge with update, or
estimated
c) Solution process diverges
T Automatic
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-13
STEADY-STATE CONVERGENCE (Cont.)
● Convergence of nonlinear steady-state solution process
● Iteration control
● The Matrix Update Method field is used to specify the tangential matrix
update strategy. Three separate options may be selected.
● Semi-Automatic -- this option is identical to the AUTO option except that the
program updates the tangential matrix after the first iteration.
● Controlled Iters -- the program updates the tangential matrix at every KSTEPth
iteration and on convergence if KSTEP < MAXITER. However, the tangential matrix
is never updated if KSTEP > MAXITER. Note that the Newton-Raphson method is
obtained if KSTEP = 1, and the modified Newton-Raphson method is selected by
setting KSTEP = MAXITER.
F
j
For iteration
“j” [ KT ] j updated every KSTEPth iteration or at
convergence if KSTEP <= MAXITER
T Controlled Iters
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-14
STEADY-STATE CONVERGENCE (Cont.)
● Convergence of nonlinear steady-state solution process
● Iteration control
● The number of iterations for a load increment is limited to MAXITER. If the solution
does not converge in MAXITER iterations, the current load increment is bisected and
the analysis for that increment is repeated.
F
P+N
f2(P + N)
f1(P + N)
T
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-15
STEADY-STATE CONVERGENCE (Cont.)
● Convergence of nonlinear steady-state solution process
● Iteration control
● The divergence rate is defined as the ratio of energy error before and at the end of
the current iteration, i+1
● The divergence parameter for the i-th iteration, NDIVi , is incremented as follows
● The solution for the current load increment is taken as diverged when NDIVfinal >=
MAXDIV
ITERATIONS Iteration i
q {| |}T {| T |}
EU
1 q {| |}T {| T |}
● where the weighting function {is defined as the square root of the diagonal
terms of the tangent matrix.
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-18
STEADY-STATE CONVERGENCE (Cont.)
● Convergence of nonlinear steady-state solution process
● Convergence criteria
● Load error function
● The load error function is defined as
{| R |}
T
{| T |}
EP
{| P|}T
{| T |}
● where
{| P
|} {| Pld |} {| Pld |}
● where {Pld} is the applied thermal load at the previous load step, and {Pld} is the
incremental load.
{| R |}T {| T |}
EW
{| P |}T
{| T |}
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-19
STEADY-STATE CONVERGENCE (Cont.)
● Convergence of nonlinear steady-state solution process
● Convergence criteria
● Using the error functions
● At every iteration, error functions are evaluated and the results printed in
the convergence table under the headings EUI, EPI, and EWI. The
convergence test is performed by comparing the value of the error
functions with the convergence tolerances, e.g.
● E U < EPSU ?
● E P < EPSP ?
● EW < EPSW ?
● where the value of EPSU, EPSP, and EPSW are tolerances specified in
the MSC SimXpert Subcase Parameters form. The solution has converged
if these tests are satisfied. Note that only those criteria selected by the user
(specified in the Convergence Criteria part of the form) are used to check
for convergence. The tolerances should not be too restrictive so that many
more iterations are performed than need to be, or too un-restrictive so that
there is poor accuracy. It is recommended that the default values be used
until better values are found through iteration experience.
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-20
RECOMMENDATIONS FOR STEADY-STATE
● Recommendations
● The following are recommendations, designed to aid the user.
● Highly nonlinear radiation problems
● It is advised to use NLPARM,ID,NINC,DT,KMETHOD,KSTEP,…; where NINC = 1,
KMETHOD = ITER, and KSTEP = 1. This will cause the tangent conduction matrix
to be calculated for each iteration.
● NLPARM settings for problems that do not involve a high-degree of nonlinear
radiation
● NLPARM,ID,NINC,DT,KMETHOD,KSTEP,MAXITER,…; where NINC = 1,
KMETHOD = AUTO, KSTEP = 5, and MAXITER = 25.
● Also, for some of these problems, the iterative solution is sensitive to the initial
temperature guess. It is recommended to overshoot (i.e., make a high initial guess)
the estimated solution temperature vector.
k t
● A transition is made from this equation (strong form) to a variational
formulation (weak form). The matrix equation corresponding to the
variational formulation is
[ B ]{T
} [ K ]{T } {F }
● where, [B] and [K] are the heat capacity and conductivity matrices
● {T} and {F} are the temperature and heat load vectors
● The MD NASTRAN Thermal transient equation derived from this
equation is
[ B ]{T } [ K ]{T } [R ]{T Tabs } {P} { N }
4
● The residual load vector function, at a given time, is equal to zero for
the solution temperature vector at that time. The task is to determine
the solution temperatures and their rates. The residual load vector
function is approximated by its first-order Taylor series expansion
about the temperature vector from the i-th iteration, for the n+1 time
point (the solution is known for time point n).
i
{R}
{Rn1} {Rn 1} ({Tn1} {Tn1}i )
i
{T}
n
1
● From this the following equation is arrived at.
~ i
[ K T ]n1 {Tn 1 }i {Rn 1}i
● where
{Tn1} {Tn1} {Tn1}
i i
1 i
● Note
{T} n
1
t t
● and, where the approximation for the time derivative is given by
1 1
{Tn1} ({Tn 1} {Tn }) (1 ){Tn }
i i
t
● Another approximation used is
{ N }
[ KT ]n
[ K ]n 4[ R ]n {Tn Tabs }
3
{T }
n
● From the solution to this equation the next temperature vector is found
from
{Tn1}1 {Tn1}0 {Tn1}0
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-29
TRANSIENT FORMULATION STEPS (Cont.)
● Next, use i = 1. The next equation to be solved is
~ 1
[ K T ]n1 {Tn1}1 {Rn 1}1
● From the solution to this equation the next temperature vector is found
from
{Tn1}2 {Tn1}1 {Tn1}1
● This process is repeated until a converged solution is obtained,
{Tn+1}m.
● The process is repeated for the next time point, n+2. (tn+2 = tn+1 +
tn+1). Set {T n+2}0 = {Tn+1}m.
Fn01
Tn01 Tn11
SMX124, Section 7, January 2009 Tn01 ( Tnl ) Tn11 Tn21 Tnm1 T
Copyright 2009 MSC.Software Corporation S7-31
TRANSIENT FORMULATION STEPS (Cont.)
● Since matrix decomposition is time consuming, MD NASTRAN does
not update the left-hand side matrix at each iteration. The tangential
matrix is updated only when the solution fails to converge or the
iteration efficiency can be improved. However, the residual vector is
updated at each iteration.
● In concert with the Newton-Raphson method, the following options are
provided to improve the efficiency of the iteration process:
● Tangential matrix update strategy
● Line search method
● Bisection of loads
● Quasi-Newton (BFGS) updates
|| {Tn } ||
UTOL(default 0.1)
|| {T} ||max
● where || {T
} ||maxis the maximum value of the norms computed from the previous time
steps, and UTOL is a tolerance on the temperature increment specified in MSC
SimXpert.
● If the temperature increment exceeds the tolerance, a proper time step size can
be predicted from the following calculation, where n is the inverse of the
characteristic time.
{Tn }T [ KT ]{Tn }
n n
{Tn }T {H n }
SMX124, Section 7, January 2009
Copyright 2009 MSC.Software Corporation S7-35
TRANSIENT CONVERGENCE (Cont.)
● Convergence of nonlinear transient solution process
● Automatic time stepping
● The next time step is adjusted using
f2(P + N)
[ B ]in 1 update every KSTEPth
bisection solution
f1(P + N) [ K T ]in 1
● The requested criteria (combination of Temperature Error (U), Load Error (P),
and Work Error (W)) are satisfied upon convergence. Note that at least two
iterations are required to check the temperature convergence criterion.
● If the bisection option is used, the time step is bisected upon divergence.
Otherwise, the left-hand side matrices are updated, and the computation for the
current time step is repeated.
● The BFGS update and the line search process are performed in the same way
as in steady state analysis.
● Iteration output
● At each iteration or time step, the related output data are printed
● The divergence parameter for the i-th iteration, NDIVi , is incremented as follows
● The solution for the current time step is taken as diverged when NDIVfinal >=
MAXDIV
ITR DIV Number of occurrences of divergence detected during the adaptive iteration.
NO. BIS Number of bisections executed for the current time interval.
1 C
t |initial (x) 2 p
n k
● where t| initial is the initial time step, n is the modification number of the time scale, x is the
mesh size (dimension of the smallest element), is the material density, Cp is the specific
heat at constant pressure, and k is the thermal conductivity. A suggested value for n is 10.
For highly nonlinear problems a small initial time step size is recommended.
● Numerical stability
● Numerical stability is controlled by the damping parameter . For linear problems = 0 (no
numerical damping) is adequate, but for nonlinear problems a larger value of may be
advisable. Increasing the value of improves numerical stability; however, the solution
accuracy can be reduced. The recommended range of values is from 0.0 to 0.1 (the default
value is 0.01). The numerical damping is specified using PARAM, NDAMP, (value of
This is a Bulk Data PARAM entry.
● Convergence criteria
● At the beginning stages of a new analysis, it is recommended that the defaults be
used for all options. However, all three Error options (UPW) may be selected to
improve the efficiency of convergence. For nonlinear problems with time-varying
boundary conditions, the U Error option must be selected, because the large
conductance (internally generated) affects the calculations of the PW Error functions.
For problems with poor convergence, the tolerances EPSU, EPSP, and EPSW can
be increased within the limits of reasonable accuracy.
● When there is a time varying temperature boundary condition, e.g. time varying
ambient temperature, set the convergence criteria to just “U”. An example of this can
be seen for Example 7b of the exercises (Chapter 5) in the MD Nastran 2002 Thermal
Analysis User’s Guide.