TMG-F 92
TMG-F 92
TMG-F 92
YNAMIC
NCREMENTAL
ONLINEAR
NALYSIS
Volume III:
CFD & FSI
July 2016
ADINA R & D, Inc. owns both this software program system and its documentation. Both the
program system and the documentation are copyrighted with all rights reserved by ADINA R & D,
Inc.
ADINA R & D, Inc. makes no warranty whatsoever, expressed or implied that the Program and its
documentation including any modifications and updates are free from errors and defects. In no
event shall ADINA R & D, Inc. become liable to the User or any party for any loss, including but
not limited to, loss of time, money or goodwill, which may arise from the use of the Program and its
documentation including any modifications and updates.
Trademarks
All other product names are trademarks or registered trademarks of their respective owners.
Copyright Notice
Table of contents
Nomenclature............................................................................................................11
Index 514
Nomenclature
Time = s , second
Length = m , meter
Mass = kg , kilogram
Temperature = K , Kelvin
Velocity = m s , meters per second
Density = kg m3 , kilogram per cubic meter
Pressure = Pa = N m 2 , Pascal
Force = N = kg-m s 2 , Newton
Energy = J = N-m, Joule
Power = W = N-m s , Watt
Electric potential = V, Volt
[.] = dimensionless
L* = length scale
V = velocity scale
D = density scale
C = specific heat scale
T = temperature scale
* = mass-ratio scale
xr = ( xr , yr , zr ) , reference vector of coordinates
r = reference temperature
*
= electric potential scale ( 1 here )
Nondimensional
Notation Explanation Typical unit
form
1
vi v , specific kinetic
b 2 m 2 s 2 b V
2
energy
2
D2 g L3 T C k 2 ,
Bo [.] Bo
Boussinesq number
2
Br
V kT , Brinkman [.] Br
number
c p , sound speed [ m s] c V*
empirical constant in
c1 [.] c1
K - turbulence model
parameters for
temperature units such
c1 , c2 that c1 + c2 is in an
absolute temperature
scale
empirical constant in
c2 [.] c2
K - turbulence model
empirical constant in
c3 [.] c3
K - turbulence model
c empirical constant in c
[.]
K - turbulence model
V , Capillary
Ca [.] Ca
number
Cp specific heat at constant m 2 s 2 -K Cp C
pressure
specific heat at constant m 2 s 2 -K
Cv Cv C
volume
C specific heat scale m 2 s 2 -K 1
diffuse reflectivity of
d [.] d
specular radiation
empirical constant in
d w+ [.] d w+
turbulence models
e e eij eij ,
D deformation rate (or shear [1 s] DL V
rate)
diffusion coefficient
D tensor in mass transfer [ kg m-s ] D ( DV L )
equations
D density scale kg m3 1
e specific internal energy m 2 s 2 e V
2
emittance of specular
e [.] e
radiation
2 ( v + v ) , velocity
1 T
e [1 s] eL* V
strain tensor
axis vector of moving
ei [.] ei
Cartesian frame
2 v i v + e , specific total
1
E m 2 s 2 E V
2
energy
axis vector of fixed
Ei [.] Ei
Cartesian frame
2 v r i v r + e , variable
1
energy in axisymmetric
planes
2
V C T , Eckert
Ec [.] Ec
number
view factor in radiation
f [.] f
heat transfer
f vapor fraction [.] f
centrifugal force or
fc Coriolis force per unit m3 fc L ( DV )
2
volume
body force per unit m3 2
fB f B L ( DV )
volume
buoyancy force per unit m3 2
fbB fbB L ( DV )
volume
H E + p , enthalpy m 2 s 2 H V
2
2
pvl condensation pressure [Pa] pvl ( DV )
DV LC k , Peclet
Pe [.] Pe
number
Pr C k , Prandtl number [.] Pr
q k , heat flux vector W/m
2
q ( DV T C )
rate of heat generated per W/m3
qB q B L ( DV T C )
unit volume
Q heat [W] Q ( DV T C L )
2
radiation
t time step size [s] tV L
tc critical time step size [s] tc V L
T temperature scale [K] 1 r T
x -component velocity, or
u
normal velocity
[ m s] u V
y -component velocity,
v [ m s] v V
or tangential velocity
v velocity vector [ m s] v V
dimensionless tangential
v+ velocity in turbulent wall [.] v+
functions
shear velocity in near
v
wall regions
[ m s] v V
V velocity scale [ m s] 1
z -velocity, or second
w tangential velocity, or [ m s] w V
wave speed
w mesh velocity vector [ m s] w V*
averaged mesh velocity
wn on the interface of control [ m s] wn V
volumes
first coordinate of
x [m] ( x xr ) L
position vector
x position vector [m] (x xr ) / L
center of rotational
x0 coordinate frame, or [m] (x0 xr ) / L
reference datum location
coordinates of position
xi [m] ( xi xr ) L
vector
reference datum of
xr [m] 0
x-coordinate
reference datum of
xr [m] 0
coordinate vector
y second coordinate of [m] ( y yr ) / L
position vector
dimensionless normal
y+ [.] y+
distance near walls
dimensionless normal
y + [.] y +
size of near-wall element
dimensionless near-wall
yw+ location used in turbulent [.] yw+
wall boundary conditions
reference datum of
yr y -coordinate [m] 0
third coordinate of
z [m] ( z zr* ) L
position vector
reference datum of
zr [m] 0
z -coordinate
1 , = ratio of
[.]
specific heats
parameter in time
[.]
integration -method
empirical constant in
[.]
K - turbulence model
number of neighboring
nodes, typically 8, 25, 30
m and 125 for elements of [.] m
node=3, 9, 4 and 27,
respectively
empirical constant in
[.]
K - turbulence models
( d d ) , thermal
expansion coefficient in [1 K ] T
Boussinesq
approximation
( d di ) , mass
i expansion coefficient in i
buoyancy force
empirical constant in
K [.] K
K - turbulence models
empirical constant in [.]
K - turbulence models
empirical constant in
[.]
K - turbulence models
ij Kronecker delta [.] ij
dissipation rate of m 2 s3
3
turbulence
L V
fluid potential m 2 s (V L )
mass-ratio of the i-th
i [.] i *
species
Euler angle in cylindrical
[.]
coordinate system
porosity of porous media [.]
electric potential [V] *
* electric potential scale [V] 1
* mass-ratio scale 1
C p Cv , ratio of specific
[.]
heats
fluid viscosity [ kg m-s ] ( DV L )
, ratio of the fluid
2* [.] 2*
viscosities
dp d , fluid bulk 2
[Pa] ( DV )
modulus of elasticity
von Karman constant in
0 [.] 0
turbulence modelings
permeability tensor of m 2 2
L
porous media
second fluid viscosity [ kg/m-s] ( DV L )
stress relaxation factor in
fluid-structure interaction [.]
problems
displacement relaxation
d factor in fluid-structure [.] d
interaction problems
empirical constant in
K [.] K
turbulence models
empirical constant in
[.]
K - turbulence model
empirical constant in
[.]
turbulence models
empirical constant in
[.]
K - turbulence model
( p + i v ) + 2 e , 2
[Pa] ( DV )
fluid stress
ps I , kinetic stress, 2
k [Pa] k ( DV )
ps = hydrostatic pressure
p + v ,
2
m mathematical formulation [Pa] m ( DV )
of fluid stress
magnitude of angular
velocity vector
[1 s] L V
Other notations
Notation Explanation
used as subscripts indicating directions of Cartesian coordinates;
i, j, k
repeated indices also mean summations unless noted otherwise.
used as a subscript to indicate a fluid variable when it becomes
f
necessary
used as a subscript to indicate a solid variable when it becomes
s
necessary
r used as a subscript to indicate a relative variable
a used as a subscript to indicate a variable in axisymmetric cases
a nondimensional representation of a variable a
indicates that the value of a is specified as an input parameter in
a
boundary conditions
a indicates that the value of a is defined along fluid-structure
interfaces only
t used as a left superscript to indicate a solution time
X
unless specified otherwise, it is defined as x
i
2
i , Euclidean
Chapter 1 Introduction
In this Theory and Modeling Guide, the theoretical bases and guidelines
for the use of the ADINA CFD and FSI capabilities are presented. These
capabilities are implemented in ADINA-F program code. Hence, we use
the term ADINA-F throughout this Guide to refer to CFD and FSI
capabilities.
Hence, this manual has been compiled to provide a bridge between the
actual practical use of the ADINA-F program and the theory documented in
various publications. Much reference is made to the book Finite Element
Procedures (ref. KJB) and to other publications but we endeavored to be
specific when referencing these publications so as to help you to find the
relevant information.
Category Capability
incompressible, slightly compressible and low-speed compressible
flow models
high-speed compressible flow model
Fluid models K - and K - turbulence models
Note: Heat transfer flow through porous media
must be included in solid element groups
compressible flow heat transfer
models. mass transfer
electro-static and steady current conduction analyses
volume of fraction
liquid-vapor phase change
ADINA solid model: mechanical interaction, porous media
interaction, and thermal interaction
porous medium element groups can be coupled with
incompressible, slightly compressible and low-speed compressible
Coupled models flow models
heat transfer can be included in fluid models
mass transfer can be included in fluid models
fluid and heat transfer are coupled with electro-static and steady
current conduction
Computational domains 2D planar, 2D axisymmetric and 3D
Analyses steady-state and transient
Galerkin 2D 3/6/9-node elements
Elements or control Galerkin 3D 4/29-node elements
volumes FCBI and FCBI-C 2D 3/4-node elements
FCBI and FCBI-C 3D 4/5/6/8-node elements
Constant, time-dependent, temperature-dependent, pressure-
Material models dependent, pressure-temperature-dependent, non-Newtonian,
velocity-dependent, user-supplied, etc.
prescribed solution variables, zero solution variables, zero flux of
solution variables, prescribed rotational velocity, concentrated
force load, distributed normal-traction load, field centrifugal load,
concentrated heat flow load, distributed heat flux load, heat and
mass convections, radiation.
Boundary conditions wall, free surface, fluid-fluid interface, phase-change, fluid-
structure interface, gap, specular radiation, thermal resistance,
uniform flow, angular velocity, fan, vent, friction, , user-supplied,
etc.
external flow, supersonic at inlet, subsonic at inlet, supersonic at
outlet, subsonic at outlet, symmetric.
Gauss elimination method (COLSOL)
Solvers for linearized
sparse solver
equations
iterative methods (RPBCG, RPGMRES, and AMG solvers)
+ i( v ) = 0
t
v
+ i( vv ) = f B
t
E
+ i( vE i v + q) = f B i v + q B (2.1)
t
1
E= vi v + e b + e
2
= ( p + i v ) + 2e
e = 12 (v + v )
q = k
f gB = g
= ( p, ), e = e ( p , )
+ vi + i v = 0
t
v
+ viv i = f B
t
Cv + Cv vi + iq = 2 D 2 + Sc + q B (2.2)
t
D = e e eij eij
Sc = i v ( p + i v )
e3
e2
3
e1
x0
Dx = x x 0
x
2
1
e1 (t ) = (t )e 2 (t )
e2 (t ) = (t )e1 (t )
e3 (t ) = 0
x = x0 + x = X 0i Ei + xiei
v = x = X 0i Ei + xiei + xiei
(2.3)
= v 0 + v r + x
where v 0 is the velocity of the frame center, v r is the velocity with respect
to the rotating frame and x is the Coriolis velocity resulting from
the rotation of the frame. It can be further shown that
t = ( v v r )i
i v = iv r
v r iv = v r iv r + v r
e = 12 (v r + v r )
+ v r i + i v r = 0
v
r + v r iv r i = f B + fc
Cv + Cv v r i + iq = 2 D 2 + Sc + q B
We can see that these equations are the same as the nonconservative forms
of the Navier-Stokes equations by simply replacing the velocity v by the
relative velocity v r and adding the additional force term
fc = 0 x 2 v r x
It is further noted that the stress tensor is the same as calculated either
using the velocity or the relative velocity. This observation is in fact the
theoretical basis that these analysis procedures can directly be applied to
fluid domains in fluid-structure interaction analyses.
The equivalent conservative forms of the equations in the rotating frame
are
+ i( v r ) = 0
v r
+ i( v r v r ) = f B + fc
Er
+ i( v r Er i v r + q) = (f B + fc )i v r + q B
E = Er + 12 ( v 0 + x)i( v 0 + x + 2 v r )
This equation indicates that the conditions imposed on the total energy
must be modified if the frame is rotating.
z, x3
Computational domain
for axisymmetric flows
y, x2
e = e a + e a
where
e a = 12 (v + v )
e a = ee v2 y1
D = e e = e a e a + (v2 y1 )
2
= a + a
with
a = p + y1i( yv ) I + 2e a
a = 2e a
a in = in
This equation indicates that the stress computed on the ( y, z ) plane can be
applied, as in three-dimensional space, to structural boundaries in fluid-
structure interaction analyses.
( y )
+ i( y v ) = 0
t
( y v ) + i y ( vv a ) = y f B + fa
t
( y E ) + i y ( vE a i v + q) = y (f B i v + q B )
t
y + i( yv ) + yvi = 0
t
v
y + y viv i( y a ) = yf B + f a
t
yCv + yCv vi + i( yq) = y (2 D 2 + q B ) + Sca
t
where
Sca = i( yv ) p + y 1i( yv )
fa =
( ie ) = e 2 p + y 1i( yv ) + 2v2 y1
2
p v
=
2 w2
= const., e = Cv
i v = 0
v
+ viv i = f B
t
Cv + Cv vi + i q = 2 D 2 + q B
t
= pI + 2e
Mathematical formulation
i = i m
( m )in ( v in)
may not be small along open boundaries. However, it can be small enough
to be negligible near solid walls. Fluid boundary conditions along most
open boundaries comprise either prescribed velocities or applied distributed
normal-traction loads. Therefore, in general, the mathematical formulation
can be used if no distributed normal-traction conditions are applied. For
most practical analyses, mathematical formulation is not recommended.
Boussinesq approximation
= 0 + ( 0 )
1
=
0
f gB = 0 g 1 ( 0 )
In the case where the body force f B and the fluid constitutive relations
do not depend on the temperature, or the temperature variation is small
enough to be negligible in the flow field, the continuity equation and
momentum equations can be solved without simultaneously solving the
energy equation. The temperature field, however, must then be solved with
the calculated fluid velocities. In this case, the fluid flow is decoupled from
the temperature field.
Effect of dissipation
dissipation V * Ec
* *
=
convection Cv D T L Re
2
dissipation V *
= PrEc
diffusion kT *
The effect of the dissipation term can then be neglected if both terms are
small.
For air where Pr 0.7 and Ec M 2 , the dissipation term can be
neglected if the Mach number is very small since the Reynolds number is
usually not small.
For oil, on the other hand, the Prandtl number could be as high as 104 ,
then whether to drop the dissipation term depends on the Eckert number
and the Reynolds number.
Finally, whenever the dissipation is small enough to be negligible, the
Eckert number is generally small and the temperature is weakly coupled to
the flow field.
Hydrostatic pressure
p = ps = g i(x x 0 ) + p0
pk = p ps
In this case, the presence of the hydrostatic pressure may cause instability
in numerical computations. It is then recommended to use the kinetic
pressure instead of the absolute pressure as the solution variable. This
procedure can be enforced by means of simply removing the hydrostatic
pressure term from the gravitational force
fbB = f gB ps = g ( 0 )
The force fbB is called the buoyancy force. Thus, the kinetic pressure
replaces the pressure and the buoyancy force replaces the gravitational
force. Keep in mind that the stress used in the new formulation is not the
physical stress. It is called the kinetic stress and does not contain the
hydrostatic pressure effect
k = + ps I
of the fluid region that is formed by many small holes of possibly different
shapes and sizes. Although the Navier-Stokes equations are valid for flows
through porous media, the simulation of fluid flows through these regions
of small scales is impractical and far beyond the capacity of present day
computers if a large domain is considered.
solid
mean
flow v
fluid
p, vm 2R p+dp
In order to determine the flow properties in porous media, the mean (or
averaged) velocity must be used. During the averaging procedure, an
important property of the porous medium, called permeability, is
introduced.
Let us consider a simple example as shown in the figure above, where
viscous fluid flows through a micro-circular hole are subjected to a constant
pressure drop. The equation that governs the flow can be obtained from
momentum equation
dp m
= y
dx y y y
1 p 2
vm =
4 x
( y R2 )
Integrating the solution along the cross section of the hole, we obtain the
averaged velocity through the hole
1 2 R R 2 p
v =
R2
0 0
vm ydyd =
8 x
Considering that such holes are sparsely located in a porous medium that
has a porosity (the ratio of the volume occupied by the fluid to the
volume of the mixed medium), the averaged velocity in that medium is
R 2 p
v = v =
8 x
F v v + 1 i v = p + f B (2.4)
where
= ij Ei E j
The continuity equations obtained in all sections are valid for the
averaged velocity, which controls the mass conservation of the fluid in the
porous medium considered. In other words, the porous media flows can be
assumed to be incompressible, slightly compressible or compressible.
The energy equations obtained in the previous and later sections are all
valid as well, in both fluid and solid regions in porous media. In order to
obtain an averaged temperature solution, the material properties are
averaged using fluid and solid properties
Cv = ( f Cv f ) + (1 )(sCv s )
k = k f + (1 ) ks
i ip = i if B
This is a type of Poisson equation for pressure. The pressure is then very
much like a velocity potential.
The pressure in porous media sometimes is also called pore pressure.
When the deformability of the solid in porous media is considered, the
p
= 0 1 + , e = Cv (2.5)
where is the fluid density with the compressibility and 0 is the density
at p = 0 . The conservative form of continuity equation remains the same
as that in the general case. The nonconservative form of the continuity
equation in slightly compressible flows can be written as
0 p
+ vip + iv = 0
t
y0 p
+ v ip + i( yv ) = 0
t
The momentum and energy equations for incompressible flows are still
valid.
To be able to further understand the behavior of the slightly
compressible model, let us consider the special case where the velocity is
negligibly small, f B = 0 and is a large constant. The continuity and
momentum equations can be simplified to
0 p
+ 0i v = 0
t
v
0 + p = 0
t
Fluid flows governed by these equations are called acoustic flows. They
can be further simplified by introducing the fluid potential ,
v = , p = 0
t
to
2
= w22 (2.6)
t 2
where w is the wave speed. Eq.(2.6) is called the acoustic equation. This
equation can be solved in general using the ADINA program (see Theory
and Modeling Guide, Volume I: ADINA Solids & Structures).
We can see that the slightly compressible flow model is a more general
version of acoustic flows.
A typical fluid medium of compressible flows is air. The ideal gas law
p = (C Cv ) , e = Cv (2.7)
U
+ i F (U ) + G (U) = C
t
where
0 0
U = v , G = , C = fB
E i v + q f i v + q
B B
(2.8)
0
F(U) F( v, U) = vU + pI
vp
and and H are, respectively, the shear stress and the enthalpy
= + pI = i vI + 2e
p
H =E+
Fn = AU
A = D 1
where the column vectors of the matrix P are right eigenvectors, the row
vectors of the matrix P1 are left eigenvectors and D is the diagonal
matrix which consists of the eigenvalues
1 1 1 0 0
= v + cn v cn v 1 2 (2.9)
H + uc H uc H c 2 v v
1 2
uc + b cn v
uc + b cn v
1
P1 = 2 2c 2 2b 2 v 2 (2.10)
2c 2
2c v1 2 c 2 1 0
2c 2 v 2c 2 2 0
2
= 0 + t , k = k0 + kt
where 0 and k0 are, respectively, the laminar viscosity and the laminar
heat conductivity, while t and kt are their turbulence counterparts,
which are computed as described in the following models.
t C p
t = 2k D2 2 D, kt =
Pr
K2 t C p
t = c , kt =
where K and , being called kinetic energy and rate of dissipation of the
turbulence respectively, are defined as
1
K = v i v , = 0 (v ) (v )
2
( yaK )
+ i y a ( vK q K ) = y a S K
t
( y a )
+ i y a ( v q ) = y a S
t
where a is zero for two- and three-dimensional flows and one for
axisymmetric flows. Other corresponding terms are defined as
q K = 0 + t K
K
q = 0 + t
S K = 2t D 2 + B
S =
2c1t D 2 c2 + c1 (1 c3 ) B
K
B = 0 + t gi
A (1 A / 4.38 )
c1 c1
1 + 0.015 A3
K t C p
t = , kt =
( yaK )
+ i y a ( vK q K ) = y a GK
t
( y a )
+ i y a ( v q ) = y a G
t
where a is zero for two- and three-dimensional flows and one is for
axisymmetric flows. Other corresponding terms are defined as
q = 0 + t
GK = 2t D 2 K K + B
G =
K
( 2 t D 2 K + B )
1 40 + RK 1 10 + R 1 5 18 + R
=h , = h , K = Kh
1 + RK 1 + R 1 + R
where the superscript h indicates the values defined in the high Reynolds
number model and
4
R R R K
RK = t , R = t , R = t , Rt =
6 2.7 8 0
1
E = vi v + e + K
2
2
= p + i v K I + 2e
3
+ +
y y
1
v W ( y ) = ln (1 + 0 y ) + 7.8 1 e 11 11
+ + + y+
e 3
0
where
v + = ( v - w ) / v
y + = v y 0
The main idea behind the SST turbulence model is to combine the
accuracy of the - model in the near wall region and the free stream
independence of the - model. As a result, the SST model delivers an
improved separation prediction and no free stream dependency.
The governing equations for the - model apply to the SST model
without modifications. However, the eddy viscosity is redefined in the
following way:
K
t = s a1
max(a1 , 2 DF2 )
Additionally, the source term in the equation of the SST model, Gs , has
an additional contribution called the cross-diffusion term, C:
Gs = G + C = G + 2 (1 F1 )2 (K ) ( ln )
The functions F1 and F2 are designed to be one near the wall and zero for
the free shear layers
(
( F1 , F2 ) = tanh ( 14 ) , tanh ( 22 ) )
where
K 500
4 K
1 = min
max
,
2
, + 22
K y y C y
2 K 500
2 = max
,
0.09 y y
2
C + = max {C ,1010 }
= F11 + (1 F1 )2
where 1 and 2 are the constants for the K - and the K - model
respectively.
Spalart-Allmaras model
t = f v1
( y a )
+ i y a (v q ) = y aG
t
where
1
q = ( + )
s
2
c
G = cb1S cw1 f w + b 2 ( )i( )
d s
and d is the distance to the closest wall. The related functions are
defined as
3
f v1 = 3
+ c31
S=S+ 2
1
d 1 + f v1
2
1/ 6
1 + cw6 3
f w = g 6
g +c
6
w3
where
=
S = + C prod min (0, e )
e = 2D
= 1
2
( = v (v) ) T
g = r + cw 2 ( r 6 r ) (r = (S d ))
2 2
DES uses a one-equation RANS model (in our case the Spalart-
Allmaras model) which functions as a subgrid scale model (SGS) in
regions where the grid density is fine enough and as a RANS model
in other regions. This is accomplished by replacing the distance to
the wall, d, in the SA model by
d = min(d , CDES )
where 0.61 < CDES < 0.78 (typically 0.65) and is an element
length scale,
(VOL 1/ 3
element ) 3-D
=
( AREA 1/ 2
element ) 2-D
Ky
Ry =
0
where y is the shortest distance from the location to the wall. In the
fully turbulent region ( Ry > Rc ) , the standard K - model is
employed. However, in the near-wall viscous region, a general one-
equation model is employed. In this model, the turbulent viscosity
T and are computed from
1
T = C K 2 l
3
=K 2
l
y A
R
l = cl y 1 e
( )
Ry
l = cl y 1 e A
An indicator of a good mesh for the two-layer zonal model is that the
nondimensional wall distance, y + 1 . Another indication of an
ideal mesh quality is that at least 10 layers of elements are within the
viscous layer. Since the parameter Rc plays a role in switching
between the two models, its values are somewhat flexible. It is more
convenient to specify the number of viscous layers, rather than the
value of Rc . Therefore, we allow the user to input a range of
Rc [ Rc min , Rc max ] , as well as a preferred number of near-wall
layers ( Lw ) . The program adjusts Rc in the given range such that
the number of viscosity-affected element layers is as close to Lw as
possible. It is understandable that, even with the automatic
adjustment, a sufficient number of elements must be placed in near-
wall regions.
The two-layer zonal model is available for the FCBI-C and FCBI
elements and is always associated with the turbulence K - model.
Values of A and A
Cases
FCBI-C elements FCBI elements
3D 105.5 100
2D Axisymmetry 52 19
2D plane 50 70
either i I upper
or i I lower and re min {ee , e -lower }
Mass averages
i
+ i(i v i ) = mi
t
n n n
i
+ i i i = mi
v
t i=0 i=0 i=0
When there is no mass exchange between the considered media and their
environment, the right-hand side of this equation becomes zero. A
comparison of this equation with the general fluid conservative equation
reveals two key concepts in mass transfers, namely, the bulk density and
the bulk velocity of the media. They are defined respectively as
n n
1
= i , v = v
i i
i =0 i =0
According to Ficks law, the deviation of the mass flow rate is proportional
to the corresponding mass concentration gradient
i
+ i( vi Di ii ) = mi
t
i
+ i(i v di ii ) = mi
t
i
+ i(i v di ii ) = mi
t
In this case, the solution variable and the mass creation rate become * i
and *mi respectively. This fact is important for us later to generalize our
approach to mass transfer problems.
In many applications, it is more convenient to use the mass-ratios
i
i =
i
+ i( vi di ii ) = mi
t
Molar averages
Ci m
+ i(Ci v i ) = i
t Mi
Similarly, we can introduce the concepts of the bulk molar density and the
molar averaged velocity respectively by
n
1 n
C = Ci , v = Ci vi
i =0 C i =0
Ci m
+ i(Ci v di iCi ) = i
t Mi
Ci m
+ i(Ci v di iCi ) = i
t Mi
(
variable. When the molar mass of the mixture M = C = i = 0 i M i
n
)
and the bulk molar density C are considered constant, the molar transfer
equation can be represented by
i Mmi
+ i(i v di ii ) =
t Mi
i
+ i( vi Di ii ) = mi
t
n n
= i i i ( i ) (2.12)
i =0 i =0
Based on the choice of solution variables, every term in the equation has a
specific meaning. In particular, irrespective of the choice of the solution
variable, the bulk density has the specific expression given above.
n
0
= 0 + i = n
i =1
1 i
i =1
In the event that the mass-ratios are small, the problem can be well
approximated by choosing i = 0, ( i = 1, 2,..., n ) . In this case, the
fluid equation is separated from the mass transfer equation. If the
mass creations are further zeros, the mass-ratios are decoupled from
each other as well. The resulting equation represents the simplest yet
most popular formulation of mass transfer in incompressible flows.
When the molar-ratio is used for the solution variable, i represents the
molar-ratio i , Di = d i , mi = Mmi M i and the bulk density is also
the physical bulk density. In order to write the bulk density in terms of
molar-ratios, we follow the definitions of molar averages
n
= 0 + i
i =1
Ci M i
n
= 0 + CM
i =1 CM
n
M
= 0 + i i
i =1 M
0
= n
1 ii
i =1
When the solution variable is the mass density, i represents the mass
density i , Di = *di , mi = * mi and bulk density represents any
arbitrary constant * . A reasonable choice is the fluid density 0 .
This formulation can therefore only be applied to incompressible flows.
The obvious choice of the coefficients in the bulk density is 0 = 1
and i = 0, (i = 1, 2,..., n) .
When the solution variable is the molar density, i represents the molar
density Ci , Di = *di , mi = * mi M i and the bulk density
represents any arbitrary constant * . A reasonable choice is the fluid
density 0 . This formulation can therefore only be applied to
incompressible flows. The obvious choice of the coefficients in the
bulk density is 0 = 1 and i = 0, (i = 1, 2,..., n) .
yi
+ i y ( vi Di ii ) = ymi
t
The general procedure to couple the mass transfer solutions with fluid
flow solutions is as follows. We solve the mass transfer equation for
i = 1, 2,..., n and compute the bulk density defined in Eq.(2.12). This
density will be used in the mass transfer equation. Except for the high-
speed compressible flow case, the bulk density will also be used in fluid
equations. In this case, the density 0 represents the original fluid density
introduced in the previous sections. The bulk density introduced here is a
correction of the fluid density due to the non-uniform distribution of
additional species.
n
f gB = g = 0 g 1 ( 0 ) + i (i i 0 )
i =1
w(t)
x = + d ( , ) x ( , )
t =
where the moving coordinate system (x, t ) has been transformed into a
new coordinate system ( , ) . Note that, to give a more precise
explanation, we have used to represent the time in the new coordinate
3
1
2
1
f f x f
= + i
t x
f f x f f
= i = w i f (2.13)
t x
When this equation is applied to time derivatives in the Navier-Stokes
equations that are expressed in a purely Eulerian coordinate system, the
differential forms of ALE equations are obtained. For example, in the ALE
system, the nonconservative continuity equation becomes,
+ ( v w )i + i v = 0
Hence, the only difference between an ALE formulation and the Eulerian
formulation is that the relative velocity replaces the convective velocity.
Furthermore, the case w = 0 corresponds to a purely Eulerian description,
while w = v corresponds to a purely Lagrangian description.
When Eq.(2.13) is directly used, however, only the nonconservative
forms of Navier-Stokes equations can be obtained. The conservative ALE
Navier-Stokes equations can only be expressed in their integral forms. In
general, a conservative form of the differential equation
f
+ iB = R
t
in a fixed coordinate system will be transformed into an integral form in an
ALE coordinate system
fdV + (wf + B)i dS = RdV
V S V
UdV + [F (v, U) + G ]i dS = CdV
V S V
All other variables can then be derived from these basic quantities and
scales. For example, using the tilde to indicate dimensionless quantities,
we have
x - xr tV
x= , t= , = ,
L L D
v p
v= , p= , = ,
V DV 2 D V L
f B L
= , fB =
D V L
DV
2
v
+ viv i = f B
t
where
= ( p + i v ) I + 2e
1
e=
2
( v + v T )
It is noted that material data now are , , etc.
V 2
T =
, r = 0
C
V =
D L
DV L 1
Re = =
is the ratio of the inertia force to the friction force, which measures the
intensity of turbulence and the boundary layer thickness. Typical transition
Reynolds numbers to turbulent flows, for internal and external flows
respectively, are of the order 103 and 106 . The typical fluid boundary layer
thickness is of the order Re 2 L .
1
C
Pr = =
k k
are, under normal conditions, 0.01, 0.7, 10 and 1000 for mercury, gas,
water and oil, respectively.
2 3
D g L T *C g
Ra = = = Pr Gr
k k
is the ratio of the energy generated by the buoyancy force to the energy
dissipated by thermal diffusion and fluid viscosity. Ra is an important
parameter in natural convection problems to measure the intensity of flows
and the thickness of the thermal boundary layers. When the inertia force is
negligible in the momentum equation, the typical thermal boundary layer
thickness is of the order Ra 4 L . In another limit, when the viscous force
1
v
M=
c
is the ratio of the fluid velocity to the speed of sound . The Mach number
is an important parameter in determining the regime of fluid flows. It is
usually acceptable that flows can be treated as incompressible when the
Mach number is smaller than 0.3. Once the Mach number exceeds one,
flows become supersonic and many kinds of phenomena related to shocks
may occur.
2 3 2
D g L T *C g
Bo = 2
= = RaPr
k k2
is the ratio of the energy generated by the buoyancy force to the energy
dissipated by thermal diffusion. As mentioned earlier, when the
contribution of the flow viscosity is negligible, the Boussinesq number
measures the thermal boundary layer thickness.
2 3
D g L T * g Ra
Gr = = =
2
2 Pr
is the ratio of the buoyancy force to the viscous force. When Pr < 1, the
Grashof number is an indicator of the thickness of fluid shear viscous layer
within the thermal boundary layer. The typical thickness of the shear layer
is of the order Gr 4 L .
1
DV LC 1
Pe = =
k k
2
V
Ec =
C T
Ec = ( 1) M 2C p
Sc = =
D D
D C D Pr
Le = = =
k k Sc
V
Ca = =
is the ratio of the viscous forces to the surface tension forces. The smaller
the Capillary number, the more important the effect of surface tension.
2
V
Br = = Pr Ec
kT
is the ratio of the energy dissipated by the fluid viscosity to the energy
dissipated by thermal conduction.
ref. Bathe, K.J., Zhang, H., and Ji, S., Finite Element Analysis
of Fluid Flows fully Coupled with Structural Interactions,
Computers & Structures, Vol. 72, pp. 1-16, 1999.
ref. Bathe, K.J., Zhang, H., and Zhang, X., Some Advances in
the Analysis of fluid flows, Computers & Structures, Vol.
64, pp. 909-930, 1997.
ref. Bathe, K.J., Zhang, H., and Wang, M.H., Finite Element
Analysis of Incompressible and Compressible fluid flows
with Free Surfaces and Structural Interactions, Computers
& Structures, Vol. 56, pp. 193-214, 1995.
ref. Bathe, K.J., Walczak, J., and Zhang, H., Some Recent
Advances for Practical Finite Element Analysis, Computers
& Structures, Vol. 47, pp. 511-521, 1993.
prescribed velocities
v
zero velocities
prescribed pressure p
zero pressure
prescribed rotational velocity
concentrated force load
distributed normal-traction load
v
Boundary conditions field centrifugal load
fixed wall
Note: The column uniform flow
furthest to the right angular velocity
represents the solution moving wall
v, d
variables or equations fluid-structure interface
that are immediately free surface
affected by the fluid-fluid interface D
specified condition. phase-change
The solution variable gap all
d indicates a moving prescribed temperature
boundary condition. zero temperature
concentrated heat flow load
distributed heat flux load
convection
radiation
specular radiation
thermal resistance
user-supplied all
Initial conditions zero (default conditions)
Note: Zero pressure or specified
temperature cannot be mapped from other solutions
specified in
compressible models. restart run
Gauss elimination method (COLSOL)
Solvers for linearized
sparse solver
equations
iterative methods (RPBCG, RPGMRES, and AMG solvers)
automatic nondimensionalization procedure
automatic time-stepping CFL option
automatic time-stepping ATS option
skew systems
constraint condition
Other capabilities conjugate heat transfer
element birth-death option
pressure datum
include/exclude hydrostatic pressure
physical or mathematical formulations for incompressible flows
with or without dissipations
Assume that the solution has been obtained at time t and the next
solution is to be calculated at time t + t , where t is the time step size.
The initial condition defines the solution at time 0. The algorithm used to
obtain the solution at time t + t is the basic procedure to obtain,
successively, the solutions at all required times.
We use two implicit time integration methods: the Euler - method of
the first order Euler -method and the ADINA composite scheme of the
second order.
With an Euler method, the equation u t = f ( u ) is computed by
t +t
u = t u + tf ( t +t
u)
where t +t
u = (1 ) t u + t +t u . The Euler method is a scheme of the first
order accuracy and is unconditional L- stable if 12 < 1 . Note that
although it gives an accuracy of the second order in time, the trapezoidal
rule ( = 12 ) is numerically unstable unless the velocity is extremely small.
The default first order scheme is the Euler backward method ( = 1 ).
In the ADINA composite method, the solution at time t + t is
obtained in two consecutive sub-time-steps
t + t
u = t u + tf ( t + 12 t
u )
t +t
u= t + t
u + (1 ) tf ( t +t
u)
where t + t
u = (1 ) t u + t +t u , = 2 1 and = 2 ( 2 1) .
With the choice of 1
2 < < 1 , the method has second order accuracy and is
unconditionally L- stable. The default is = 1 2 , which was proven to
give minimum truncation error for linear systems. Although the
computational cost is doubled per time step, the composite scheme provides
solutions of better accuracy and may have less CPU time overall since
fewer number of time steps can be used.
(h G f + Q f ih f ) dV = h f Q f i dS
f
(3.1)
V
Gp =+ i( v )
t
v
Gv = + i( vv ) f B
t
E
G = + i( vE i v ) f B i v q B
t
Qp = 0
Qv =
Q = q
has been used (see Chapter 10 for details). When a degree of freedom is
defined at the element center, the FCBI element becomes FCBI-C element.
The FCBI and FCBI-C elements can be 2D 4-node quadrilateral and 3-node
triangle, 3D 8-node brick, 4-node tetrahedron, 5-node pyramid and 6-node
prism. All FCBI and FCBI-C elements of the same dimensions can be
mixed in one model problem.
Pe ' ( x ) '' ( x ) = 0
( 0 ) = 0, (1) = 1
e xPe 1
= (3.2)
e Pe 1
P P
1 + i 1 + 2i 1 i +1 = 0
2 2
ai 1
i =
aN 1
k (1 + ) k
P P
= + 1 (3.3)
e 1 2
P
The global matrix and the right-hand side vector are assembled using
the matrices and the right-hand sides computed within each element. They
also include modifications and/or additions from boundary elements that
describe the specified boundary conditions.
Aij = ij , Bi = xi (t ) xi
xi = xi (t ) xi
Bi + F (t ) Bi
Similarly, a concentrated heat flow load will be directly added to the right-
hand side of the corresponding energy equation.
When a distributed normal-traction load is applied, the nodal force is
computed by integrating the distributed normal-traction load, and then is
added to the equation as for a concentrated force. A distributed heat flux is
similarly integrated to a nodal heat flow and then added to the
corresponding energy equation.
Centrifugal loads are directly formulated in the governing equation and
assembled.
Unlike the treatment of usual boundary conditions, special boundary
conditions are discretized within boundary elements. The boundary sides
of the field elements form the boundary elements. Similar to regular
elements, the coefficient matrices and the right-hand sides of boundary
elements are formulated from the applied boundary condition and
assembled into the global system. A boundary element is treated after the
attached field element equations are formulated and before they are
assembled into the global system. The field element equations may or may
not be then modified depending on the type of the special boundary
condition.
For example, a radiation boundary condition results in a boundary
element equation that is directly formulated in the boundary element and
assembled into the global energy conservation equation. It is clear that
both the matrix and the right-hand side will receive contributions from this
condition.
As another example, when a slip wall condition is applied, the normal
component of the momentum field element equation is replaced by the
boundary condition equation. The tangential component of the finite
element equation will not be changed by this condition.
Special boundary conditions can be more complicated than the two
examples here. In specular radiation boundary conditions, for example, the
concentrated heat flow includes the variable G that cannot be computed
until the radiosity solution R is obtained. Therefore, prior to the
computation of the heat flux, the radiosity equations must be solved. In
order to form this equation, a ray tracing procedure is performed to setup
the view factor matrix. Furthermore, these equations also depend on the
boundary temperature. Thus, the two systems are actually coupled. The
global iteration procedure must then be applied to the radiosity equations.
Unlike the sparse matrix of the fluid equation system, the matrix of the
radiosity equation is full. For most problems associated with specular
boundary conditions, solving the radiosity equations is far more expensive,
in terms of computational speed and memory usage, than solving the fluid
equation system.
3.3 Elements
All FCBI and FCBI-C elements are linear elements. They include 3-
node triangle and 4-node quadrilateral for 2D domains; 4-node tetrahedron,
5-node pyramid, 6-node prism and 8-node brick for 3D domains. Elements
of the same dimensions can be mixed in one problem.
FCBI-C elements are only associated with the Segregated method and
other elements are only associated with the Newton-Raphson method. An
option of the second-order in space is available for FCBI-C elements. Note
that solution accuracy does depend on the element quality. In general,
taking 2D 4-node element as an example, the element should be aligned
along the flow direction as much as possible, and the element size variation
should be as smooth as possible.
share their common frontier where both conditions are applied. This
boundary partition can be expressed as
S1 S2 = S = S , S1 S2 =
prescribed velocities on S 1
applied normal-traction on S2
v=0
v=0 nn
v
All parts of the boundary have been assigned one and only one fluid
boundary condition (except on the interface of the sub-boundaries,
where two conditions meet).
For steady-state analyses, at least one velocity condition and one
pressure condition must be specified (the distributed normal-traction
load acts as a prescribed pressure condition).
S3 S 4 = S = S , S3 S 4 =
applied heat-fluxes on S4
prescribed temperature on S 3
qn =0
qn
All parts of the boundary have been assigned one and only one
temperature boundary condition (except on the interface of the sub-
boundaries, where two conditions meet).
For steady-state analyses, at least one prescribed temperature condition
must be specified. Notice that a convection condition or a radiation
condition acts as a prescribed temperature condition.
into the global system of equations. The conditions are usually, although
not necessarily, nonlinear and complex.
Unless noted otherwise, special boundary conditions can only be
applied to geometries of one dimension lower than the computational
domain. More specifically, in 2D models, the geometries are lines or
nodes that can be connected to lines; and in 3D models the geometries
are surfaces or nodes that can be connected to surfaces. These
geometries may be located on the boundary or inside the domain,
depending on the type of boundary conditions.
Most boundary conditions impose only constraints on the fluid
variables (velocity, pressure, temperature, etc.). Some other conditions
impose additional constraints on the boundary positions or boundary
displacements. These conditions are called kinematic conditions or moving
boundary conditions. When such a condition is applied, the boundary
nodal displacements are either computed or specified. The nodal positions
inside the fluid domain are adjusted in an arbitrary way to ensure a good
mesh quality. In this case, an arbitrary Lagrangian-Eulerian (ALE)
coordinate system is used in the governing equations. It is understood then
that additional variables (displacements) add additional difficulties and
computer costs in the solution procedure.
Unless explained otherwise, we have used the following notation in the
discussion of boundary conditions. A time-dependent value, say b (t ) is
defined as
b (t ) = b p fb (t )
vi = vi ( t )
p = p (t )
v(t ) = ( t ) ( x x0 )
where, x0 is the center of the rotation and x denotes the coordinates of the
boundaries.
_ _
x
boundary is fixed
_
x
_
(t)
F ( t ) = hv nn ( t ) dS
and then added to the right-hand side of the momentum equations as the
concentrated force load. Here hv is the virtual quantity of velocity on the
boundary.
Note that the normal stress consists of the pressure and the normal shear
stress. Along open boundaries, the normal shear stress is usually negligible
compared with the pressure. Therefore, a normal-traction is usually applied
As described in Section 2.3, when the whole field is rotating, the flow
equations can be formulated in a rotational reference coordinate system.
The problem is then equivalent to a problem defined in a fixed coordinate
system subjected to additional (centrifugal) forces. These forces can be
written as
F ( t ) = hv fc dV
fc = x0 (t ) (t ) (x x0 (t )) 2 (t ) v
(t ) (t ) (x x0 (t ))
Consider the case of zero angular velocity. The only term left in the
load is the acceleration of the center position of the frame. This term
can be used to model any field force load. For example, a time-
dependent gravitational force can be modeled. In the meantime, the
gravity must be specified as zero in the material data set to prevent a
duplicated gravity load definition.
In steady-state analyses, the first two terms vanish. No input of the
center acceleration is required.
v=0
zero velocity is
prescribed: v=0
boundary is fixed
On the other hand, when a slip wall condition is applied, the normal
component of the velocity vector is prescribed to be zero
v in = 0
boundary is fixed
The uniform flow condition is based on the assumption that the flow is
uniform along the normal direction of a boundary, or
v
=0
n
v(t ) = ( t ) ( x(t ) x0 )
Here, we do not consider how the boundary nodes move. In a special case
where the boundary is fixed, this condition is the same as a prescribed
rotational velocity. Angular velocity can only be applied to boundary lines
and surfaces of two-dimensional and three-dimensional computational
domains, respectively.
_ _
x moving or fixed
boundary nodes
_
x
_
(t)
v d(t ) = 0
_
velocity is prescribed: v=d(t)
boundary displacement
_
is prescribed: d(t)
(v d(t ))in = 0
boundary displacement
_
is prescribed: d(t)
v = v (t ) + d (t )i(I )
= an
Note that the tangential direction is not directly required, since it is, in
general, not a constant vector.
velocity is prescribed:
_ _
v=v(t)+d(t) (I)
_
boundarydisplacement
_
is prescribed: d(t)
(t ) (x(t ) x0 )
=
(t ) (x(t ) x0 )
velocity is prescribed:
_ _ _
v=(t) (x(t)x0)+d(t) (I)
x
_
is prescribed: d(t)
_
x0
_
(t)
_
pa n +
_
pa n
fluid domain
The kinematic condition of a free surface is that the fluid particle cannot
move out of the surface or the normal velocity of the free surface must be
the same as the normal velocity of the fluid
( v d)in = 0
S
+ viS = 0
t
S
+ ( v w )iS = 0 (3.4)
We remark that the free surface position is steady here with respect to
the new time frame and S n .
The kinematic condition states that the normal velocity of a fluid
particle on the free surface is equal to the normal velocity of the free
surface itself at the point where the particle is located.
The dynamic boundary condition on the free surface (applied to the
momentum equations of the fluid) is the ambient pressure together with the
surface tension
n = pa n + H
1
H = 2r = i ( Jg ij j r )
J
where
1
r r r r
i i
s s s1 s2
( g ) = ( gij ) = r1 r1
1
ij
i r r
i
s1 s2 s2 s2
J = g11 g 22 g12 g 21
m
H=
1 r r m r e
r m r r 2
(n ) (n ) = H
1 2
q f qs
din = 0
L s
where d is the interface position vector, q f and q s are the heat fluxes in
the fluid and the solid domains, respectively, s is the solid density, L is
the latent heat per unit volume and n is the normal direction of the
interface.
ADINA-F ADINA-F
fluid element solid element
group group
_
prescribed f
The gap is an interface between two fluid domains. This condition can
only be applied to internal lines and surfaces of two-dimensional and three-
dimensional computational domains, respectively.
The gaps status may change due to specified physical conditions,
indicating the connection or disconnection of the two domains. When they
are connected (the gap status is called open), the fluid can flow across the
interface without involving any treatment of boundary conditions. In this
case, the fluid variables are continuous across the interface. When the two
domains are disconnected (the gap status is called closed), the fluid cannot
flow across the interface. The gap condition functions as a no-slip wall
condition to the fluid equations and as a zero heat flux condition to the
temperature equation for both sides of the fluid domains. In this case,
therefore, some solution variables are generally discontinuous (of course,
the velocities are zero and continuous).
A typical application of the gap condition is shown in the next figure.
The enlarged figures indicate the element connections when the gap is open
and closed. When the gap is closed, the elements are disconnected,
representing the disconnection of the two fluid domains. To achieve this
condition, additional nodes are automatically generated at the same
locations as the originally generated nodes (the figure shows here that they
are shifted slightly purely for the purpose of clarification of disconnection).
When the gap is open, the solution variables on these additional nodes are
constrained to their original counterparts. Hence, continuous solution
variables are modeled.
upstream gap is
fluid domain closed if
G<Gclose
downstream
gap is fluid domain
open if
G>Gopen
gap boundary
G gap is open
_
Gopen
_
Gclose
t
gap is closed
General description
sliding mesh
interface stationary
rotating
Other problems that do not have rotating parts but translating moving parts
may also require a sliding mesh boundary condition. One example, the two
passing vehicles problem, is depicted in the following figure
sliding mesh
interface
It is assumed that in general the nodal points on both sides of the sliding
interface are independent of each other. The numerical scheme at the
interface should satisfy the conservation laws of mass, momentum and
energy. For simplicity, the strategy used in a 2-D case depicted in the
following figure is described. The nodal points M, S1 and S2 are sitting at
different sides of the mesh interface. It is required to calculate the
flux/force over the control volume represented by the node M. The control
volume of M is composed of upper and lower sub-volumes. For the lower
half, there is no difficulty to get the flux using the information from node
M. However, for the upper half control volume, there is no direct
information since the mesh is not connected across the interface.
Therefore, the flux for the upper half control volume is calculated using the
neighboring nodes S1 and S2.
control volume of M
(upper half)
sliding mesh
interface S1 S2
M
control volume of M
(lower half)
geometry entity 2
boundary
condition pair same physical
condition
2
f = 12 CD ( vie) e
where f is the nodal force per unit of area or length, and CD is a drag
coefficient and e is a direction vector. The nodal force is obtained by
integration
F = h vf idS
1. normal direction: e = n ;
2. velocity tangential direction: e = v i(I nn ) v i(I nn ) ;
3. user-defined vector: e = specified.
2
fvent = 12 Closs ( vin) n
Fvent = hv f idS
vent
where is the density of the fluid and Closs is the loss coefficient
associated with the vent, h v is the virtual quantity of the velocity, and n is
the surface normal.
ps = f ( Q ) 0
where Q = fan
v idS is the flow rate (L3 / t), ps is the fan static pressure,
ps = pd pi , pd is the discharge pressure, and pi is the inlet pressure.
f ( Q ) = C0 + C1Q M1 C2Q M 2
F fan = hv f ( Q ) e dS
stationary frame
rotating frame
rotating frames
stationary frame
With the MRF method, the computational domain is divided into a few
sub-domains, each of them having different reference frames applied while
the meshes are maintained stationary. Different frames are modeled using
corresponding centrifugal forces as used in the single rotating model. The
physical quantities on each interface are properly computed to ensure the
conservations of mass, momentum, energy, etc.
reference frame 1
sliding mesh
boundary
reference frame 2
= (t )
Q ( t ) = h qn ( t ) dS
and added to the right-hand side of the energy equations as in the case of
concentrated heat flow loads. Here h is the virtual quantity of
temperature on the boundary. Note that when qn ( t ) = 0 , the application of
the heat flux is trivial since it is equivalent to no heat flux loads.
This condition is usually applied to boundaries where the heat flux is
known. The adiabatic boundary has a zero heat flux condition.
This condition has no effect if applied to the boundary where a
temperature condition is prescribed since the energy equation has been
replaced by the prescribed temperature condition.
3.4.5.1 Convection
qn = h ( e )
Q ( t ) = h qn dS (3.5)
3.4.5.2 Radiation
qn = f e ( Re Rt )
where Re is the energy from the radiation source and Rt is the energy
transmitted into the environment
c1 + c2 K o
R o
C o
F
c1 = 1 c1 = 5 9 c1 = 1 c1 = 5 9
K
c2 = 0 c2 = 0 c2 = 273.15 c2 = 255.37
c1 = 9 5 c1 = 1 c1 = 9 5 c1 = 1
o
R
c2 = 0 c2 = 0 c2 = 491.67 c2 = 459.67
_
diffusely reflected energy, d
incident unit
of energy specularly
_ reflected
energy, s
i r
transmitted
_
energy, t
e + s + d + t =1 (3.7)
R = eRe + t f Rt + dG (3.8)
the shape factor, e is the temperature of the radiative source (or sink) , and
c1 and c2 are two constants such that c1 + c2 has an absolute temperature
scale (see previous section for details).
The rate of incoming radiant energy per unit area at any specular
boundary element k is the sum of all rates of outgoing radiant energies
from all specular radiation boundary elements
Gk = Flk Rl dS (3.9)
Sl
l
where Sl is the area of the boundary element l and Flk are the view factor
matrices which are calculated using a ray tracing technique based on
Lamberts law. It can be explained as the ratio of the energy that is emitted
from element l and arrives at element k , directly and indirectly, to the
energy emitted by point l . It is clear that the view factor matrix has a
dimension N es N es , where N es is the number of specular boundary
elements.
Using Eq.(3.9) and applying the Galerkin method to Eq.(3.8), we obtain
the finite element equation governing R
S
( )
h R eRe t f Rt dG dS = 0 (3.10)
F 0
F= 1
0 F2
with the two block diagonal matrices corresponding to the two chambers,
respectively. The computation can then be carried out separately for the
chambers. Therefore, we allow the specular boundary conditions to be
divided into groups. Only specular boundary conditions within the same
group specularly transmit energies to each other. Of course, energy is also
transmitted by means of conduction and convection between the chambers.
specular specular
group 1 group 2
convection convection
conduction
qn = e ( G Rt )
In certain models where there is a very thin layer that has different heat
conduction, this condition can be used to model the heat transfer through
that layer. In this condition, a parameter R called thermal resistance must
be specified. It is defined as
R=
k
S = A + B i
u , v, w, p, if I var = 1
= K , if I var = 2
, ,... if I var = 3
1 2
The values of A and B will be assembled into the right-hand side of the
discretized equation and the global matrix respectively as follows.
Corresponding to the current node, let ik be the equation number of the
current variable, i1 , i2 ,... be the equation numbers of the solution variables
, and Aij X j = Bi be the original equation system. The assemblage
procedure in the Newton-Raphson method is
A = a + bp, B = 0
It can be seen that advanced users can achieve much more with this
capability. They can invoke their own programs to compute, possibly in a
complicated way, the value of the force and split it in any way they prefer.
A different version of the program would be
Where the large number 1021 is the pivot number added to ensure the
specified condition is so dominant that the original terms in that equation
become negligible.
qi = 0.002M i j + i
j i
Here, the mass-ratio has been assumed to be the mass density i , so that
Ci i M i
i = =
C j M j
j
SUBROUTINE ADFUBC(L,NL,R,NR,VAR,NVAR,A,B)
C======================================================================
C
C
C USER-SUPPLIED BOUNDARY CONDITIONS
C
C THIS ROUTINE WILL BE CALLED AT EACH INTEGRATION POINT OF EVERY
C BOUNDARY ELEMENT OF BOUNDARY CONDITION LABEL "IBCL" AT EACH
C NONLINEAR EQUILIBRIUM ITERATION AT EACH TIME STEP.
C
C HERE WE EXPRESS THE BOUNDARY CONDITION AS A SOURCE S, IMPOSED
C INTO THE COMPUTATIONAL DOMAIN.
C
C -----------------------------------------------------------------
C
C PASSED IN: L(NL),R(NR),VAR(NVAR)
C
C PASSED OUT: A,B(NVAR)
C
C -----------------------------------------------------------------
C WHERE
C
C L( 1) = IBCL = BOUNDARY CONDITION LABEL (NAME IN THE
C BOUNDARY-CONDITION COMMAND)
C L( 2) = IVARID = ID OF THE VARIABLE (=1,2 AND 3 FOR FLUID,
C TURBULENCE AND MASS (VARIABLE IN THE
C BOUNDARY-CONDITION COMMAND)
C L( 3) = ICOMID = ID OF THE CURRENT EQUATION:
C = (1,2,3,4,5) FOR (U,V,W,P,T ), IF IVARID=1
C = (1,2 ) FOR (K,E/W) , IF IVARID=2
C = (1,2,... ) FOR (S_1,S_2,...), IF IVARID=3
C L( 4) = METHOD = ID OF THE ITERATION METHOD:
C = 0, IF SUCCESIVE SUBSTITUTION METHOD
C = 1, IF NEWTON METHOD
C L( 5) = IELG = ELEMENT GROUP NUMBER
C L( 6) = IELM = ELEMENT NUMBER
C L( 7) = IU = ENTRY OF THE X-VELOCITY IN VAR(*)
C L( 8) = IV = ENTRY OF THE Y-VELOCITY IN VAR(*)
C L( 9) = IW = ENTRY OF THE Z-VELOCITY IN VAR(*)
C L(10) = IP = ENTRY OF THE PRESSURE IN VAR(*)
C L(11) = IT = ENTRY OF THE TEMPERATURE IN VAR(*)
C L(12) = IK = ENTRY OF THE TURBULENCE-K IN VAR(*)
C L(13) = IE = ENTRY OF THE TURBULENCE-E/W IN VAR(*)
C L(14) = IX = ENTRY OF THE X-COORDINATE IN VAR(*)
C L(15) = IY = ENTRY OF THE Y-COORDINATE IN VAR(*)
C | |
C +------------------------------------------------------+
C
C A = THE SOURCE S
C B(IU) = DERIVATIVE OF S WITH RESPECT TO U
C B(IV) = DERIVATIVE OF S WITH RESPECT TO V
C B(IW) = DERIVATIVE OF S WITH RESPECT TO W
C B(IP) = DERIVATIVE OF S WITH RESPECT TO P
C B(IT) = DERIVATIVE OF S WITH RESPECT TO T
C B(IK) = DERIVATIVE OF S WITH RESPECT TO TK
C B(IE) = DERIVATIVE OF S WITH RESPECT TO TE
C
C +------------------------------------------------------+
C | |
C | CASE: FLUID OR TURBULENCE (IVARID<=2) |
C | SUCCESSIVE SUBSTITUTION METHOD (METHOD=0 ) |
C | COMPRESSIBLE FLOWS |
C | |
C +------------------------------------------------------+
C
C THE SOURCE S IS SPLIT INTO THE FORM
C
C S = A + B(IU)*DU + B(IV)*DV + B(IW)*DW
C + B(IP)*D + B(IT)*E
C + B(IK)*TK + B(IE)*TE
C
C WHERE, D=DENSITY, E=TOTAL ENERGY, DU=D*U, DV=D*V
C AND DW=D*W.
C
C CAUTION: THERE ARE MANY WAYS TO SPLIT S. SOME OF
C THEM MAY CAUSE NUMERICAL INSTABILITY. IT
C IS RECOMMENDED TO ALWAYS KEEP B(IQ)<=0.
C
C +------------------------------------------------------+
C | |
C | CASE: FLUID OR TURBULENCE (IVARID<=2) |
C | NEWTON METHOD (METHOD=1 ) |
C | COMPRESSIBLE FLOWS |
C | |
C +------------------------------------------------------+
C
C A = THE SOURCE S
C B(IU) = DERIVATIVE OF S WITH RESPECT TO DU
C B(IV) = DERIVATIVE OF S WITH RESPECT TO DV
C B(IW) = DERIVATIVE OF S WITH RESPECT TO DW
C B(IP) = DERIVATIVE OF S WITH RESPECT TO D
C B(IT) = DERIVATIVE OF S WITH RESPECT TO E
C B(IK) = DERIVATIVE OF S WITH RESPECT TO TK
C B(IE) = DERIVATIVE OF S WITH RESPECT TO TE
C
C WHERE, D=DENSITY, E=TOTAL ENERGY, DU=D*U, DV=D*V
C AND DW=D*W.
C
C +------------------------------------------------------+
C | |
C | CASE: MASS TRANSFERS (IVARID=3) |
C | SUCCESSIVE SUBSTITUTION AND NEWTON METHODS |
C | INCOMPRESSIBLE AND COMPRESSIBLE FLOWS |
C | |
C +------------------------------------------------------+
C
C THE SOURCE S IS SPLIT INTO THE FORM
C
C S = A + B(IQ)*VAR(IQ)
C
C CAUTION: THERE ARE MANY WAYS TO SPLIT S. SOME OF
C THEM MAY CAUSE NUMERICAL INSTABILITY. IT
C IS RECOMMENDED TO ALWAYS KEEP B(IQ)<=0.
C
C======================================================================
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DIMENSION L(NL),R(NR),VAR(NVAR),B(NVAR)
C----------------------------------------------------------------------
C START TO CODE HERE
C----------------------------------------------------------------------
PARAMETER (NMASS=2)
DIMENSION XM(NMASS),X(NMASS)
C-----------------------------------------------------------------------
R(1) = R(1)
C-----------------------------------------------------------------------
IBCL = L( 1)
IVARID = L( 2)
ICOMID = L( 3)
C METHOD = L( 4)
IM = L(17)
IQ = L(18)
UNDER = 1.D-20
C
C======================================================================
C
IF(IVARID.EQ.1) THEN
C
C +-------------------------------------------------------------+
C | |
C | FLUID BOUNDARY CONDITIONS ARE CODED HERE (U,V,W,P,T) |
C | |
C +-------------------------------------------------------------+
C
C
C +----------------------------------------------------------+
C | END OF FLUID BOUNDARY CONDITIONS HERE |
C +----------------------------------------------------------+
C
GO TO 9999
ENDIF
C
C======================================================================
C
IF(IVARID.EQ.2) THEN
C
C +-------------------------------------------------------------+
C | |
C | TURBULENCE BOUNDARY CONDITIONS ARE CODED HERE (K,E/W) |
C | |
C +-------------------------------------------------------------+
C
C
C +----------------------------------------------------------+
C | END OF RTURBULENCE BOUNDARY CONDITIONS HERE |
C +----------------------------------------------------------+
C
GO TO 9999
ENDIF
C
C======================================================================
C
IF(IVARID.EQ.3) THEN
C
C +-------------------------------------------------------------+
C | |
C | MASS TRANSFER BOUNDARY CONDITIONS ARE CODED HERE |
C | |
C | THE FOLLOWING EXAMPLE IS FOR 3 BOUNDARY CONDITIONS: |
C | |
C | IBCL = 1: SPECIFY THE MASS RATIO 0.2 |
C | IBCL = 2: SPECIFY THE MASS RATIO 0.1 |
C | IBCL = 4: CVD CONDITION |
C | |
C | NMASS = NUMBER OF REACTING SPECIES (=2 HERE) |
C | XM(*) = MOLECULAR WEIGHT |
C | X(*) = MOLE FRACTION |
C | XNU = STOICHIOMETRIC COEFFICIENT |
C | XKA = KENETIC REACTION RATE CONSTANT |
C | NOTE: THE LARGE NUMBER 1.D+20 USED HERE IS TO FORCE THE |
C | SPECIFIED VALUE TO BE RESPECTED IN THE FINAL EQUATION|
C | |
C +-------------------------------------------------------------+
C
IF(IBCL.EQ.1) THEN
IF(ICOMID.EQ.1) THEN
SS = 0.2D0
ELSE
SS = 0.1D0
ENDIF
B(IQ) = - 1.D+20
A = 1.D+20*SS
GO TO 9999
ENDIF
C
IF(IBCL.EQ.2) THEN
IF(ICOMID.EQ.1) THEN
SS = 0.1D0
ELSE
SS = 0.2D0
ENDIF
B(IQ) = - 1.D+20
A = 1.D+20*SS
GO TO 9999
ENDIF
C
IF(IBCL.EQ.4) THEN
XM(1) = 2.D0
XM(2) = 1.D0
XNU = 1.0D0
XKA = 0.002D0
C
C COMPUTE X(*)
C
SUM = 0.D0
DO 1 I = 1, NMASS
X(I) = VAR(IM+I)/XM(I)
SUM = SUM + X(I)
1 CONTINUE
SUM = MAX(SUM,UNDER)
DO 2 I = 1, NMASS
X(I) = X(I)/SUM
2 CONTINUE
C
C COMPUTE A AND B
C
XX = 1.D0
DO 3 I = 1, NMASS
IF(I.EQ.ICOMID) GO TO 3
XX = XX*X(I)
3 CONTINUE
FAC = XNU*XKA
B(IQ) = - FAC/SUM
A = - FAC*XM(ICOMID)*XX
GO TO 9999
ENDIF
C
C +----------------------------------------------------------+
C | END OF MASS BOUNDARY CONDITIONS HERE |
C +----------------------------------------------------------+
C
ENDIF
C----------------------------------------------------------------------
9999 CONTINUE
RETURN
END
qb = k s d s ( e )
qi = k s d s ( R L )
where, L and R are fluid boundary temperatures on the left and right of
the shell respectively. Similarly, qi is applied to the fluid boundary on
the right of the shell. We note that the left and right fluid boundaries must
be separated (different nodes, elements, etc.), but share the same geometric
location (where the shell is). The shell deformation may or may not be
modeled. If the shell is modeled, the thermal results are automatically used
in determining the shell deformation. For more information on modeling
TFSI problems, refer to the fluid-structure interaction chapter.
This is the simplest yet most frequently used material model. In this
model, all fluid properties are assumed to be constant. They are
= fluid density
= fluid viscosity
g = gravitational acceleration vector
Cp = specific heat at constant pressure
Cv = specific heat at constant volume
k = thermal conductivity coefficient
qB = rate of heat generated per unit volume
= thermal expansion coefficient
0 = reference temperature in buoyancy force
= coefficient of surface tension
= bulk modulus of elasticity
The default values of these parameters are all zeros except the that is
20
10 . Note that not all these parameters are required for a given problem.
The parameters that must be input depend on the problem to be solved.
In incompressible flows, the bulk modulus of elasticity and the
specific heat at constant volume Cv are not required. In this case, is
assumed to be infinite and Cv is forced to be equal to C p . If heat transfer
is not considered, C p , k , q B , , and 0 can be further ignored.
In slightly compressible flows, Cv is forced to be equal to C p and,
therefore, can be ignored in the input. C p , k , q B , and 0 can also be
omitted if heat transfer is not included.
In low-speed compressible flows, is not used and therefore is
ignored. The density is determined through the state equation as a function
of pressure and temperature and thus not required. All other material data
must be input.
, C p , Cv , k , , q B , , = f (t )
max { AD n , 0 } if n 0
=
min { AD , 0 } if n < 0
n
= D = AD n +1
= + ( 0 ) (1 + AD 2 )
n
, C p , Cv , k , , q B , , = f ( )
This material model can only be applied to problems with heat transfer.
max { AD n eC , 0 } if n 0
=
min { AD e , 0 }
n C
if n < 0
=
{
max AD n eC + E 2 ,
0 } if n 0
{ 2
min AD n eC + E , 0
} if n < 0
with
n = F + G ln D + H
= 0 + t 0 + 2 k D2 2 D
t C p
k = k 0 + kt k 0 +
Pr
The effective viscosity and the heat conductivity are defined as,
= 0 + t = 0 + 2 2s D
t C p
k = k 0 + kt = k 0 +
Pr
s = min (d , k DV 1/ 3
)
where s is the mixing length for sub-grid scales, is the Von Karman
constant (default is = 0.41 ), d is the distance to the closest wall and V is
the element volume.
1/ 3
= 0 + t 0 [1 + H ( x) ]
where
x, x > 0
H ( x) =
0, x 0
x = s2 02 100
s = 2 D ( CRNG )
2
In this model, the user can specify the material data through a user-
supplied subroutine written in Fortran. It is designed only for
incompressible, slightly compressible and low-speed compressible flows.
The subroutine is invoked whenever material data are required in the
computation. All necessary data is passed in as arguments, and the
program returns the required material data. The arguments are the
coordinates of the current spatial point, the time, the element group and
element labels, current solution variables and their derivatives at the point,
etc. The returned data are the same as in the constant model.
Using this model, the user can define many material data, for example,
the mixing-length zeroth order turbulence model, where the viscosity is
computed as
= 0 + 2 l 2 D
with 0 the laminar viscosity, the density, l the mixing length and D
the effective deformation rate.
As another example, the user can invoke their own subroutines or
libraries to compute the material data, possibly in a very complicated way,
say solving some partial differential equations.
The following sample example defines the material data for four
different problems. In order to shorten the descriptions, we define a
piecewise linear function as shown in the following figure.
y1
x1 x2 x
(1) For the problem with the heading CATERP: The material is
dependent of the mass-ratio 1 . The original fluid is assumed to be air.
The mass-ratio is used in simulating the ratio of the oil and the mixture,
so that the fluid medium varies as air, air-oil mixture and oil, depending
on the value of the mass-ratio.
(
= f 1 0, 1, 2.082 105 , 3.56 102 )
= f (1 0, 1, 0.995, 853.9 )
C p = f (1 0, 1, 1009, 2118 )
k = f (1 0, 1, 0.0304, 0.138 )
, 0 , g1 , g 2 , g3 , , , Cv = 0
(2) For the problem with the heading F7518, the material is of varying
density, which is assumed to be a function of temperature:
(3) For the problem with the heading F7519, the material density is
assumed to be a function of the z-coordinate:
2
=1+ z
5
and
= f ( z 0, Z , 1, 1 + 52 Z ) ( Z = const. > z )
= 0.2
C p , k , , 0 , g1 , g 2 , g3 , , , Cv = 0
(4) For the problem with the heading F74007, the viscosity and
density are defined as a function of the mass-ratio 1 :
SUBROUTINE ADFUSR(CHEAD,L,NL,R,NR,CMAT,NCMAT)
C=======================================================================
C
C
C USER-SUPPLIED MATERIAL DATA FOR INCOMPRESSIBLE FLOWS WITHOUT
C TURBULENT-KE OR TURBULENT-KW MODELS
C
C THIS ROUTINE WILL BE CALLED AT EACH INTEGRATION POINT OF EVERY
C ELEMENT OF EVERY ELEMENT GROUP WHERE THE MATERIAL TYPE
C "TURBULENT-MIXL" WAS SPECIFIED, AT EACH NONLINEAR EQUILIBRIUM
C ITERATION AT EACH TIME STEP.
C
C IN ORDER TO ACCESS THIS ROUTINE, USER MUST CHOOSE THE MATERIAL
C TYPE "TURBULENT-MIXL".
C
C USER MUST SPECIFY ALL MATERIAL DATA EXPLAINED HERE INTO THE ARRAY
C CMAT(NCMAT) IN THIS ROUTINE. DEFINE ZERO VALUES IF THEY ARE
C NOT USED.
C
C WARNING: USER IS SUPPOSED TO BE AWARE OF THE AVAILABILITY OF THE
C DATA STORED IN THE ARRAYS L(*) AND R(*) FOR THE
C PROBLEM BEING SOLVED. IF NOT AVAILABLE, ARRAYS COULD
C BE RANDOM.
C
C -----------------------------------------------------------------
C
C PASSED IN: CHEAD, L(NL),R(NR)
C
C PASSED OUT: CMAT(NCMAT)
C
C -----------------------------------------------------------------
C WHERE
C
C CHEAD = THE STRING OF THE PROBLEM HEADING
C
C L( 5) = IELG = ELEMENT GROUP NUMBER
C L( 6) = IELM = ELEMENT NUMBER
C L( 7) = IU = ENTRY OF THE X-VELOCITY IN R(*)
C L( 8) = IV = ENTRY OF THE Y-VELOCITY IN R(*)
C L( 9) = IW = ENTRY OF THE Z-VELOCITY IN R(*)
C L(10) = IP = ENTRY OF THE PRESSURE IN R(*)
C L(11) = IT = ENTRY OF THE TEMPERATURE IN R(*)
C L(12) = IK = ENTRY OF THE TURBULENCE-K IN R(*)
C L(13) = IE = ENTRY OF THE TURBULENCE-E/W IN R(*)
C L(14) = IX = ENTRY OF THE X-COORDINATE IN R(*)
C L(15) = IY = ENTRY OF THE Y-COORDINATE IN R(*)
C L(16) = IZ = ENTRY OF THE Z-COORDINATE IN R(*)
C L(19) = ITIM = ENTRY OF THE TIME IN R(*)
C L(20) = IM = ENTRY OF THE MASS-RATIOS IN R(*)
C
C R(IU) = U = X-VELOCITY
C R(IU+1) = DXU = DERIVATIVE OF U WITH RESPECT TO X
C R(IU+2) = DYU = DERIVATIVE OF U WITH RESPECT TO Y
C R(IU+3) = DZU = DERIVATIVE OF U WITH RESPECT TO Z
C R(IV) = V = Y-VELOCITY
C R(IV+1) = DXV = DERIVATIVE OF V WITH RESPECT TO X
C R(IV+2) = DYV = DERIVATIVE OF V WITH RESPECT TO Y
C R(IV+3) = DZV = DERIVATIVE OF V WITH RESPECT TO Z
C R(IW) = W = Z-VELOCITY
C R(IW+1) = DXW = DERIVATIVE OF W WITH RESPECT TO X
C R(IW+2) = DYW = DERIVATIVE OF W WITH RESPECT TO Y
C R(IW+3) = DZW = DERIVATIVE OF W WITH RESPECT TO Z
C R(IP) = P = PRESSURE
C R(IP+1) = DXP = DERIVATIVE OF P WITH RESPECT TO X
C R(IP+2) = DYP = DERIVATIVE OF P WITH RESPECT TO Y
C R(IP+3) = DZP = DERIVATIVE OF P WITH RESPECT TO Z
C R(IT) = T = TEMPERATURE
C R(IT+1) = DXT = DERIVATIVE OF T WITH RESPECT TO X
C R(IT+2) = DYT = DERIVATIVE OF T WITH RESPECT TO Y
C R(IT+3) = DZT = DERIVATIVE OF T WITH RESPECT TO Z
C R(IK) = TK = TURBULENCE_K
C R(IK+1) = DXK = DERIVATIVE OF TK WITH RESPECT TO X
C R(IK+2) = DYK = DERIVATIVE OF TK WITH RESPECT TO Y
C R(IK+3) = DZK = DERIVATIVE OF TK WITH RESPECT TO Z
C R(IE) = TE = TURBULENCE_E OR TURBULENCE-W
C R(IE+1) = DXE = DERIVATIVE OF TE WITH RESPECT TO X
C R(IE+2) = DYE = DERIVATIVE OF TE WITH RESPECT TO Y
C R(IE+3) = DZE = DERIVATIVE OF TE WITH RESPECT TO Z
C R(IX) = X = X-COORDINATE
C R(IY) = Y = Y-COORDINATE
C R(IZ) = Z = Z-COORDINATE
C R(ITIM) = TIME = TIME
C R(IM) = S = MASS-RATIO-1
C R(IM+1) = DXS = DERIVATIVE OF S WITH RESPECT TO X
C R(IM+2) = DYS = DERIVATIVE OF S WITH RESPECT TO Y
C R(IM+3) = DZS = DERIVATIVE OF S WITH RESPECT TO Z
C ...... CONTINUE FOR MASS-RATIO-2,...,UNTIL THE MASS-RATIO-10
C
C -----------------------------------------------------------------
C
CMAT(1 ) = VIS
CMAT(2 ) = CPV
CMAT(3 ) = XKC
CMAT(4 ) = 0.D0
CMAT(5) = DEN
CMAT(6 ) = 0.D0
CMAT(7 ) = 0.D0
CMAT(8 ) = 0.D0
CMAT(9 ) = 0.D0
CMAT(10) = 0.D0
CMAT(11) = 0.D0
CMAT(12) = 0.D0
CMAT(13) = 0.D0
C
GO TO 9999
ENDIF
C
C----------------------------------------------------------------------
IF(CHEAD(1:6).EQ.'F71001' .OR. CHEAD(1:5).EQ.'F7518') THEN
C +---------------------------------------------------+
C | THIS FOR THE INTERNAL VERIFICATION PROBLEM F71001 |
C | WHICH HAS A TEMPERATURE DEPENDENT DENSITY |
C +---------------------------------------------------+
CMAT(1 ) = 8.D-6
CMAT(2 ) = 14030.D0
CMAT(3 ) = 0.156D0
CMAT(4 ) = 0.D0
CMAT(5 ) = 0.086D0
CMAT(6 ) = 0.D0
CMAT(7 ) = 0.D0
CMAT(8 ) = 0.D0
CMAT(9 ) = 0.D0
CMAT(10) = 0.D0
CMAT(11) = 0.D0
CMAT(12) = 0.D0
CMAT(13) = 0.D0
C
IT = L(11)
T = R(IT)
TP1 = 100.D0
TP2 = 1000.D0
DP1 = 0.086D0
DP2 = 0.053D0
IF(T .LT. TP1) THEN
CMAT(5) = DP1
ELSE IF(T .LT. TP2) THEN
CMAT(5) = DP1 + (T-TP1)*(DP2-DP1)/(TP2-TP1)
ELSE
CMAT(5) = DP2
ENDIF
ELSE IF(CHEAD(1:5).EQ.'F7100' .OR. CHEAD(1:5).EQ.'F7519') THEN
C +---------------------------------------------------+
C | THIS FOR THE INTERNAL VERIFICATION PROBLEM F7100X |
C | WHICH HAS A Z-COODINATE DEPENDENT DENSITY (X=3-8) |
C +---------------------------------------------------+
CMAT(1 ) = 0.2D0
CMAT(2 ) = 0.D0
CMAT(3 ) = 0.D0
CMAT(4 ) = 0.D0
CMAT(5 ) = 0.D0
CMAT(6 ) = 0.D0
CMAT(7 ) = 0.D0
CMAT(8 ) = 0.D0
CMAT(9 ) = 0.D0
CMAT(10) = 0.D0
CMAT(11) = 0.D0
CMAT(12) = 0.D0
CMAT(13) = 0.D0
C
IZ = L(16)
Z = R(IZ)
CMAT(5) = 1.D0 + Z/10.D0 * 4.0D0
ELSE IF(CHEAD(1:6).EQ.'F74007') THEN
C +-----------------------------------------------------+
C | THIS FOR THE INTERNAL VERIFICATION PROBLEM F74007 |
C | WHICH HAS A MASS DEPENDENT DENSITY |
C +-----------------------------------------------------+
IM = L(20)
S = R(IM)
CMAT(1 ) = 0.01D0
CMAT(2 ) = 0.D0
CMAT(3 ) = 0.D0
CMAT(4 ) = 0.D0
CMAT(5 ) = 0.D0
CMAT(6 ) = 0.D0
CMAT(7 ) = 0.D0
CMAT(8 ) = 0.D0
CMAT(9 ) = 0.D0
CMAT(10) = 0.D0
CMAT(11) = 0.D0
CMAT(12) = 0.D0
CMAT(5) = 1.D0
C
IF(S.GT.0.9D0) THEN
CMAT(1) = 0.1D0
CMAT(5) = 10.D0
ELSE IF(S.LT.0.1D0) THEN
CMAT(1) = 0.01D0
CMAT(5) = 1.D0
ELSE
RRR = (S-0.1D0)/0.8D0
CMAT(1) = 0.01D0 + RRR*(0.1D0-0.01D0)
CMAT(5) = 1.D0 + RRR*(10.D0-1.D0 )
ENDIF
ENDIF
C----------------------------------------------------------------------
9999 CONTINUE
RETURN
END
When compared with the constant material model, this model has one
additional parameter, namely, the reference pressure, p0 . In addition, the
following parameters are a function of both pressure and temperature
, C p , Cv , k , , q B , , , = f ( p, )
This model adds a field friction force to the right-hand side of the
momentum equations. The force has the following form,
2f
fB = v C v
D
If a field friction loading is applied to the element group, user may also
modify it in this subroutine. Please note, once changed, the complete field
friction data associated with this element group must be re-defined. They
replace original friction data.
A more general material set can be defined with the selected materials
associated with up to three material curves of type tabulated,
polynomial and 2-argument respectively. Those material curves replace
the default material data in the selected materials.
The following types of material model can be associated with the material
curves:
= density
= viscosity
Cp = specific heat at constant pressure
Cv = specific heat at constant volume
k = heat conductivity
qB = rate of heat generated per unit volume
= thermal expansion coefficient
g = gravitational acceleration vector
c = the empirical constant in K - models
= the empirical constant in K - models
= fluid bulk modulus of elasticity
Ii
Pj = ai x ei ( j = 1, 2,..., J )
i =1
where x and P are the same as defined for tabulated material curve.
( xi , MCVi ) ( i = 1, 2,..., I )
where x can be time, temperature or pressure, and MCVi are either
tabulated or polynomial material curves. Thus, at xi , the material values
are determined by a material curve that is a function of another varying
argument different from x . For example, if temperature represents x in
the 2-argument material curve and, in which, MCVi are pressure-
dependent material curves of C p and Cv , the curve defines temperature-
pressure-dependent material parameters C p ( , p ) and Cv ( , p ) .
The state equation affects the internal energy of the fluid. This effect
can be accounted in the energy equation using the concept of an effective
( )
specific heat at constant volume Cv* , where de = Cv* d and e is the
specific internal energy. The effect can be switched on or off using the CV-
EFFECTIVE parameter of the STATE-EQUATION command. If the effect
is accounted for, Cv* is different from the user-input value of Cv . If it is not
pv = Rsp
This gas model is used when Cv should vary in the energy equation,
but the specific gas constant, Rsp , should not vary in the equation of state.
In this model, the user-input Cv defined in the MATERIAL command is
only used in the energy equation, and the user-input C p is ignored.
Rsp a
p=
v b+c v (v + b)
n
a = a0
C
Rsp C
b = 0.08664
pC
Rsp2 C2
a0 = 0.42747
pC
c=0
n= 1
2
Rsp C
c= + b vC
a0
pC +
vC ( vC + b )
n = 0.4986 + 1.1735 + 0.4754 2
2
a = a0 1 + n 1
C
n = 0.480 + 1.574 0.176 2
RspT a
p=
vb v + 2vb b 2
2
Rsp C
b = 0.0778
pC
Rsp2 C2
a0 = 0.45724
pC
n = 0.37464 + 1.54226 0.26993 2
In this chapter, we introduce our formulation for fluid flows and heat
transfer in porous media.
The model introduced here can be coupled with ADINA solid models in
fluid-structure interaction analyses. It can also be associated with mass
transfer analyses. Used as additional element groups, it can also be
employed in incompressible, slightly compressible and low-speed
compressible flow solutions.
Category Functionality
ADINA solid model
incompressible, slightly compressible and low-speed compressible flows
solid element groups
heat transfer
Coupled models
mass transfer
electro-static and steady current conduction analyses
volume of fraction
liquid-vapor phase change
Computational domains 2D planar, 2D axisymmetric and 3D
Analyses steady-state and transient
2D: 3-node linear element and 6/9-node bilinear elements
Galerkin Elements
3D: 4-node linear element and 27-node bilinear elements
FCBI and FCBI-C 2D: 3/4-node linear elements
elements 3D: 4/5/6/8-node linear elements
Material models constant
Boundary conditions prescribed velocities
v
zero velocities
Note: The column prescribed pressure
furthest to the right p
zero pressure
represents the solution prescribed rotational velocity v
variables or equations concentrated force load
that are immediately
distributed normal-traction load
affected by the
h v ( 1 i v f B ) ph v dV = h v pdS
V (4.1)
1 B
V
i( v w ) f dV + S pdS = 0
4.3 Elements
The elements that can be used for porous media are the same as those
for incompressible flows.
S1 S2 = S = S , S1 S2 =
prescribed velocities on S 1
applied normal-traction on S2
v n=0
v n=0 nn
v
All parts of the boundary have been assigned one and only one fluid
boundary condition (except on the interface of the sub-boundaries,
where two conditions meet).
For steady-state analyses, at least one velocity condition and one
pressure condition must be specified (the distributed normal- traction
load acts as a prescribed pressure condition).
A slip condition is usually applied on walls.
= fluid density
s = solid density
= fluid viscosity
g = gravitational acceleration vector
= porosity
= permeability tensor
Cp f = specific heat of fluid
Cps = specific heat of solid
kf = thermal conductivity of fluid
ks = thermal conductivity of solid
B
q = rate of heat generated per unit volume
= thermal expansion coefficient
0 = reference temperature in buoyancy force
= coefficient of surface tension
= bulk modulus of elasticity
Category Functionality
ADINA solid model
Coupled models solid element groups
Note: Heat transfer
heat transfer
must be coupled in
low-speed compressible mass transfer
flow models. Electro-static and steady current conduction analyses
liquid-vapor phase change
Computational domains 2D planar, 2D axisymmetric and 3D
Analyses steady-state and transient
2D: 3-node linear element
Galerkin Elements
3D: 4-node linear element
FCBI and FCBI-C 2D: 3/4-node linear elements
elements 3D: 4/5/6/8-node linear elements
sandard turbulent K - and K - RNG
Material models high and low Reynolds turbulent K -
Shear Stress Transport (SST) model
Prescribed velocities
v
zero velocities
prescribed pressure
p
zero pressure
prescribed rotational velocity
concentrated force load
v
distributed normal-traction load
field centrifugal load
fixed wall v, K ,
Boundary conditions uniform flow
v
angular velocity
Note: The column
moving wall
furthest to the right v, K , , d
represents the solution fluid-structure interface
variables or equations free surface
that are immediately fluid-fluid interface d
affected by the phase-change
specified condition. Gap all
The solution variable prescribed temperature
d indicates a moving zero temperature
boundary condition. concentrated heat flow load
distributed heat flux load
convection
radiation
specular radiation
thermal resistance
user-supplied all
prescribed turbulence K - K,
zero flux of turbulence variables K,
zero (default conditions)
specified
Initial conditions
mapped from other solutions
restart run
Gauss elimination method (COLSOL)
Solvers for linearized
sparse solver
equations
iterative methods (RPBCG, RPGMRES, and AMG solvers)
automatically nondimensional procedure
automatic time-stepping CFL option
automatic time-stepping ATS option
skew system
constraint condition
Other capabilities
conjugate heat transfer
element birth-death option
pressure datum
include/exclude hydrostatic pressure
with or without dissipations
The governing equations for the fluid flow are those of incompressible,
slightly compressible or low-speed compressible flows. However, the
viscosity and heat conductivity are modified to include the turbulence effect
and the K - and K - models are used to provide the required variables.
These equations are listed in Table 2-1. The solution variables are
( p, v,,, ) in the K - models and ( p, v,,, ) in the K - models. In
the case of moving mesh problems, the ALE formulation described in
Section 2.14 is used.
In the K - models, both the standard and the RNG models can be used.
In the K - models, both the high and low Reynolds models can be used.
The time integration is the same as for the fluid flow equations. The
fluid equations and their discretization are described in Section 3.2.
(h G f + Q f ih f ) dV = 0
f
V
K
G K = y a + viK S K
t
G = y a + vi S
t
Q K = y aq K
Q = y aq
K
G K = y a + v i K GK
t
G = y a + v i G
t
Q K = y aq K
Q = y aq
K vK q K GK
f = y , B = y v q , R = y G
a a a
v q G
5.3 Elements
The elements that can be used for turbulence flows here are the same as
those used for incompressible flows except that bilinear elements are not
applicable.
S5 S6 S7 = S = S
Si S j = i j , i, j = 5,6,7
wall conditions on S 7
All parts of the boundary have been assigned one and only one
turbulence boundary condition (except on the interface of the
sub-boundaries, where two conditions meet).
There is at least one wall condition or a prescribed turbulence variable
condition.
K = K (t )
= (t )
2
K= 3
2 (i v )
= K 2 (0.3L )
3
where, v , L and i (= 0.01 ~ 0.1) are velocity scale, length scale and
turbulence intensity respectively.
Note that, in SA and DES models, through all input and output, K
represents (modified eddy viscosity) and can be prescribed as
= 0.033 i v L .
This condition is usually applied to inlet boundaries.
K = K (t )
= (t )
2
K= 3
2 (i v )
= K 2 (0.27 L )
1
where, v , L and i (= 0.01 ~ 0.1) are velocity scale, length scale and
turbulence intensity respectively.
This condition is usually applied to inlet boundaries.
v*2 v*4
Kw = , w = W '( yw+ )
c 0
v*2 v*2
Kw = , w = W '( yw+ )
K 0 K
F = hi v*2 dS
and added to the right hand side of the momentum equations, where is
the tangential direction of the wall.
Pr y + y + < y+
T ( y , Pr, ) =
+ +
(5.1)
W ( y ) + P
+
y + y+
(
P = 9.24 ( Pr ) 4 1 1 + 0.28e 0.007Pr )
3
The formula
v*Cv ( w )
T+ =
qw
is then used to determine the wall heat flux or wall temperature, depending
on the type of the thermal wall boundary condition ( specified temperature
w or heat flux qw ).
The near wall treatment of the fluid and the turbulence variables, as
discussed above, is automatically enforced whenever a wall condition or its
analogue is applied. These conditions are
= fluid density
= fluid viscosity
g = gravitational acceleration vector
As mentioned in Section 3.6, not all these parameters are required in all
problems. The parameters that must be input depend on the problem to be
solved.
In incompressible flows considered here, the bulk modulus of elasticity
and the specific heat at constant volume Cv are not required. In this
case, is assumed to be infinity and Cv is forced to be equal C p . If heat
transfer is not considered, C p , k , q B , , and 0 can be ignored.
In slightly compressible flows, Cv is forced to be equal to C p and,
therefore, can be ignored. C p , k , q B , and 0 can also be omitted if heat
transfer is not included.
In low-speed compressible flows, is not used in the computations
and therefore ignored. The density is also predetermined through the state
equation and thus not required. All other material data must be input.
The above convention is used throughout the chapter.
Besides the above fluid properties, the additional model constants
c , c1 , c2 , c3 , K , , , d w+ and 0 must also be specified. Their
default values are
= 1, = 5/9, = 0.09,
= 0.075, K = 2, = 2,
= 0.712, = 1, d w+ = 70,
0 = 0.41
The Low-Reynolds and High Reynolds variants are available in the SST
material model. In addition, the model is available for FCBI and FCBI-C
elements.
The SA and DES models are available for FCBI and FCBI-C elements.
In both pre- and post-processing the turbulent kinetic energy K (as in the
K - model), through all input and output, represents . Therefore, when
prescribing , specifying its initial value, relaxation factors, and other
input parameters, K as displayed on AUI and in its commands becomes .
This model is always associated with K - model. Its material includes all
data for K - model plus some additional ones, names
A , A , cl , Rc min , Rc max , Lw . Their default values are determined by the
program and explained in Chapter 2.
ref. Bathe, K.J., Zhang, H., and Ji, S., Finite Element Analysis
of Fluid Flows fully Coupled with Structural Interactions,
Computers & Structures, Vol.72, pp.1-16, 1999.
ref. Bathe, K.J., Zhang, H., and Zhang, X., Some Advances in
the Analysis of fluid flows, Computers & Structures,
Vol.64, pp.909-930, 1997.
ref. Bathe, K.J., Zhang, H., and Wang, M.H., Finite Element
Analysis of Incompressible and Compressible fluid flows
with Free Surfaces and Structural Interactions, Computers
& Structures, Vol.56, pp.193-214, 1995.
ref. Bathe, K.J., Walczak, J., and Zhang, H., Some Recent
Advances for Practical Finite Element Analysis, Computers
& Structures, Vol.47, pp.511-521, 1993.
Category Functionality
Coupled models ADINA solid model
Note: Heat transfer solid element groups
must be coupled. mass transfer
Computational domains 2D planar, 2D axisymmetric and 3D
The basic step of a finite volume procedure is the calculation of the flux
at the interface of a control volume. The total flux consists of the inviscid
Eulerian flux term, Fn , that includes the convective term and pressure, and
the viscous term, G n , that consists of viscous and conductive terms. We
calculate the flux Fn using a finite volume-based flux-splitting method
while we calculate the viscous term G n using a finite element-based
method.
In two-dimensional geometries, the control volume is based on the use
of the triangular element. The faces of a control volume consist of straight
lines. In three-dimensional geometries, the control volume is based on the
uses of the tetrahedral element. The faces of a control volume consist of
rectangular planes and each of the rectangular consists of two triangles.
Each control volume is divided into a few sub-control volumes that are
located in the neighboring elements. They are detailed in Section 6.3.
Let us integrate the governing equation, in an exact manner on a general
moving control volume V enclosed by its faces S
(VU ) t (VU ) +
t +t
(F + G )dS CdV dt = 0 (6.1)
n V
t +t
n
t
t +t
(VU ) t (VU ) + t (Fn + G n ) S CV = 0
ref. Zhang, H., Reggio, M., Trpanier, J.Y., and Camarero, R.,
Discrete Form of the GCL for Moving Meshes and Its
Implementation in CFD schemes, Computers Fluids,
Vol.22, No.1, pp.9-23, 1993.
t +t
V tV =
t +t
wn dSdt V (6.2)
t S
This equation states that during a time interval the increased volume equals
the volumetric increase as a consequence of the motion of the faces.
Eq.(6.2) is not an additional equation that needs to be solved, but must be
satisfied implicitly as a fundamental geometric rule. It is so called the
geometric conservation law (GCL). Any violation of GCL will produce
errors to the flow field calculation, resulting in numerical oscillations or
unsuccessful solution procedure.
The key point here is to define some averaged mesh velocity wn on the
faces and embed it into the numerical scheme such that the GCL is exactly
satisfied. Our task here is to evaluate the volumetric increments in an exact
manner in different flow fields. In order to simplify the notation, we first
consider the volumetric increments in a time step t .
First we define the nodal mesh velocity as
t +t
ri t ri
wi =
t
ri = t ri + t w i , [0,1]
w = w1 + ( w 2 w1 )
r = r1 + (r2 r1 ), [0,1]
1 1
V (t ) = t w iSd d = tw 0 i t+t 2 S
0 0
where w 0 = (w1 + w 2 ) 2 .
In the axisymmetric case, similarly, we can obtain
1 1
V (t ) = t yw iSd d
0 0
t t+t 2
= (2 y1 + t+t 2 y2 )w1 i t S
6
t t+t 2
+ (2 y2 + t+t 2 y1 )w 2 i t S
6
t 2 t+2t 3
+ ( y1 + t+2t 3 y2 )w1 w 2
4
w = w1 + ( w 2 w1 ) + ( w 3 w 1 )
r = r1 + (r2 r1 ) + (r3 r1 ), , , 1 [0,1]
1 1 1
V (t ) = t w iS d d d
0 0 0
t 3
= tw 0 i t+t 2 S + ( w1 w 2 )i w 3
24
V (t )
w n =
t t +tS
The inviscid flux term Fn deserves special attention, not only because it
dominates the total flux in the outflow region, but also because wave
motions and discontinuities in the flow field are caused by this term. When
the viscous term is negligible, the governing equations form a hyperbolic
system.
Consider the following one-dimensional hyperbolic equation
U f (U ) f i+1 2 f i1 2
=
t x x
1
fi+1 2 = ( f i + f i+1 ) f i+ 1 2 (U i+1 U i ) (6.3)
2
If the wave speed, represented here by f ' , is properly evaluated such that
Eq.(6.3) becomes
fi if f i+1 2 > 0
fi+1 2 =
fi+1 if f i+ 1 2 < 0
This gives the solution of the so-called Riemann problem and a program
using the above scheme is called a Riemann solver.
For a full Eulerian equation system, approximate solutions of the
Riemann scheme are widely used. The method used here is based on Roes
scheme. In this scheme, a set of averaged variables is used to approximate
the Jacobian matrix A (U) = Fn (U ) U , such that Eq.(6.4) is exactly
satisfied.
Considering any face shared by two control volumes, denoted as states
L and R that refer to the left and right volumes respectively, the Roe
average variables are given by
= L R
= L L + R R
, = ( v, H )
L + R
= U = PDP
1U
U v , F = A
( 2 )
1 v i v + H
where
U = U R U L
F = Fn (u R w n , U R ) Fn (uL w n , U L ) Fn R Fn L
f = f (U
), f = A, P, D and P 1
1 1 1
Fn = Fn L + Fn R P D
P U (6.5)
2 2
where
D = diag { u + c , u c , u , u , u }
u = u wn
We use the finite element method to compute the viscous terms. For
both the triangular element and the tetrahedral element, the viscous terms
can be calculated exactly along the control volume faces. Thus we have
G dS G S
S
n n
For example, using the element shape functions hi , the heat flux is
computed as
S
qi dS = k nihi i dS =S k ni hi i
S
for ie = 1,2,..., N e
V , hi = ...
for i f = 1, 2,..., n f
S , w n = ...
f = S ( Fn + G n ), f U = ...
( f , f U ) left control volume
( f , f U ) right control volume
for ic = 1, 2,..., nc
{ ( }
t ) t +t (V U ) t (V U ) VC ...
1
x
t min t c
u + c + 2 x
ti = CFL tc
In order to keep the scheme stable, the factor CFL must be smaller than 1,
usually about 0.8.
The explicit procedure is summarized here. We start with the initial
guess of the solution U, which is the solution at time t . In the first time
step, the initial condition is used. The following procedure is used to obtain
the solution at t + t : Start with the current solution time ti = t ,
until (ti t + t )
U 0 = ti U , V 0 = ti V and compute ti
for ie = 1, 2,..., N e
V , hi = ...
for i f = 1, 2,..., n f
S , w = ..., f = S (F + G )
n n n
( f , f ) (left , right ) control volumes
for ic = 1, 2,..., nc
{
U = V 1 V 0U 0 t
( i (Fn + G n )S CV
)}
ti = ti + ti , U = U , V = V
ti ti
control volume
3
1
triangular elements
2
3
interface of sub-control volumes
sub-control volumes
L and R
S
L R
1
2
3
f = hi f i f = x, v, p and
i =1
where, the interpolation functions are the same as used for incompressible
flows and defined in Chapter 10.
interface of
sub-control volumes
L and R
3
L
S
1
R
case, the computation of flux terms is only carried out on the internal faces
and the physical boundary faces.
Regarding the computation of viscous terms, the coordinates and all
primitive variables are interpolated using
4
f = hi f i f = x, v, p and
i =1
where, the interpolation functions are the same as used for incompressible
flows and defined in Chapter 10.
1 1 1
Fn R = Fn L + Fn R P D
P U (6.6)
2 2
Defining
(p + cu ) (2c 2 )
1
2 (p cu ) (2c 2 )
= P 1U = p c 2
3
( v i )
4 1
5 ( v i 2 )
d1 = u + c, d 2 = u c, di = u ( i = 3, 4,5 )
-c 0 c u
t boundary
n
computational outside of
domain computational domain
t boundary
Du Du-c
n
computational outside of
domain computational
domain
t boundary
n
computational outside of
domain computational
domain
t boundary
n
computational outside of
domain computational
domain
Se S w St = S = S
Si S j = i j; i, j = e, w, t
n
uniform flow
condition on St
v
n
external
condition
(v, , ) on Se wall condition on Sw
inlet-subsonic, outlet-subsonic,
specified v and H on S i specified p on So
n
n
wall Sw
All parts of the boundary have been assigned one and only one fluid
boundary condition (except on the interface of the sub-boundaries,
where two conditions meet).
The type of the condition follows the flow regime on the boundary.
vi = vi ( t )
= (t )
F ( t ) = hv nn ( t ) dS
As described in Section (2.3), when the whole field is rotating, the flow
equations can be formulated in a rotational reference coordinate system.
The problem is then equivalent to a problem defined in a fixed coordinate
system subjected to additional centrifugal forces. These forces can be
written as
F ( t ) = hv fc dV
fc = x0 (t ) (t ) ( x x0 (t )) 2(t ) ( v)
(t ) (t ) ( x x0 (t ))
It must be kept in mind that the velocity solved in this coordinate system is
the relative velocity with respect to the rotational frame (which is denoted
as v r in Section 2.3).
Strictly speaking, this condition is not a "boundary" condition since the
force is applied to the whole domain.
E = E (t )
The energy equations at the boundary nodes are then replaced by this
condition.
Be cautious when using this condition since there are no density and
velocity conditions applied yet. If only this condition is applied to a
boundary, the problem may not be well-posed.
Q ( t ) = h qn ( t ) dS
= A(t ) + B (t )i
where i is the value of the same field solution variable adjacent to the
boundary.
When the variable is prescribed, choose B (t ) =0 and specify A(t ) to be
the prescribed value of the variable.
On the other hand, when a zero Neumann condition is applied, choose
A(t ) =0 and B (t ) =1. This means that a first order approximation to the
Neumann condition will be used.
This notation is used for most of the variables that are required in the
special boundary conditions for high-speed compressible flows.
In the interface of a fluid and a fixed solid, no-slip or slip conditions are
usually applied. On fixed wall conditions, the boundary is fixed. In other
words, the boundary displacement is zero. Fixed wall conditions can only
be applied to boundary lines and surfaces of two-dimensional and three-
dimensional computational domains, respectively.
No-slip condition
v=0
v=0;
_
=(t) or n =0
boundary is fixed
Slip condition
v in = 0
v n=0;
_
=(t) or n =0
boundary is fixed
v(t ) = ( t ) ( x(t ) x0 )
_ _
x moving or fixed
boundary nodes
_
x
_
(t)
v d(t ) = 0
_
_ t)
v=d(
=(t) or n =0
boundary displacement
_
is prescribed: d(t)
(v d(t ))in = 0
while the tangential components are free and computed as unknown
variables from the governing equations.
The temperature condition can be either a prescribed temperature or a
specified zero heat flux, in the same manner as in the no-slip condition.
This condition is usually applied to moving wall boundaries where the
viscous effects are negligible.
_
v n=d(
_ t) n
=(t) or n =0
boundary displacement
_
is prescribed: d(t)
v = v (t ) + d(t )i(I )
= a n
Notice here that the tangential direction is not directly required, since it is,
in general, not a constant vector.
_ _
_
_ =(t) or n =0
boundary displacement
_
is prescribed: d(t)
(t ) (x(t ) x0 )
=
(t ) (x(t ) x0 )
_ _ _
v=(t) (x(t)x0)+d(t) (I)
_
=(t) or n =0
x
boundary displacement
_
is prescribed: d(t)
_
x0
_
(t)
Three boundary values and the direction of the specified velocity are
required in this condition. These values can be ( (t ), v (t ), M(t ) ) or
( (t ), (t ), v (t ) ), where v is the magnitude of the velocity in a specified
flow direction m .
In addition, a velocity condition imposed on the component in the
direction k can also be specified, where k is tangential to m . Let
vk vik and the coordinate in the normal direction n be n , this
condition can then be either vk = 0 (represented as s =0) or vk n = 0
(represented as s =1).
Based on these conditions, we can obtain a complete description of the
conservative variables.
specified _
flow direction m
U= (v m + svi k )
1 (v 2 + sv 2 ) + v 2 M 2
2 i
U= (v m + svi k )
1 (v 2 + sv 2 ) + C
2 i v
Three boundary values are required in this condition. These values can
be ( (t ), u (t ), M(t ) ), ( p (t ), (t ), u (t ) ) or ( p (t ), u (t ), M(t ) ), where u is the
magnitude of the velocity in the normal direction of the boundary n .
In addition, a velocity condition imposed on the component in the
tangential direction can also be specified. Let v v i and the
coordinate in the direction n be n , this condition can be either v = 0
(represented as s =0) or v n = 0 (represented as s =1).
Based on these conditions, we can obtain a complete description of the
conservative variables.
U= (un + svi )
1 (u 2 + sv 2 ) + u 2 M 2
2 i
p (C p Cv ) ( )
U = (un + svi )
1 (u 2 + sv 2 ) + C
2 i v
pM 2 u 2 ( )
U = (un + svi )
1 (u 2 + sv 2 ) + p
2 i
Two boundary values are required in this condition. They control the
flow condition in the normal direction to the boundary. Thus the velocity
specified in this condition is the magnitude of the velocity in the normal
direction n . Since the inlet flow condition is assumed to be subsonic, only
one wave speed ( d1 ) is positive. Therefore 1 = 0 is assumed.
In addition, a velocity condition imposed on the component in the
tangential direction can also be specified. Let v v i and the
coordinate in the direction n be n , this condition can be either v = 0
(represented as s =0) or v n = 0 (represented as s =1).
For the purpose of convenience in the input, a few combinations of
these values can be used. They are
( p, H ), ( p, ), (, u ), (, u ), (, u ), ( H , u )
f
u = 0, =0 (f = p, and v un )
n
6.4.3.11 Gap
This is the simplest yet most frequently used material model. In this
model, all fluid properties are assumed to be constant. They are
= fluid viscosity
2* = ratio of the second viscosity to the viscosity
Cp = specific heat at constant pressure
Cv = specific heat at constant volume
k = thermal conductivity
qB = rate of heat generated per unit volume
This model contains the modifications of the viscosity and the heat
conductivity defined in Sutherlands formulae
m m
+ S + Sk
k
= 0 , k = k0 k
+ S k + Sk
0 , C p , Cv , k0 , q B = f ( )
0 , C p , Cv , k0 , q B = f ( p)
0 , C p , Cv , k0 , q B = f ( p, )
In this model, the user can specify the material data through a user-
supplied subroutine, which is designed specifically for high-speed
compressible flows. The subroutine will be invoked whenever material
data are required in the computations. Current pressure and temperature
will be passed in as arguments, while the program returns the following
fluid properties
f f
, k , q B , f , ,
p
( f = Cv & C p )
1 1 C p
= , Cv = , C p = 1 + Cv , k = , qB = 0
Re 1 Pr
SUBROUTINE CFVUSR(P,T,CMAT)
C======================================================================
C
C USER-SUPPLIED MATERIAL DATA FOR COMPRESSIBLE FLUID FLOWS
C
C INPUT : P,T
C OUTPUT: CMAT
C
C ------------------------------------------------------------------
C WHERE
C P = PRESSURE AT THE LOCATION
C T = TEMPERATURE AT THE LOCATION
C CMAT(1) = SPECIFIC HEAT AT CONSTANT PRESSURE (CP )
C CMAT(2) = DERIVATIVE OF CMAT(1) WITH RESPECT TO P (CPP)
C CMAT(3) = DERIVATIVE OF CMAT(1) WITH RESPECT TO T (CPT)
C CMAT(4) = SPECIFIC HEAT AT CONSTANT VOLUME (CV )
C CMAT(5) = DERIVATIVE OF CMAT(4) WITH RESPECT TO P (CVP)
C CMAT(6) = DERIVATIVE OF CMAT(4) WITH RESPECT TO T (CVT)
C CMAT(7) = VISCOSITY
C CMAT(8) = COEFFICIENT OF THERMAL CONDUCTIVITY
C CMAT(9) = RATE OF HEAT GENERATED PER UNIT VOLUME
C
C BE NOTED THAT THE STATE EQUATIONS ARE DEFINED AS
C
C P = (CP-CV)*D*T
C T = E/CV
C
C WHERE D = DENSITY
C E = INTERNAL ENERGY
C
C======================================================================
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DIMENSION CMAT(*)
C----------------------------------------------------------------------
P = P
T = T
C----------------------------------------------------------------------
C
C FOR A PERFECT GAS, USING T_SCALE = (U_SCALE)**2/(CP-CV), THE
C MATERIAL DATA ARE REPRESENTED BY REYNOLDS NUMBER "RE", PRANDTL
C NUMBER "PR" AND THE RATIO OF SPECIFIC HEATS "GAMMA".
C
C XMU = 1/RE
C XKCON = XMU*CP/PR
C CV = 1/(GAMMA-1)
C CP = 1 + CV
C
C----------------------------------------------------------------------
RE = 1000.D0
PR = 0.71D0
GAMMA = 1.4D0
C
XMU = 1.D0/RE
CV = 1.D0/(GAMMA-1.D0)
CP = 1.D0 + CV
CMAT(1) = CP
CMAT(2) = 0.D0
CMAT(3) = 0.D0
CMAT(4) = CV
CMAT(5) = 0.D0
CMAT(6) = 0.D0
CMAT(7) = XMU
CMAT(8) = XMU*CP/PR
CMAT(9) = 0.D0
C----------------------------------------------------------------------
C FOR A REAL GAS, SUPPLY THE FUNCTIONS HERE AND COMMENT OUT THE
C UPPER SECTION
C----------------------------------------------------------------------
9999 CONTINUE
RETURN
END
Category Functionality
Coupled models ADINA solid model
solid element groups
Note: Heat transfer heat transfer
must be coupled. mass transfer
Computational domains 2D planar, 2D axisymmetric and 3D
Analyses steady-state and transient
3-node triangle
Elements
4-node tetrahedron
Material model turbulence K -
Initial conditions zero (default conditions)
Note: Zero pressure or specified
temperature cannot be mapped from other solutions
specified. restart run
The governing equations for the fluid flow are those of high-speed
compressible flows. However, the viscosity and heat conductivity are
modified to include the turbulence effect and the K - model is used to
model the required variables. These equations are listed in Table 2-1. Note
that the fluid solution variables are modified to include the effect of
compressibility. The solution variables are ( , v, ,, ) . In the case
The time integration is performed as for the fluid flow equations. The
fluid equations and their discretization are described in Section 6.2.
The finite element method is also used to discretize the governing
equations of the turbulence solution variables. The finite element equations
are obtained by establishing a weak form of the turbulence equations using
the Galerkin procedure. The equations of K and are weighted with the
virtual quantities of K and , respectively. The equations are integrated
over the computational domain V . The divergence theorem is used to
lower the order of the derivatives of turbulence fluxes.
The variational forms of the K - equations are
(h G f + Q f ih f ) dV = 0
f
V
K
G K = y a + viK S K
t
G = y a + vi S
t
Q K = y aq K
Q K = y aq K
7.3 Elements
The boundary conditions for fluid variables are usually the same as for
laminar models, although the treatment of the wall condition or its analogue
is modified as explained later in this section. The conditions introduced
here are only for the turbulence variables K and .
A typical turbulence condition may be prescribed as a turbulence
variable at the inlet, zero first derivative of the turbulence variables at the
outlet and a solid wall condition. In general, all parts of the boundary have
to be applied with one and only one turbulence boundary condition. There
is at least one wall condition or a prescribed turbulence variable condition
in steady-state analyses. The available conditions are introduced here.
K = K ( t ) , = (t)
2
K= 3
2 (i v )
= K 2 (0.3L )
3
where, v , L and i are velocity scale, length scale and turbulence intensity
respectively.
This condition is usually applied to inlet boundaries.
v*2
K= , = v*2 v ' (7.1)
c
v*2 v*4
v w w w = v*W ( yw+ ) , K w = , w = W '( yw+ )
c 0
yw+ = min{d w+ , 12 y + }
Recalling that pressure, temperature and density must satisfy the state
equation that is represented by the ideal gas law, zero pressure or zero
temperature must not be specified. Since the default initial condition to all
variables is zero, initial conditions are always required in both transient and
steady-state analyses. A good initial condition, as will be seen in Chapter
13, may accelerate the convergence during equilibrium iterations. In
certain cases, the initial condition may become a key factor in reaching a
converged solution.
Initial conditions can be improved in restart analyses or using the
solutions mapped from a similar solution.
Category Functionality
ADINA solid model
Coupled models incompressible, slightly compressible and compressible flows (including
laminar and turbulence models)
Note: Heat transfer
porous media flows
must be coupled in
compressible flow solid element groups
models. heat transfer
Electro-static and steady current conduction analyses
Computational domains 2D planar, 2D axisymmetric and 3D
Analyses steady-state and transient
2D: 3-node linear element and 6/9-node bilinear elements
Galerkin Elements
3D: 4-node linear element and 27-node bilinear elements
FCBI and FCBI-C 2D: 3/4-node linear elements
elements 3D: 4/5/6/8-node linear elements
constant
velocity-dependent
Material models
pressure-temperature-dependent
user-supplied
prescribed mass-ratio
Boundary conditions distributed mass flux
mass convection
user-supplied
zero (default conditions)
specified
Initial conditions
mapped from other solutions
restart run
Gauss elimination method (COLSOL)
Solvers for linearized
sparse solver
equations
iterative methods (RPBCG, RPGMRES, and AMG solvers)
automatically nondimensional procedure
automatic time-stepping CFL option
Other capabilities
automatic time-stepping ATS option
others depending on the coupled fluid models.
The governing equations for mass-ratios and the bulk density are listed
in Table 2-1. In the current approach, we assume that the material data are
the same for all species. The solution variables are i ( i = 1, 2,..., n ) . Note
that the fluid model must be included since the mass transfer equations are
always coupled with the fluid flow equations. In the case of moving mesh
problems, the ALE formulation described in Section 2.14 is used.
Mass transfer may be active in the whole computational domain, or may
be inactive in certain regionsfor example, in solid element groups. The
mass-ratio can be deactivated in element groups. Once it is inactive, a zero
mass flux condition is assumed along the interface between the active-mass
and inactive mass regions.
The time integration schemes are those used for the fluid flow
equations.
The finite element method is used to discretize the governing equations.
The finite element equations are obtained by establishing a weak form of
the equations using the Galerkin procedure. The governing equations are
weighted with the virtual quantity of mass-ratios and integrated over the
computational domain V . The divergence theorem is used to lower the
order of the derivatives of the mass flux.
Corresponding to the governing equation, the variational form of the
mass transfer equation is
(h Gi + qi ihi ) dV = hi qi i dS
i
V S
i
Gi = + i( vi ) mi
t
qi = Dii
i
mi dV + ( v w ) i Dii i dS = 0
V t S
In the following cases, the mass solution variables may be coupled with
fluid variables.
any i 0, 1 i n
any i 0, 1 i n
any fluid material depends on mass-ratios
However, the choice of coupling between the fluid variables and the mass-
ratios is determined by the user. In certain applications, a decoupled
solution may be required.
The mass transfer equations are solved separately from the fluid
variables. However, in the case that they are coupled with fluid, the
iterative or partitioned procedure is applied. In the Newton-Rapson
method, the sparse solver is always used to solve the mass transfer
equations.
8.3 Elements
The elements that can be used for mass transfer are the same as those
for incompressible flows.
The boundary conditions for the fluid variables are the same as for fluid
models. The conditions introduced here are only for mass-ratios.
When n species are modeled, n mass transfer equations are solved.
For each species, a complete set of boundary conditions must be applied.
A typical set of boundary conditions for one species may include
prescribed mass-ratios at the inlet, and zero mass flux on the walls and on
the outlet. Also, a mass convection condition may be applied to some open
boundaries. A general guide for forming a well-posed species equation is
to apply one and only one boundary condition at each part of the boundary,
and at least one prescribed mass-ratio or mass convection condition is
applied if a steady-state analysis is performed. The available conditions are
introduced here.
i = i ( t )
Qi ( t ) = hi qi n ( t ) dS
(
qi n = hi i e i )
where hi is a mass convection coefficient and i e is an environmental
mass-ratio, both could being constant, time-dependent or mass-ratio
dependent. The applied mass flow is then computed by
Qi ( t ) = hi qi n dS
Fluid flow material conditions are defined when the fluid equations are
considered. In this section, only the material conditions for the species are
described. Mass material data are assumed to be the same for each of the
species.
D = D0 I
D = D0 I + Dnnn + D (I nn)
np n
p
D = D0 I
p0 0
It is important to use proper units such that the pressure and temperature
solutions can never be zero.
In this model, the user can specify the material data through a
user-supplied subroutine. The subroutine is invoked whenever material
data is required in the computations. Any necessary data is passed in as
arguments. The arguments are the coordinates of the current spatial point,
time, the element group label, the element label, current solution variables
and their derivatives at the point, etc.
where M is defined as
n
M = i (i i 0 )
i =1
and S0 and S f are used to compute the mass creation rate according to
mi = S0 S f i
The reason that the program requires the coefficients S0 and S f rather than
the mass creation rate mi itself is to assemble the mass-ratio in an implicit
way, therefore maintaining the stability of the computational procedure.
For species-1:
= 1, S0 = S f = 0, M = 0
10 0 0
D = 0 0.2 0
0 0 0.2
= 1, S0 = S f = 0, M = 0
0.2 0 0
D = 0 1.2 0
0 0 0.2
= 118.6, S0 = S f = 0, M = 0.11
D = 0.01I + 0.01nn + 0.003(I nn)
SUBROUTINE ADFURM(MODE,TIME,IELG,IELM,IMAS,NNOD,NM,H,DH,VESL,
. DEN,DIF,S0,SF,BM)
C=======================================================================
C
C USER SUPPLIED MATERIAL DATA AND SOURCE TERMS FOR MASS TRANSFER
C
C-----------------------------------------------------------------------
C
C INPUT:
C
C MODE = REFERRING PHASE (SEE EXPLANATIONS BELOW)
C TIME = CURRENT TIME
C IELG = ELEMENT GROUP NUMBER
C IELM = ELEMENT NUMBER
C IMAS = INDEX OF THE CURRENT SPECIES
C NNOD = NUMBER OF LOCAL NODES FOR NNOD-ELEMENT
C H(*) = INTERPOLATION FUNCTION
C DH(3,*) = DERIVATIVES OF H WITH RESPECT TO (X,Y,Z)
C VESL( 1, I) = X-VELOCITY AT LOCAL NODE I
C VESL( 2, I) = Y-VELOCITY AT LOCAL NODE I
C VESL( 3, I) = Z-VELOCITY AT LOCAL NODE I
C VESL( 4, I) = PRESSURE AT LOCAL NODE I
C VESL( 5, I) = TEMPERATURE AT LOCAL NODE I
C VESL( 6, I) = X-DISPLACEMENT AT LOCAL NODE I
C VESL( 7, I) = Y-DISPLACEMENT AT LOCAL NODE I
C VESL( 8, I) = Z-DISPLACEMENT AT LOCAL NODE I
C VESL( 9, I) = TURBULENCE_K AT LOCAL NODE I
C VESL(10, I) = TURBULENCE_E AT LOCAL NODE I
C VESL(11, I) = X-COORDINATE AT LOCAL NODE I
C VESL(12, I) = Y-COORDINATE AT LOCAL NODE I
C VESL(13, I) = Z-COORDINATE AT LOCAL NODE I
C VESL(14+K,I) = MASS RATIO OF SPECIES-K (K=0,1,2,...,NMASS)
C NM = LENGTH OF THE FIRST ENTRY OF VESL
C
C-----------------------------------------------------------------------
C
C OUTPUT MATERIAL DATA FOR MODE=1:
C
C DEN = BULK DENSITY OF MIXTURE
C (FOR INCOMP.FLUIDS, DEFAULT=SPECIFIED)
C (FOR COMP.FLUIDS, DEFAULT=COMPUTED USING STATE EQ.)
DIF(3,3) = 0.2D0
DIF(1,2) = 0.0D0
DIF(1,3) = 0.0D0
DIF(2,1) = 0.0D0
DIF(2,3) = 0.0D0
DIF(3,1) = 0.0D0
DIF(3,2) = 0.0D0
ENDIF
C
C EXAMPLE FOR V-DEPENDENT MATERIAL
C
c IU = 1
c IV = 2
c IW = 3
c EPS = 1.D-20
C
c DEN = 118.6D0
c DIF0 = 0.01D0
c DIFVN = 0.01D0
c DIFVT = 0.003D0
C
c U = 0.D0
c V = 0.D0
c W = 0.D0
c DO 2 I = 1, NNOD
c U = U + VESL(IU,I)*H(I)
c V = V + VESL(IV,I)*H(I)
c W = W + VESL(IW,I)*H(I)
c2 CONTINUE
c F0FT = DIF0 + DIFVT
c FNFT = DIFVN - DIFVT
c U2 = U*U + V*V + W*W
c U2 = MAX(U2,EPS)
c UI2 = FNFT/U2
c UU = U*UI2
c VV = V*UI2
c WW = W*UI2
c DIF(1,1) = U*UU + F0FT
c DIF(2,2) = V*VV + F0FT
c DIF(3,3) = W*WW + F0FT
c DIF(1,2) = U*VV
c DIF(1,3) = U*WW
c DIF(2,3) = V*WW
c DIF(3,1) = DIF(1,3)
c DIF(3,2) = DIF(2,3)
c DIF(2,1) = DIF(1,2)
GO TO 9999
ENDIF
C
IF(MODE.EQ.2) THEN
C +-------------------------------------------------+
C | |
C | SPECIFY THE SOURCE IN TERMS OF S0 AND SF |
C | |
C +-------------------------------------------------+
S0 = 0.D0
SF = 0.D0
GO TO 9999
ENDIF
C
c IF(MODE.EQ.3) THEN
C +-------------------------------------------------+
C | |
9.1 Introduction
FSI interface
wall FSI interface
v
fixed
solid model
fluid model
FSI interfaces
on fluid and solid
wall boundaries
v
fixed
9.2 Theory
ref. Zhang, H., and Bathe, K.J., Direct and Iterative Computing
of Fluid Flows fully Coupled with Structures,
Computational Fluid and Solid Mechanics, K.J. Bathe,
editor, Elsevier Science, 2001.
d f = ds
ni f = ni s
where d f and d s are, respectively, the fluid and solid displacements and
f and s are, respectively, the fluid and solid stresses. The underlining
denotes that the values are defined on the fluid-structure interfaces only.
The fluid velocity condition is resulted from the kinematic condition
v = ds
n i v = n id s
F(t ) = hd f i dS (9.1)
5
1 1
6
2
2
7
3
3
4
The fluid nodal displacements are interpolated using the solid nodal
displacements. For example, the displacement at fluid node 2 is
interpolated using the displacements at solid nodes 1 and 2. Given the
boundary nodal displacements, the other fluid nodal displacements are
calculated in a special procedure to preserve the initial mesh quality. The
procedure is generally applicable to all types of moving meshes and thus is
described in detail in Section 12.10.
Similarly, the fluid traction at a solid node is interpolated using the
stress of the fluid boundary element where the solid node is located. In the
example shown here, the fluid stress at solid node 2 is interpolated using
the fluid stresses at fluid nodes 2 and 3, while the stresses at solid nodes 1
df
rf = max
Ds
boundary
FSI interface geometry
in fluid model
df
Ds
FSI interface
in solid model
If there are gaps between fluid FSI nodes and the solid FSI interface,
these fluid nodes are automatically moved onto the solid interface and the
other fluid nodes are moved accordingly in the same procedure as described
in Section 12.10.
Similarly a relative distance from the solid FSI nodes to the fluid FSI
interface is defined and checked
d
rs = max s
D f
where d s is the distance from a solid node to the fluid boundary and D f is
the size of the fluid boundary element. According to the value of rs , the
program prints a warning/error message and continues/stops as for fluid
nodes.
When the distance between the boundaries is too large, either the
geometries used in the fluid and solid models are apart from each other, or
the boundary elements have misrepresented the geometry in one or both
models.
To avoid possible discrepancies between the two interfaces, the
following tips could be useful.
The time integrations for both fluid and solid equations must be
consistent. Although different coordinate systems are used in the fluid and
solid models, the two systems are the same on fluid-structure interfaces
where the Lagrangian coordinate system is used. We therefore first focus
on the time integration on the interface and then apply the results to the
whole computational domain. Since the displacement, velocity and
acceleration on the interface are the same for both fluid and solid models,
we will not distinguish between them on the interfaces.
Let the fluid equations and the solid equations be represented by
G f f , f = 0 and G s d, d, d = 0 respectively, where the fluid variables
are represented by f and the solid displacements are represented by d .
We also consider that the fluid flow equations are balanced at time t + t
and the solid equations are satisfied at time t + t . Consider the Euler
method used for the fluid velocity and acceleration
t +t
t +t d td
v = t +t
v + t v (1 )
t
t +t
t +t v tv
a = t +t
a + t a (1 )
t
From these equations, the velocity and the acceleration at time t + t can
be obtained in terms of the unknown displacement
1 t +t 1
t +t
v=
t
( d t d ) t v 1 t +t d a + t
1 1 1
t +t
a = 2 2 ( t +t d t d ) t v 2 t a 1 t +t d b + t
t t
We then apply these equations to the coupled system. The final time
integration scheme can therefore be summarized as
t +t
G f G f t +t f , ( t +t f t f ) t = 0
t +t
G s G s t +t d, t +t d a + t , t +t d b + t = 0
F f X f , d s ( X s )
F [ X] =0 (9.2)
Fs X s , f ( X f )
For many coupled problems, the fluid traction affects the structural
deformations and the solid displacement affects the flow pattern. This fact
is the reason for performing fluid-structure interaction analyses. We call
this type of analysis two-way coupling.
kf kf 1
r
{
max kf , 0 }
and the displacement criterion is defined as
d sk d sk 1
rd d
{
max d sk , 0 }
where and d are tolerances for stress and displacement convergence,
respectively, and 0 is a pre-determined constant ( 108 ) for the purpose
overriding of stresses or displacements in case they become too small to
measure convergence. The default option is that both criteria need to be
satisfied.
F f X kf , d d sk 1 + (1 d )d sk 2 = 0
Fs X ks , kf + (1 ) kf 1 = 0
Note that the fluid stresses have also been relaxed using a stress
relaxation factor (0 < 1) .
4) The fluid nodal displacements are computed with the
prescribed boundary conditions d kf = d d sk + (1 d )d sk 1 .
5) If only the displacement criterion needs to be satisfied, the
displacement residual is computed and checked against the
tolerance. If both the stress and the displacement criteria
need to be passed, both convergence conditions are checked.
If the iteration has not converged yet, the program goes back
to step 1 and continues for the next iteration unless a
maximum number of FSI iterations have been reached (in
this case, the program stops and prints out the divergence
information).
6) Print and save the fluid and solid solutions if required.
In this solution method, the time steps and solution times are controlled
in the fluid model. However, all time functions defined in the solid model
must cover the time range of the computation. The parameters that control
the convergence of the coupled system are also determined in the fluid
model. These parameters are the stress and displacement tolerances and
relaxation factors, convergence criteria (see above), etc.
The convergences reached in fluid and solid equations are controlled in
the fluid and solid models respectively. The controls of saving and printing
solutions are also determined in the individual models.
The iterative method requires less memory than the direct method in
two-way couplings. It is suitable for small to large problems that have or
have not contact conditions. It is also good for steady-state analyses.
A ff A fs X kf B f
=
A sf A ss X ks B s
and
X k +1 = X k + X k
B f = F fk F f X kf , d d sk + (1 d )d sk 1
B s = Fsk Fs X ks , kf + (1 ) kf 1
Fik
A ij = ( i, j = f , s)
X j
Note that the fluid stress and solid displacement have also been relaxed, as
in the iterative coupling method, using a stress relaxation factor and a
displacement relaxation factor d respectively. These factors have been
practically proven useful for many difficult problems even in the direct
computing method.
The computational procedure can be summarized as follows. We start
with the initial solution guess X 0 = t X for the solution at time t + t . For
iterations k = 1,2,, the following equilibrium iteration procedure is
performed to obtain the solutions t +t X .
(1) Assemble the fluid and solid equations as is normally done in a single
fluid and a single solid model, followed by assembling the coupling
matrices A fs and A sf .
(2) Solve the linearized equation of the coupled system and update the
solution (including solving the fluid displacements). Compute and
check the stress and/or displacement residuals against the specified
tolerances. If the solution has not converged yet, the program goes
back to step 1 to continue for the next iteration unless a maximum
number of FSI iterations have been reached (in this case, the program
stops and prints out the divergence information).
(3) Print and save the fluid and solid solutions if required.
In this case, the fluid stress is applied onto the structure while the
structure has no influence on the flow field. Choose one as the maximum
number of FSI iterations permitted in the iterative fluid-structure coupling
for this type of analyses. The program will then perform the following
steps in each time step:
Any fluid element that can be used in a fluid model can also be used in
fluid-structure interaction models. These elements are either two-
dimensional elements (including axisymmetric elements) or three-
dimensional elements. The fluid-structure interfaces are always assigned to
boundaries of elements. In two dimensions and three dimensions, the
interfaces are then formed by line elements and surface elements,
respectively, which are generated automatically by the program.
Any solid element, on the other hand, that can be used in a separate
solid model can also be used in fluid-structure interaction models.
However, some of the elements cannot be directly connected with fluid
elements, which means that no fluid-structure interface can be assigned to
those elements. For example, the spring element cannot be directly
connected with fluid elements.
As a special case of directly connectable solid elements, the beam-type
elements can interact through both their sides with 2D-fluid boundary
elements and the shell-type elements can interact through both their
surfaces with 3D-fluid boundary elements. We call them F-S-F
connections. In this case, the two fluid boundaries are geometrically
identical but connected with the two sides/surfaces of the solid elements
respectively. On the contrary, when solid boundary elements or one
side/surface of the solid elements are connected with fluid boundary
elements, we call them F-S connections.
The possible connections of fluid and solid elements are listed in the
following table, in which the abbreviation n.c. stands for not
connectable.
In the case of F-S-F connections, although the two fluid boundaries are
geometrically identical, they are separated by the solid elements and
therefore generally nonidentical to the physical quantities, such as the
stresses and the pressures. The fluid elements must be carefully modeled in
this case and are discussed hereafter.
fluid elements
separated
nodes
connected
coner nodes
beam
spring
different
subdivisions
on both sides
c < n1
In the first solution, different element subdivisions are used on the two
boundaries. The key here is to make sure that there are no middle nodes at
the same locations.
The second solution is to move the two faces slightly apart, while
allowing the end-points to still share the same locations. The distance
between the two faces must be small enough (for example, less than ten
percent of the boundary element length), but must be larger than the
tolerance c that is used in the coincidence checking when the elements are
generated.
Two fluid-structure interfaces must be defined in the solid model and in
the fluid model. Each of them corresponds to one side of the beam. In this
example, the fluid-structure interface 1 in the fluid model is connected
logically with the fluid-structure interface 1 that is defined in the solid
model. They form a pair to model the left side of the beam. Similarly, the
pair of the interfaces 2 models the right side of the beam.
In general, the connectable boundaries should be specified in the same
fluid-structure interface, since the connected fluid corner nodes may be
over specified by different moving conditions. However, the corner nodes
in the example are uniquely defined in the two FSI conditions.
Truss/cable elements, iso-beam elements and pipe elements are similar
to beam elements in defining fluid-structure interaction problems.
FSI interface 2
FSI interface 1
FSI interface 2
separated
nodes fluid elements
beam
connected
coner node
c < n1
c < n1
different
subdivisions
on both sides
The first solution is to move the end-point a small distance apart and to
use different subdivisions on the two boundaries. The key here is to make
sure there are no nodes at the same locations.
The second solution is to move the two faces slightly apart, while
allowing only the end-point (the connected one) to remain at the same
location. The distance between the two faces must be small enough (for
example, less than ten percent of the boundary element length), but must be
larger than the tolerance c that is used in the coincidence checking.
As in the case of the O-shape interface, two interfaces must be defined
in the solid model and in the fluid model, each pair of the fluid-solid
interfaces corresponding to one side of the beam.
Truss/cable elements, iso-beam elements and pipe elements are similar
to beam elements in defining fluid-structure interaction problems.
top face
bottom face
connected fluid nodes
separated nodes on both faces
top face
bottom face
Any fluid materials that can be used in separate fluid models can also
be used for fluid-structure interaction models.
Any solid materials that can be used in separate solid models can also
be used for fluid-structure interaction models.
pure fluid
domain
pure solid
domain
porous medium
domain
fluid-stucture
interface S
Unlike on the interface, the fluid and structural variables are coupled in
the whole porous medium. The microscope fluid stress must be added to
structural model as additional internal stress f ( pI ) . The total Cauchy
stress in solid model becomes
total
s = s pI
d f = ds
in the whole porous medium. This condition also indicates that the moving
mesh velocity in ALE formulation is identical with the solid velocity
w = ds
We note that the fluid mesh and solid mesh can be entirely different.
Interpolation is applied to the entire porous domain to obtain, respectively,
the fluid pressure on solid mesh and fluid nodal displacements.
The porosity that indicates the fluid volume percentage in the total
volume is no longer a constant in coupled porous media. Assuming that the
volume change of the solid part is much smaller than that in fluid part (or
the so called incompressible solid skeleton), the current porosity can be
obtained
J0
=1
J
(10 )
0
=
0
ms = ms ( f )
where, ms represents any temperature-dependent material properties in
structure. The temperature is a solution variable of the energy equation and
can be modeled either in the fluid or solid models.
Similar to porous media, the fluid nodal displacement is arbitrary, as
long as the boundary displacement compatibility is satisfied. For
convenience, we still use d f = d s to update fluid mesh and, accordingly,
fluid velocity in solid region is equal to the solid velocity, v f = d s .
(2) The conjugate heat transfer is different from the standard TFSI by
applying temperature variable only in fluid model. The fluid model
must include solid element groups that are coincident with the
structural domain. Temperature is defined in both fluid and solid
element groups. In the case that the mesh in solid model is different
from the fluid solid element-group mesh, an interpolation method is
automatically applied to mapping variables that required. In order to
compute the thermal effect accurately when shell (in 3D problems)
or beam (in 2D problems) is used in TFSI analyses, the special
boundary condition called shell-thermal should be applied to the
fluid-shell interface. With this condition, ADINA-F can accurately
predict the temperature and its gradient on shells and beams and
then on nodal deformations.
Note that if the simulation times used in the fluid and solid models are
different, a linear interpolated temperature between two time steps is used.
For more accurate solutions, if temperature is required at multiple times in
the solid model, the fluid solutions at those times should be properly saved
into restart files.
Chapter 10 Elements
The line elements are not directly available to users. They are only
used as boundary elements of two dimensional field elements. The
boundary elements are automatically generated by ADINA-F. Many
boundary conditions are formulated using boundary elements. Based on
the elements used, two types of line elements will be encountered: a 2-node
linear element and a 3-node parabolic element (see the figure below).
1 2 3 2
1
boundary element of boundary element of
2d 3-node element 6/9-node elements
2
f = hi0 f i for 2 - node linear element
i =1
3
f = H i0 f i for 3 - node parabolic element
i =1
where
h10 = 1 r , h20 = r
(10.1)
H10 = h10 (h10 h20 ), H 20 = h20 (h20 h10 ), H 30 = 4h10 h20
x 2 x1
( h ) = i
0
2 ( 1,1)
x 2 x1
x 2 x1
( H ) = i
0
2 (h
0
2 3h10 ,3h20 h10 , 4h10 4h20 )
x 2 x1
n m 1 n m n !m !
h10 h20 = h10 h20 dr =
0 (n + m + 1)!
and in particular,
1 1
(h ) = ( ), (h h ) =
i
0 1,1
i
0 0
j
3 6
2 2 1
sym. 3
2 1 1
15 30 15
( H ) = 16 , 16 , 23 ,
i
0
(H H ) =
i
0 0
j
2 1
15 15
sym. 8
15
3
F2 F1
s 0
1 2
r F3
h1 = 1 r s, h2 = r , h3 = s, h0 = h1 h2 h3 (10.2)
3 hi fi if f = v
i =0
f = 3
i =1 hi fi else
hi = J 1 Si i = 1, 2,3
1 r 2 n !m !k !
h1n h2m h3k = 2 h1n h2m h3k dsdr =
0 0 (n + m + k + 2)!
and in particular,
1 1 1 1
6 12 12 180
1 1 1
( h , h , h , h ) = ( 13 , 13 , 13 , 601 ) , ( h h ) =
6 12 180
1 2 3 0 i j
1 1
6 180
sym. 1
2520
here, J is the Jacobian (twice the triangle area), Si is the outward facial
vector of the side opposite the local node i .
4 F3
3
7
F4 9 6 F2
8
s
5
1 r 2
F1
( H1 , H 2 , H 5 ) = ( H10 ( r ) , H 20 ( r ) , H 30 ( r ) ) H10 ( s )
( H 4 , H 3 , H 7 ) = ( H10 ( r ) , H 20 ( r ) , H 30 ( r ) ) H 20 ( s )
( H 8 , H 6 , H 9 ) = ( H10 ( r ) , H 20 ( r ) , H 30 ( r ) ) H 30 ( s )
( h1 , h2 ) = ( h10 ( r ) , h20 ( r ) ) h10 ( s )
( h4 , h3 ) = ( h10 ( r ) , h20 ( r ) ) h20 ( s )
and the H 0 's and h0 's are given in Eq.(10.1). The solution variables are
interpolated as
4 hi f i if f = p
i =1
f = 9
i =1 H i fi else
The 6-node triangular element can be used for two- dimensional planar
and axisymmetric flows. The following figure shows the 6-node triangular
element. This element is generated as a collapsed 9-node element. The
pressure is then only defined at the three corner nodes and all other
variables are defined at all 6 nodes.
3
F1
F2
6 5
s
1 4 2
r
F3
hi ( 2hi 1) i = 1, 2,3
Hi =
4h0 hki i = 4,5,6, ki = mod ( i + 1,3) + 1
where, the hs are given in Eq.(10.2). If only 3 corner nodes are included,
the linear interpolation functions defined in Eq.(10.2) are used. The
solution variables are interpolated as
3 hi f i if f = p
i =1
f = 6
i =1 H i fi else
4
F2
F3
0 3
t
s
1 F1
r
F4 2
h1 = 1 r s t , h2 = r , h3 = s, h4 = t ,
h0 = h1 h2 h3 h4
4 hi f i if f = v
i =0
f = 4
i =1 hi f i else
hi = J 1 S i i = 1, 2,3, 4
1 1-r 1-r -s
h1n h2m h3k h4l = 6 h1n h2m h3k h4l dtdsdr
0 0 0
6 n !m !k !l !
=
(n + m + k + l + 3)!
and in particular,
1 1 1 1 1
10 20 20 20 3360
1 1 1 1
10 20 20 3360
( h , h , h , h , h ) = 14 , 14 , 14 , 14 , 8401 , (
1 2 3 4 5
hi h j = ) 1
10
1
20
1
3360
1 1
sym. 10 3360
1
415800
here, J is the Jacobian (which is six times the tetrahedral volume), Si is the
outward surface vector of the surface opposite the local node i.
5
F2 7
14
6
13 27 15
8
F6 5 16
23 19
18 24
22 21
20 F4
17 2 25 10 3
t 9
s 26 11
1 r 4
12
F3 F1
( h1 , h4 ) = h0 (r )h10 ( s)h10 (t )
( h5 , h8 ) = h0 (r )h10 ( s)h20 (t )
( h2 , h3 ) = h0 (r )h20 ( s)h10 (t )
( h6 , h7 ) = h0 (r )h20 ( s)h20 (t )
where
H 0 (r ) = ( H10 ( r ), H 20 ( r ), H 30 (r ))
h 0 (r ) = (h10 (r ), h20 (r ))
and the H 0 's and h0 's are given in Eq.(10.1). The solution variables are
interpolated as
8 hi f i if f = p
i =1
f = 27
i =1 H i fi else
2 4
2
s 1 s
3 1
1 2 1 2
(0,0) r (0,1) (0,0) r (1,0)
All solution variables are defined at corner nodes. Since step functions are
used for weighting functions, FCBI elements are eventually equivalent to
their counterpart: finite volume methods. Each element is thus equally
divided into sub-control-volumes and integrations on both faces and
surfaces are performed within elements. A flow-condition-based-
interpolation function for velocity on a face, say from point ( r , s ) = ( 12 , 0 )
to point ( r , s ) = ( 12 , 12 ) in a 4-node element, is defined as
h1v h4v
v v
= h ( x1 ) h ( x 2 ) h ( s ) h ( s )
h2 h3
with
1 y
k
eq r 1 vix k
k
x = , qk = , h( y) =
eq 1
k
y
condition, the mass flux along face is computed from a locally condensed
momentum equation.
4 (0,0,1) 5 (0,0,1)
5
4
5 (1,0,1)
3
4 3
(0,1,0)
t 1 3 3
(0,1,0) (1,1,0)
s
t
1 s 1
(0,0,0) 4 2
r
1 5
(0,0,0) r
2
2 (1,0,0) 7
6 (0,1,1) (1,1,1)
2 (1,0,0)
2 4 (0,0,1)
5 8 (1,0,1)
(0,0,1)
3
5
3 6 2 (0,1,0) 3
4 (1,1,0)
t 2
s
1
t 3
1 r 4 s (0,1,0)
(0,0,0) (1,0,0)
1 4
(0,0,0) r 1
2 (1,0,0)
All variables are defined at corner nodes. The interpolations functions for
velocity are similar to those used for FCBI 2D elements. The interpolation
functions for pressure, temperature and coordinates are linear or bi-linear.
In 8-node and 4-node elements, they are the same as defined in Section
10.6 and Section 10.5 respectively. In 5- and 6-node elements, they are
defined respectively as
(1 r )(1 s )
(1 t ) r (1 s )
( hi ) = rs
(1 r ) s
t
and
h1 h4 1 r s
h h5 = r [1 t t ]
2
h3 h6 s
Most finite element or finite volume equations for fluid problems are
nonlinear. The solution of a nonlinear equation must be obtained iteratively
by solving some linearized algebraic equations. Iteration at this level is
called outer iteration. In ADINA-F, we provide two methods in outer
iteration: the Newton-Raphson and Segregated methods. The segregated
method is only used for FCBI-C elements, while the Newton-Raphson
method is used for other elements. For linearized equations, we provide
direct sparse solver and some iterative solvers. The iteration in iterative
solvers is called inner iteration. These nonlinear equation methods and
linear solvers are described in this chapter.
solve for x k : (f k 1 x) x k = f ( x k 1 )
x k
= x k 1
+ x k
for k = 1, 2,...
{
r = max x k max { x k ,108 }
v
v v }
if ( r ) stop
Since the solution variables are not coupled directly in one matrix
system, it is essential that the solution be converged, or else a non-physical
solution may be obtained. If an iterative solver is used for the linear
equations, it is also important to properly control the convergence in the
inner iterations. In the next sub-sections, these issues will be discussed.
The default scheme for pressure interpolation at the faces uses a natural
control volume approach. This procedure works well for most smooth-
varying pressure problems. For problems with large body forces or second-
order time integration scheme, the linear scheme should be used. In this
scheme, pressure is computed using a linear interpolation of neighboring
element values.
By default, the solver for the displacement of the moving mesh is the
same as that for fluid variables. That is, the unknown displacement is
defined at element center and the matrix of linear equations is non-
symmetrical. The nodal displacement is then obtained using interpolation
of element-center displacements. This is true even when the fluid solver is
sparse solver. Until the convergence in the outer iteration, the displacement
solution is usually not converged yet (with respect to current conditions) in
each sub-iteration. If the intermediate mesh causes difficulty in overall
convergence, one can specify more sub-iterations for displacement ( K d in
the diagram). The advantage of this selection is that the program uses no
additional storage in solving for the displacement.
number of iterations specifically for the first time step. Of course, this
analysis can also be performed using restart run.
Limit allows the user to specify certain extreme values. These values
are minimum values of turbulence variables and maximum factor for
viscosity during iteration, maximum CPU time allowed in the execution,
etc.
x e N1e i =1 xi
Ne
for element quantities
x =
x N1f i =1 xi
Nf
for element -face quantities
f
re = e emod
{
emod = max emin , min
e
e f , em }
and for other equations
{
emod = max emin , min
e
{
e f , min max
e
e f , em , ed } }
e e
In which, the parameters emin , min , max are pre-specified, em is the
maximum residual after I 0 initial iterations (by default it is 5 and can be
modified), and
e f = max e (source-term) dV , f ( flux -vector )i dS
e f
ed = nb
a0v0
rv = v vmod
{
vmod = max vmin , min
v
v , min { max
v
v , vm }}
v v
Similarly, vmin , min , max are pre-specified constants, v is the absolute
variable residual, and vm is the maximum variable residual after the
initial iterations ( I 0 ) .
where f and K min are, respectively, the tolerance and minimum number
of iterations requested. The convergence of a variable or equation is
defined as convergence of some variables or equations of the users
preference. Variable type and equation type on tolerance are parameters
used to identify the possible combinations of variables/equations. VR/ER
type can be ALL, NO, or any one the solution variable. For example, if
ALL is the option for VR, the variable is said converged if all solution
variables are converged. Similarly, if NO is the option for ER, all solution
residuals will be ignored in convergence checking. Finally, the overall
convergence is defined as either VR or ER is converged. The default set is
ALL for VR, pressure for ER (mass conservation) and the tolerances are
(v , e ) = (103 ,104 ) . Obviously, the ER type may differ depending on
the simulation being carried out. For instance, it may be set to either NO or
temperature (energy conservation) in a pure conduction problem. Notice
that, as convention, velocity, pressure and energy equations are also called
force (or momentum), mass and energy conservations respectively.
CPU limit provides another option to stop the program in a certain time
period. Again, the solution must be checked and, if necessary, executed in
a restart run as described before.
Since the fluid variables are not fully coupled into a system (as in the
Newton-Raphson method) on each iteration, under-relaxation factors are
usually required. The factors may differ depending on the solution variable
being solved, the difficulty of the problem and the mesh quality of the
computational domain.
a0x0 + nb anbxnb = e0
there are two types of relaxation factors that are used in the program. The
variable relaxation factor (VRF) is applied to diagonal of the matrix
a0 a0 v . The equation relaxation factor (ERF) is applied to the right-
hand side of the equation (residual) e0 e e0 .
VRF is used to overcome the numerical difficulties raised from non-
linearity and to improve the conditioning of the linear equation. It is also
served equivalently as a form of pseudo-local-time step (see false time step
option), i.e., a small VRF corresponds to a small time step and large VRF
corresponds to a large time step. Hence a small VRF will not only lead to a
faster solution of the linear equation in iterative solver, but also help on
overall convergence. It is also understood that too small a VRF (like a
small time step) will lead to slower global convergence.
ERF is used to overcome the overall convergence difficulty raised from
a large source term in a linear equation. This source may be physically real
(e.g., in turbulence equations) or a numerical error (a bad solution
approximation at the start of each iteration). A small ERF adds the source
incrementally in the outer iteration and, therefore, improves the global
convergence.
Frequently, ERF is used for pressure while VRF is used for other
variables. We treat these factors as primary while others as secondary.
Notice that the primary pressure-relaxation factor is applied to the equation
to enforce the mass conservation from intermittent solutions.
At the end of each outer iteration, information is printed into the *.out
file. A typical output in outer iteration is in the format
ITER, ER-P, max(VRs), ER-V, VR-V, VR-P, (VAR, CELL, MAX-VR, CELL, MAX-ER)
where cell is the global element number (counted from the first element
of the element group 1 to the last element of the last element group) and
The user can choose the variable for which the maximum residuals are
printed. The default is the variable that has the maximum absolute residual.
where vmod and emod are the variable and equation scales, respectively,
determined in outer iteration. We define any one of the followings as the
convergence criterion in inner iteration:
(1) re0 ee
( 2) (rei 0.001ee ) or (rei ee ) & (i I min )
(3) (rdi 0.001e ) or (rdi e ) & (i I min )
( 4) (rvi 0.001vv ) or (rvi vv ) & (i I min )
where v and e are the tolerances defined in outer iteration. The
parameters that control the solution process are different for each
variable/equation. The default set is
where
The segregated method requires far less memory than the Newton-
Raphson method. The memory usage is basically linear in relationship
with the number of elements if an iterative solver is used. The convergence
could be very fast too (say that CPU time is linearly related to the number
of elements), if the outer and inner solution processes are properly
controlled. These advantages make this method very useful in solving very
large problems. However, a drawback of this method is the relatively high
difficulty level of having the solution fully converged. Remember that not-
fully converged solutions may be physically unacceptable. For this reason,
we have given users more controls of this method than the Newton-
Raphson method.
this model, the problem can be easily and quickly identified. If the input is
correct, try to identify the cause of convergence difficulty.
For moving mesh problems, try to use the original mesh as the
background mesh if possible (that means the choice of the original mesh
will not cause difficulty in overall convergence). If there is enough
memory, always use the sparse solver as the mesh-solver. The use of the
two in the same model can achieve the best in speed, accuracy and
convergence regarding moving mesh.
The solver AMG1 should be always the first choice of iterative solvers.
Breakdown in iterative solvers usually indicates a singular system, meaning
some errors exist in the model that should be always checked first. AMG2
can be used, in very rare situations, if AMG1 has failed in inner-iterations.
It uses slightly more memory.
11.2.5 Limitations
A = LDU
The diagonal elements of the matrices L and U are all one and the other
nonzero elements are located in the lower and upper positions of column i ,
respectively. The matrix D is diagonal. These structures allow us to store
all the matrices in the original matrix A.
Once the decomposition is complete, the solution of the equation can be
obtained by:
X = A1b = U 1 D 1 L1b
1
1
The sparse solver then reorders the finite element equations by keeping
the sparsity of the original matrix at its best. The sparse solver also
performs a symbolic factorization to locate those elements that will become
nonzero during the factorization. These elements are called fill-ins. The
number of fill-ins determines the additional storage that is required in the
solver. The number of fill-ins together with the structure of the reordered
matrix determines the effectiveness of the computations performed in
factorizing the matrix.
Here is a simple example that explains how the sparse solver works.
Consider a heat transfer problem with 5 degrees of freedom defined at the
corresponding nodes (see the following figures).
2 3 3 4
1 5
4 5 1 2
(a) (b)
+ +
A= + +
+ +
+ +
A=
where the empty elements are neither stored nor computed. There are no
fill-ins in this example; therefore, we have achieved the best order. This is
exactly what the sparse solver aims to achieve in reordering: to minimize
the number of fill-ins as shown in this example.
The minimum degree algorithm and the multi-graphics processes are
the most popular schemes of symbolic factorizations used in sparse solvers.
We use a hybrid of these two methods.
In addition to preserving the sparsity of the matrix system, we also
apply the super equation concept in regrouping equations into groups,
such that equations within each group have the same symbolic structure. A
group is further cut into panels that are formed by blocks, whose size is
determined based on the cache size of the machines used. The Gauss
elimination procedure is then performed in blocks instead of in columns.
This amalgamation reduces the data traffic and cache miss and therefore
reduces overall computation times.
The sparse solver is effective, although iterative solvers may be faster in
certain applications. It is usually about 10-100 times faster than traditional
direct solvers and requires storage of about 2-10 times than the iterative
solvers.
The sparse solver can also go out-of-core in case the machine memory
is not enough to hold the ordered matrix in the core. In this case, the
memory must be explicitly assigned to the sparse solver. The required hard
disk space will be automatically used whenever additional storage is
needed. Several important observations regarding the sparse solver are
listed here:
Using these facts, we may efficiently use the sparse solver as suggested
below.
Ax = b
where A = AB 1 and x = Bx .
A typical preconditioner is obtained using the incomplete LDU
decomposition of the matrix A. In this method, B is an approximation to
the complete factorization of the matrix A obtained in the Gauss elimination
method described in Section 11.1. The incomplete factorization is
performed as follows. Consider only those locations where A has nonzero
elements; at these locations, perform operations corresponding to the usual
decomposition procedure using elements only from those locations where A
has nonzero elements. The sparsity is then completely preserved in the
resulting incomplete factors.
In this structure, the required storage is dramatically reduced. The
matrix B only requires the same storage as the matrix A. With an additional
locator array, the total storage requirement is about 5 m nd Nd words in 32-
bit machines, where the factor nd varies from 1 to 7 corresponding to the
number of solution variables and m varies from 8 for 2D 3-node triangular
elements to 3125 for 3D 27-node brick elements, and Nd is the number of
equations.
In the RPBCG method, we apply the biconjugate gradient method to
solve the equation. The algorithm can be summarized as follows.
Algorithm RPBCG
x = 0, r = r = p = p = b, = (r , r )
for k = 1, 2,...
z = B1 p, z = Az , = ( z , p )
x = x + z
r = r z
if (converged ) stop
z = AT p, z = BT z
r = r z
= ( r , r ), = , =
p= r +p
p = r +p
The ADINA AMG solver is designed for large systems (more than
200,000 equations) and can be efficiently applied to most fluid flows.
Currently, AMG solver cannot be used in direct computing of fluid-
structure interactions, and to problems with sliding-mesh, gap and slip-wall
boundary conditions. Its efficiency may be somewhat diminished in
turbulence models or if more than one coordinate system is used.
It is well known that explicit methods are unstable if the time step
length does not satisfy the CFL (Courant-Friedrichs-Lewy) condition
x
t min tc
w + 2 x
t +t k t +t
f f k t f k t +t
f k t+t f k1
= +
t t
1 1 1
+
t CFLtc
By default, when this option is not applied, the CFL number is infinity.
For most of the practical problems, CFL 102 to 107 can be used. For
explicit time integration, CFL = 0.8 to 0.9 can be a good choice. In
transient analyses, a proper use of the CFL number may improve the
equilibrium iteration convergence at each time step. In steady-state
analyses (where t is infinity), the convergence here means the final
converged solution and the equilibrium iterations act as time steps (known
as the time-marching method for steady-state solutions). In general, the
larger the CFL number, the less stable the scheme or the more difficult the
convergence, while the smaller the CFL number, the more stable the
scheme and the less difficulty in convergence. However, the drawback of
the smaller CFL number is a slower convergence. Considerably more
iterations are required if the CFL number is too small. The magnitude 1
should be regarded as the lower limit of CFL for implicit methods. An
optimized CFL number can be obtained by numerical experiments and
experiences. Usually one CFL number can be used for a group of models
that have similar geometry, materials and boundary conditions.
Using this option and the control of loading increments in time steps
can overcome many stability or convergence problems.
steps. This procedure continues if the iterations still do not converge until a
proper time step is found or the maximum subdivisions allowed have been
reached.
In the first case, the program continues the next sub-time-steps until the
user specified time step is reached. It may increase or decrease the sub-
time-step again in order to achieve the best convergence rate.
The user controls the maximum number of subdivisions. When too
many subdivisions are made, the program stops, indicating divergence of
the computations at the current time step.
The converged solutions are saved only at the user specified time steps,
regardless of the subdivisions that have been made.
The ATS option may help solution convergence in several ways as
listed here.
However, one must be cautious when using the ATS option. Since the
time step length is successively cut into two equal sizes, the process can be
very expensive if the original user-specified time step is far from the final
one used. For example, 10 subdivisions will result in a final step of 0.001
from an original user-specified step length 1. In each subdivision, the
maximum number of iterations will be performed to indicate an
unsuccessful time step size so that the next subdivision is necessary.
Now let us call the previous problem A. Using the solution of the
problem A as an initial condition, another solution can be computed (call
the problem B), starting at the last time the solution A is saved. The
problem B is called a restart run. In subsequent restart runs, the geometry
and most element data must be the same as those in the first run. However,
the following changes are allowed:
Time step control data, including number of time steps, time step
lengths and time functions.
Global control flags, including analysis type (steady-state analysis and
transient analysis), CFL option, ATS option and their associated
parameters.
The parameters associated with the boundary conditions. For example,
the values of prescribed conditions, distributed loads, parameters in
special conditions, etc.
The parameters associated with the material models. For example, the
viscosity, the heat conductivity, etc.
Upon the request of the user, a mapping file can be created that contains
the problem solutions in a neutral format. The solution includes the
independent nodal solutions and element connectivity. The solutions are
saved at each solution time whenever the porthole file is saved. The
mapping file can be in a binary or an ASCII format.
The mapping file can be used to transfer problem solutions from one program
data set to another. For example, the ADINA-F generated mapping file can be
directly loaded through the AUI and the temperature solutions in the file are then
transferred to nodes of an ADINA solid model for the purpose of a thermal stress
analysis. Of course, the overall geometric domains in ADINA-F solid element
groups and the ADINA solid model must be coincident.
The mapping files can also be used to transfer the solutions between
two problems of the same program. For example, the solution of a problem
in ADINA-F can be transferred (interpolated) to another problem in
R v
s
2
1
y
v = v f (t ) g 2 ( s )
w = v f (t ) g3 ( s )
s
g 2 ( s ) = R cos + 1
R
s
g3 ( s ) = R sin + 1
R
Nk
fk = k j f j
j =1
computational
domain for v, p,, etc.
v=0
computational
domain for
If the element birth option is used, the element is added to the total
system of finite elements at the time of birth and remains active for all
times thereafter. The boundary conditions that are linked to the element
will also be alive.
If the element death option is used, the element is taken out of the total
system of finite elements at the time of death and remains inactive for all
times thereafter. The boundary conditions that are linked to the element
will also be inactive.
If the element birth-then-death option is used, the element is added to
the total system of finite elements at the time of birth and remains active
until the time of death. The element is then taken out of the total system of
finite elements and remains inactive for all times thereafter.
p = p + p
(1) p = pd (t ) pi
(2) p = pd (t )
structure
v fluid nn = p
(a)
structure
2 d = 0 (12.1)
unacceptable
element
solid
fluid
When the fluid domain becomes more complicated, the situation can
become worse. From a mathematical point of view, the closer the domain
is to a convex domain, the greater the chance that the updated mesh is good.
Hence, it is a good strategy to divide the computational domain into a few
convex-like sub-domains and then apply the Laplace operator to these sub-
domains. A revised element would then be perfectly fine, as shown in the
following figure.
sub-domains
solid
fluid
its leader using the method selected by the user. The motion of the moving
boundary determines the displacement of the leader. On the other hand,
any point that is not physically moving can be moved in an arbitrary
manner. Defining a leader-following pair, you can control a point by
forcing it to follow the leader. This procedure is equivalent to having some
nodal displacements prescribed, of course, in the special manner that is
described here.
d f = d l
where the superscripts indicate the leader and follower nodes and
is a factor for the user (the default is one). However, boundary
followers must always stay on the boundary while they follow their
leaders. Their motion is obtained from
d f = dl i(I nn)
leader
follower rco
rpr rcl
(3) Cone option (for FCBI-C elements only) the follower is located
on the wall or boundary geometry at the locally closest location to
the leader within a conical search domain. The leader associated
with its normal to the boundary defines the apex of the conical
domain and the cone angle is a user-specified variable.
In the illustrative figure, rpr , rcl and rco represent follower positions with
the options parallel, closest and cone respectively.
Cv + ... = ... + 1 J iJ
t
and add the body force source term to the momentum equations,
v
+ ... = ... + i(DE) 12 (DiE)
t
i( ) = e
i( ) = iJ 0
( ih ) dV = h J idS
V
= (t )
m = ml + f ( m ml )
where the subscripts l and v represent, respectively, the liquid phase and
vapor phase.
fL
Cv + = vi( fL)
t t
First lets consider the phase change between liquid and vapor. Let lv
and vl be evaporation temperature and condensation temperature
respectively ( lv < vl ) and assume that the latent heat is absorbed when
liquid changes to vapor. The vapor fraction f thus equals zero under
evaporation temperature and equals one above condensation temperature.
A linear function is used to approximate the function between the two
temperature values. In order to obtain continuous derivatives, we also
smooth the linear function near the evaporation temperature and
condensation temperature within a region of length ( vl lv ) .
0 x0
x2 d 0< x
f ( x, ) = ( 2 x ) d < x 1
2
( d = 2 (1 ) )
1 ( x 1) d 1 < x 1
2
1 x >1
For phase-change between solid and liquid, the energy equation above
is still valid, but the above evaporation temperature lv and the
condensation temperature vl are replaced with the melting temperature
sl and the solidification temperature ls , respectively. To mimic solid
regions, the velocities and/or turbulent variables should be suppressed in
solid regions. This suppression is achieved by additional source terms
added into the momentum equations and the turbulence equations.
and A is added onto the right hand side of the turbulence equations. In
these terms, v p is the solid region pulling velocity, and represents
k , , . The coefficient A is defined as
(1 f )
2
A = Cmushy
(f 3
+ mushy )
To setup this model, one species of VOF must be activated. In the VOF
method, the vapor volume fraction f v and liquid volume fraction fl are
defined as
Vv
fv = , fl = 1 f v
Vv + Vl
m = f v v + f l l
m
+ i( m v ) = 0
t
fl 1
+ i( fl v ) = m
t l
The mass transfer between the vapor and liquid is modeled through the
mass creation rate m .
p pv
cav =
2 l v
1 2
where p and v are the far-field pressure and velocity respectively, and
pv is the vapor pressure of the liquid.
3 f nuc fl 2 pv p
Cdest v if p pv
R 3 l
m=
C 3 f v 2 p pv if p > pv
prod v R 3
l
where f nuc is the nuclear site volume fraction, and R is the bubble radius.
The suggested values for Vnuc and R are 0.0005 and 10-6, respectively.
For cavitating flows, especially for the transitional flows from the sheet
cavitation to the cloud cavitation, the compressibility of the mixture near
the cavitation interfaces may need to be taken account in the turbulence
model. For such cases, the mixed density viscosity m is further modified
as
n
m
m = v v ( v l )
v l
To use this feature, you first declare that the element group is one with
phase change. You then define and apply two sets of material data and
additional control data. The flow types of the two phases can be different
inside one element group. The phase-change temperatures (or the phase-
change pressures), the latent heat and the type of phase (liquid or vapor) are
defined in the control data.
i
+ vii = 0 i = 1,.., n
t
where v is the velocity vector, i is mass ratio of the i-th species, and n is
total number of additional species (beside the primary fluid).
A finite volume method is used in discretizing the equation. A donor-
acceptor scheme is used to evaluate the value of the mass ratio at the face
of the control volume. In terms of accuracy, time step length must be
sufficiently small (usually Courant number vt x 0.1 ).
12.13.2 Material
n
m = i mi
i =0
n
We note that the mass-ratio for the primary fluid is 0 = 1 .
i =1 i
The surface tension and the wall adhesion are simulated with a
continuum surface force (CSF) model that models the surface force as a
body force. The body force per unit volume is then evaluated using
n 1 n
fs = (
i = 0 j = i +1
ij i j j + j ii )
User can specify the angle conditions ij ( i < j ) at the boundary, where
ij denotes the angle between the boundary outward normal and the normal
of the interface (pointing from species j to the species i ), as defined in the
following figure.
Species j
interface between
Species i species i and species j
ij Boundary
nij
nwall
Phase change between liquid and solid can be considered for the
primary species. Let s and l be the solidus temperature and liquidus
temperature of the primary species ( s < l ) and assume that the latent heat
is absorbed when solid changes to liquid. The volume fraction of liquid
phase inside total volume of primary species f 0 thus equals zero under
solidus temperature and equals one above liquidus temperature. A linear
function is used to approximate the function between the two temperature
values.
The latent heat effect is modeled as a source term adding to the right-
hand side of the energy equation.
( f L)
+ v ( f 0 L)
0
Cv + ... = ... 0 f 0
t t
where 0 , f 0 and L are the density, volume fraction and latent heat of
primary species. Simultaneously, the additional drag force related terms
are added to the momentum equations and turbulence kinetic energy
equation respectively
v
+ ... = ... dCmush ( v v s )
t
K
+ ... = ... dCmush K
t
where,
f 02
d=
( )
3
1 f0 +
v v s = 0, K = 0
x ( t ) = x0 + x ( t )
x ( t ) = x0 + J T R ( ) J ( x 0 x 0 )
( )
t
plane e1 ( t ) , e 2 ( t ) . The rotated angle is computed from = ( t ) dt .
0
12.15.1 Introduction
The steered adaptive meshing (SAM) capability is applicable for CFD and
FSI analyses. The capability is particularly useful for steady-state analysis.
Suppose that a CFD or FSI analysis is required for a number of time steps
from time t = t0 to time t = tend , where t0 < tend , and suppose that the usual
Suppose that a CFD or FSI analysis has been performed and the
computation has been completed for the total number of time steps.
However, the analyst judges that the result needs to be improved with a
better mesh quality. SAM can be set up for such mesh adaptation to achieve
solution accuracy. Let
Load
3 mesh repairs performed to obtain solution at time 10
solution obtained at time step NSTP
mesh adjustments performed to obtain more accuracy
NSTP = 10
NADP = 10
NSOL = 4
Time
0 10 13
In this example, the number of initial total time steps NSTP=10. At steps 3,
6, and 8, remeshing has been performed to reach a solution at time 10;
hence M=3.
Note that the following steps are required in the ADINA User Interface
(AUI) for additional adaptive steps to achieve better accuracy.
User must also define a time step with name ADAPTIVE with a
single step of size 1.0
The user can refer to Primer Problem 48 for more details on the use of
additional adaptive steps for better accuracy in the solution.
A CFD/FSI computation with SAM may have one or more mesh repair or
mesh adaptation steps, all of which we refer to here as restarts. Each restart
is referred to as a new model because it has a new mesh, and also its
material properties, loads, initial and boundary conditions could be
changed at restart times (if the manual mode is selected). The model at
initial time t = t0 is referred to as the first model, and the model at the first
restart time as the second one, and so on.
The General procedure of both Manual mode and Automatic mode includes
two steps: Model setup and Running the CFD/FSI model with SAM.
Note: internal and external boundaries in the first model will not
be changed when new meshes are generated via SAM. That is, even
though the nodal points on geometry boundaries can be re-
distributed, the boundaries cannot intercept with each other. Any
internal and/or external boundary interception will make the SAM
fail.
Manual Mode
Step 1. For CFD problems, in the first fluid model, Manual mode is
selected. Run the first CFD model as usual. Since the SAM
is turned on in the first model, ADINA will save the adaptive
file automatically. For FSI problems, besides in fluid model,
SAM is turned on and Manual Mode is also selected in the
first structural model. Run the first FSI model as usual.
AUI will generate two adaptive files; one is for the fluid
model and the other for the structural model. The structural
model solutions will be saved at the same times at which the
fluid model solutions are saved;
Step 5. For FSI problems, use AUI to open the previous structural
model at restart time. In SAM dialog box, select Manual
Mode, specify restart time and specify restart file of the fluid
model. For CFD problems, this step is skipped;
Step 6. Generate new structural model data file. For CFD problems,
this step is skipped;
Step 7. Run CFD or FSI. For FSI problems, AUI will ask users to
copy the structure restart file at restart time.
Automatic Mode
C ( Fe ) : hep = hep e
where rmin and rmax are, respectively, the acceptable minimum and
maximum variations.
C ( Fe ) : hep Fe = c
c = r 1
Ne h Fe
e e
where r is a ratio factor, he is the local element size at criterion time, and
N e is the total number of elements in that mesh.
In practice, elements of too large or too small sizes must be prevented. The
calculated preferable element sizes are then modified by
c
hep =
c c
max min Fe , ,
hmin hmax
where hmin and hmax are, respectively, the minimum and maximum
element sizes allowed in the mesh.
C ( Fe ) E {e | hep }
E =
for i = 1, 2,... {E =: operation of E and Ei }
The preferable element sizes may be smoothed a few times using the
iteration procedure
h k +1
=
hh k
nb e ep
; k = 1, 2,...
h
ep
nb e
The above element criteria basically re-scale element sizes to obtain a mesh
in which the selected gradients times the element sizes are about constant
and the geometry and boundary conditions are properly represented. In
practice, the model size must be limited, that is, there must be an upper
limit on the maximum number of elements allowed. When the total
number of preferable elements N ep is larger than the maximum number of
elements allowed N max , we can increase the geometric size of all elements
by a factor , that is, we change hep to hep , with
N 1
ep
= max
,1
N max
Ve
N ep = e
Vep
with Ve the current element volume and Vep the volume of the elements
computed using the preferable element size.
in meshes over many time steps could be too large. The difficulty is that
any error introduced at a particular time may not be iterated away at a
later time. Therefore, in transient analyses, the solution should be carefully
checked once the mesh is repaired. Some times, use of the second-order
mapping scheme may also help on the accuracy. Note that the second-
order mapping scheme does not affect the solution accuracy in steady-state
analysis.
For steady-state solutions with moving meshes, the final solution may not
be able to reached in one or two steps. The key is, starting with a coarse
mesh, to refine the mesh gradually in steps. Similarly, the mesh should be
repaired earlier before it becomes too distorted. Consider FSI as an
example. A major difficulty arises when the required fluid element sizes
are very small, as in boundary layers, and the structural deformations are
rather large in an incremental step, measured on these fluid element sizes.
In such cases, the fluid mesh can become very distorted or, more severely,
element overlapped before converged solutions are obtained. A good
strategy is, to start the solution with a rather coarse mesh and allow the
large structural deformations to take place. Then, thereafter, the fineness of
the fluid mesh is increased. Since the structure will in this later phase only
adjust its deformations by relatively small changes in geometry, required
small fluid sizes, specifically in boundary layers, can now be
accommodated in the mesh adaptation to obtain the required solution
accuracy.
If geometries of fluid models are imported into AUI from a Nastran file,
there is one restriction for the Nastran file. As known, Nastran files only
contain mesh information, but no geometry information. Therefore, for
such a model, SAM will do re-meshing based on the information of the
element groups. This requires every boundary should be grouped as a
single shell element group. For example, a model imported into AUI from
a Nastran file has 4 external boundaries and 2 internal boundaries. Users
should group each boundary as a different shell element group. Therefore
totally 6 shell element groups should be defined in the Nastran file.
The best way to handle situations where you have some interfaces (body
faces) with flow passing through and others with no flow is to use the
SELECTED nodal coincidence option. When meshing, this option
checks if a new node already exists among the nodes on the (previously
meshed) entities (typically, body faces) defined in the provided
DOMAIN. So, if you want flow passing only through some of the
interfaces between two bodies, you should add those interfaces to the
domain (when meshing).
oil, water,
air (M<0.3), etc. oil, water,
open open air (M<0.3), etc.
deformable
oil, water,
air (M<<1), etc.
fixed/flexable/moving
boundaries
air (M<0.3)
open or closed
open or closed
closed
air (M ~ 1)
open open
closed
mixture of
fluid and solid
open or closed
open or closed
environmental
pressure porous medium normal-traction
element group
Perform one time step using a steady-state analysis and all materials
and boundary conditions are time-independent. This method can be
applied to some simple flow problems. The computational effort can
be demonstrated in the following chart:
Use a proper CFL number associated with the method (1). Note that
the CFL option is, in terms of numerical stability, equivalent to the time
marching method in a transient analysis that reaches a steady-state
solution. The advantage of using the CFL option is to let the program
decide the proper auxiliary time step and the converged solution is
the steady-state solution. This method is recommended in almost all
fluid flow problems. In particular, method (1) can be obtained if the
CFL number is very large. The computational effort can be
demonstrated in the following chart:
Perform a few time steps using the steady-state analysis option and
time-dependent materials or boundary conditions. The time step here
does not correspond to the real time; hence they are rather called load
steps. The solutions obtained at each time step are in steady state
corresponding to the conditions at that time. The solutions obtained
from the previous time step serve as initial conditions for the next time
step. This method can be applied to some flow problems with flow
transition stages. Typical examples are natural convection, flow in
curved channels, or any flows where fluid circulation zones may occur.
The solutions obtained at each time step are sometimes required to
represent solution sequences under different load conditions
(represented by specific Reynolds numbers, Rayleigh numbers, etc.).
The computational effort can be demonstrated in the following chart:
Usually, iteration (3b) has a better initial condition than (1b). Although
more time steps are performed, the overall CPU time may be less.
Above all, (3b) may converge in problems for which (1b) diverges.
Use a proper CFL number associated with the method (3). The
computational effort can be demonstrated in the following chart:
Iteration (4b) has a better matrix conditioning than (3b) if a proper CFL
number is used. However, as explained for (2b), when the CFL number
is too small, convergence may become slow. Nevertheless, this is the
most frequently used method for steady-state analyses.
Remember that the truncation-error in time is always the first order (for
> 1 2 ). Hence, the accuracy in time frame is proportional to the time
step size. It is better to always iterate for equilibrium in implicit transient
analyses unless the CFL number is small (for example, in the order of 1). If
the time step size is very small, the user may dispense with the equilibrium
iterations but then the results must be carefully checked. The procedure
can be achieved by choosing either a large equilibrium iteration tolerance
or 1 as the maximum iteration number. In this case, the computational
effort is the same as given in the method (5).
solution behavior
in nature
L=10wDt x
solution
2
ti /2K 2 (same )
1 2 3 x
The domain must be cut somewhere from the rest of the world.
Reasonable boundary conditions should be available to represent the
flow conditions on the boundary. For example, when a circulation zone
is expected behind a building, a long region should be used there if a
zero normal-traction is applied. If the circulation zone cannot be
included completely, frequently a transient analysis needs to be
performed.
When objects are small enough to be negligible compared to the major
parts of the model, they should be omitted or modeled in different
ways.
air flow
circulation is expected
behind the building
computational
domain
air flow
long enough to
include the
circulation zone
incoming
flow
environmental
pressure original model
incoming
flow
with or without
porous section
computational model
proper normal-traction
E
air flow air flow
p3 nn=p p
3 1
v v
physical incompressible
model p2 flow model
nn=p p
p1 nn=0 2 1
nn=p
3
compressible and
incompressible nn=p
flow models nn=p 2
1
solid element
groups walls
z
nn =0
v=0
slip-wall w=0
v w y
axisymmetric
The selected material model should pertain to the fluid that is modeled.
The material constitutive relations may be constant, time-dependent,
temperature-dependent, etc. A proper consistent unit system must be used
to avoid round-off errors. Here the feature of automatic
nondimensionalization in the fluid model of ADINA-F can be very useful.
In case gravity effects must be included, consider the option to remove
hydrostatic pressure.
There are basically two types of solvers that can be selected: direct
solver (sparse or SKYLINE) and iterative solvers (RPBCG, RPGMRES or
Multi-grid).
The Gauss elimination method (SKYLINE) should not be used for any
problem except for research studies.
If the matrix conditioning is always good (in the solution time range),
the iterative solvers are the best choices. Flows of low
Reynolds/Peclet/Rayleigh numbers, FSI problems with small
displacements, etc. could be such problems. Even for some sensitive
problems the nondimensionalization can be used to improve the matrix
conditioning (see Section 13.3). Note that improper units can cause failure
in convergence using the iterative solvers even for physically stable
problems. The ratios of the factorized diagonal elements are also a good
indicator of a good/bad matrix conditioning.
Usually a few hundred iterations performed with an iterative solver is
reasonable if the number of equations is less than 100,000. When the
number of equations becomes larger (say around 500,000 equations),
thousands of iterations may be required.
In all other cases, use the sparse solver. The sparse solver is a direct
solver and hence will always give the solution of the algebraic equations.
Of course, these equations may be ill conditioned and the sparse solver will
give messages to that effect, and indeed indicate physical instabilities in the
problem. When the conditioning of the matrix is poor, the solution from
direct solvers may also be misrepresented because of the round-off errors.
Use of proper units will always help in this situation.
(1) Analyze the model with your experience, available experimental data
and known similar solutions, etc. Understand the nature of the problem
to be modeled. Is it a two-dimensional, axisymmetric, or three-
dimensional flow? Is it an incompressible, slightly compressible, low-
speed or high-speed compressible flow? Or is it a porous media flow?
What is the best way to model the problem in terms of accuracy,
numerical stability, computer storage and CPU available? Which
factors could be fundamentally difficult in the model? Can any part of
the model be simplified?
(2) If possible, test a simplified model first. For example, test a two-
dimensional model before creating the three-dimensional model. In
this model, follow the steps described below as well.
(3) Test the model using a coarse mesh and material data and loads that
permit a quick solution (e.g., large viscosities, small velocities, small
normal-tractions, etc.). The purpose of this test is to logically check the
input data. In this model, the types of materials and the types of
boundary conditions should be the same as those that will be used
eventually. Since the model is very easy to understand and to solve in
terms of physics as well as in terms of numerical computations, the
solutions will be easily obtained. In case of errors in the input, they can
be quickly identified and corrected as well. The solution is not
expected to represent the real solution, but must be physically
reasonable.
If any difficulty occurs, make sure the problem set is indeed easily
solved. You may even exaggerate the case by imposing a condition
that will produce a solution extremely close to the initial condition.
You may also iterate only once (by specifying a large convergence
1 1
If we force point 2 to follow point 1, then line 1-2 will not be skewed
and the element will keep its quality. The revised situation is shown in
Fig.13.18. In this case, point 1 is the leader and point 2 is the follower.
1 1
leader
follower
2 2
It is clear that the specific geometry plays a key role in the ALE
formulation. In the AUI, the geometry is entered using points, lines,
surfaces and volumes; the mesh is generated based on the geometry.
It is also clear that there is no guarantee that the mesh will not overlap
during arbitrary movements of the boundaries. However, as demonstrated
earlier, if the domain is simple and adequate, the mesh will not overlap. A
good geometric domain is akin to a convex set. Recall that a convex set is
a domain in which a line joining any two interior points stays in the
domain. The simplest good convex domains are a brick and a
tetrahedron in three dimensions and a quadrilateral and a triangle in
two dimensions. For more complex domains, a good mesh for the ALE
formulation can be achieved only if the domain is properly divided into
simple and adequate sub-domains.
Note that a mesh overlap is likely to occur in those areas in which the
deformations correspond to compression of the mesh. Some other
helpful tips are:
For those regions within the domain that have regular shapes, try to
create brick-like sub-domains. For the remaining region, keep them
rigid. For example, if the fluid mesh near a deformable structure is
likely to overlap, you may set the surrounding surfaces/volumes to
move along with the structure, to minimize the deformations of the
fluid mesh near the structure.
Consider all possible mesh movements that can occur during the
solution process while you design the sub-domain topology. In
particular, consider critical mesh conditions in which you must control
the mesh quality so that the solution is represented accurately under
these conditions.
In certain cases, in order to prevent overlap, one can use the contact
surfaces (defined in the solid model). The contact surfaces may be
embedded there solely for the purpose of preventing the fluid mesh
from overlapping and will not affect the solution obtained. In the
example illustrated below, we have added two contact surfaces that
limit the region in which the deformable structure can move. The
lower contact surface has a short distance from the real wall that is
modeled in fluid model. This distance is small enough such that the
position of the structure is always above the wall and large enough such
that the fluid meshes will always be valid. If the contact surfaces are
placed in proper locations, they will not affect the final solution. In
transient analyses, the contact may physically happen. In this case, the
upper contact surface may be a real structure. The lower contact
surface would represent the physical wall.
deformable structure
fluid domain
Note that the above discussion may not need to be referred to if the
problem results in small displacements, say less than one element size. The
automatic procedure of moving meshes using the Laplacian procedure is
usually successful in the solution of such problems.
This theorem indicates that, once the initial guess is close enough to the
solution, the Newton-Raphson iteration will converge. On the contrary,
therefore, if the final solution is very different from the initial condition, the
iteration procedure may diverge.
Certain solvers are used to solve the linearized equation. The sparse
solver is a direct solver that is based on the Gauss elimination method. The
iterative solvers are also linked to the Gauss elimination method through
their preconditioned matrices generated in the incomplete Cholesky
factorizations. Without mentioning other round-off errors that may occur
in the solution, the Gauss elimination method introduces round-off errors
that can be significant when the problem is ill-conditioned, expressed by
the condition number A A 1 , where we have not used the row/column
interchanging technique (for the purpose of efficiency in computing), the
round-off errors may be out of control and lead to a wrong solution or
k = ( A + a) 1 (B + b)
X (13.1)
k X k = ( A + a)1 (b aX k )
X
This equation clearly indicates that the solution errors are proportional to
the round-off errors of the matrix as well as of the right-hand side.
The vector b is proportional to the right-hand side
bi 21m Bi
( )
aij N d 21m 3 Aij + 5 Lik D kk U kj + O ( (21m ) 2 )
where N d is the number of equations. There are three factors that can
contribute errors. Two of them are N d and m. When the number of
equations is not so large or the machine precision is very high (e.g., when
64 bit machines are used), the errors can be reduced. However, the two
factors are usually unchangeable. The third factor is L D U . If the
ik kk kj
suitable for the problem or the matrix is truly ill conditioned. ADINA-F
has been optimized to generate the matrix structure such that no artificial ill
conditionings may occur. Therefore the small pivots usually come from the
ill conditioned matrix.
The conditioning of the matrix is unknown unless we invert the matrix
and evaluate the norms of the two matrices. But if we had inversed the
matrix, we would not need to know the condition. ADINA-F prints out
some useful information during the LDU decomposition (in SKYLINE and
sparse solvers) or during the incomplete Cholesky factorization (in iterative
solvers), which can be used to predict the conditioning of the matrix. They
are
Dmax
A A 1
Dmin
Hence, it must be the objective to have good initial conditions for the
solution at every time step, to improve the matrix conditioning and to
minimize the magnitude of the right-hand side. Some efficient methods for
these purposes are described in the next sections.
When the initial condition is far from the final solution, the problem can
be solved in a few time steps, such that the solutions at any two consecutive
time steps are close enough to satisfy the convergence condition in the
Newton-Raphson iteration method.
Consider the example of a forced convection problem as shown in
Fig.13.20, where the bottom wall is heated. The steady state solution is
required.
When the open boundaries are closed, it is the well-known Rayleigh-
Benard convection problem that is very unstable and has multiple solutions
when the Rayleigh number is larger than a critical value. The velocity that
is prescribed at the inlet forces the fluid to flow through the cavity and the
heat is therefore transported out of the domain primarily by convection.
The forced fluid boundary condition is thus a stabilizing factor in this
model compared with the Rayleigh-Benard convection problem. However,
the high Reynolds number presents a possible difficulty as well when only
the fluid flow is solved.
v n=1
=0
=0
v=0
4
Re=10
8
Ra=10
=1
v=0 nn =0
qn =0
We may perform the computation in two stages: (1) compute the fluid
flow without the influence of heat transfer; (2) compute the heat transfer
with the fluid flow. In each stage, we may achieve the convergence in a
few time steps. The fluid flow is computed first because it is a stabilizing
factor in the whole model. At the same time, we take the hydrostatic
pressure out of the model (see chapter 2 for details regarding this issue).
In stage 1, we execute two time steps. In the first time step, we specify
conditions such that the Reynolds number is 103 , which is an easy problem
to solve, so the zero initial condition is fine in the Newton-Raphson
iteration. The solution obtained in step 1 is used as the initial condition for
time step 2, where we prescribe the full velocity load at the inlet and the
Reynolds number becomes the required one, Re = 104 . During this stage,
the bottom temperature is kept as zero, so the Rayleigh number is always
zero (see the figure below).
v n=0.1 v n=1
=0 =0
=0 =0
v=0 v=0
=0 =0
v=0 nn =0 v=0 nn =0
qn =0 qn =0
3 4
Re=10, Ra=0 Re=10, Ra=0
time step 1 time step 2
v n=1 v n=1
=0 =0
=0 =0
v=0 v=0
-4 ...
=10 =1
v=0 nn =0 v=0 nn =0
qn =0 qn =0
4 4 4 8
Re=10, Ra=10 Re=10, Ra=10
time step 3 time step n
v = v f1 (t ) ( v = 1)
(13.2)
= f 2 (t ) ( = 1)
where the time functions are defined as shown in the figure below.
t t
1 1
1 2 1 2
f1(t) f2(t)
Secondly, we choose the time steps to obtain the solution (also shown here
are the corresponding inlet velocity and the bottom temperature computed
according to Eq.(13.2)):
time at the
time time step bottom
end of the inlet velocity
step length temperature
time step
1 0.1 t1 =0.1 0.1 0
2 0.9 t2 =1 1 0
3 0.0001 t3 = 1.0001 1 0.0001
n 2- tn1 tn = 2 1 1
The initial condition in a solution provides the initial guess for the first
time step solution. In certain cases, this condition is critical for
convergence of the iterations. An example of transient fluid-structure
interaction analysis is shown in Fig.13.24, where a water pipe is subjected
to small excitation force acting at the bottom. In this example, we have
assumed that the gravity force is far larger than the excitation force. If we
were to start from the zero velocity condition and a straight pipe to
calculate the dynamic response, the solution would diverge (because of the
poor initial guess of the final solution). Let d g and d F be the deformation
scales of the pipe due to gravity and the excitation force, respectively, we
expect that d F dg .
vin g nn =0
FSI interface
F(t)
(1) Use a very large time step in the first time step, during which only the
gravity force is added. The steady-state solution corresponding to only
the gravitational force will be obtained at the end of this time step.
Then, reasonable time step lengths are used for the real transient
analysis in which the excitation force becomes active. These steps are
performed to simulate the dynamic response due to the excitation force.
This method is simple and can be performed in one execution. The
drawback of this method is that the first time step length is arbitrary.
The transient analysis starting from an arbitrary large time step looks
unnatural as well.
(2) Perform two runs. The first run performs the steady-state analysis with
only the gravity force present. The second run performs the transient
analysis, based on the initial condition obtained in the first run.
A solution can always be used as the initial condition for another model
as long as the computational domain of the present model lies inside the
domain of the earlier model analyzed and a mapping file was saved for the
first model. If the two solutions are similar, it serves as a good initial
condition.
An advantage of this procedure is that the elements and other conditions
of the two runs are independent as well.
X = ( A + 1I )1 B
where is the relaxation factor. The factor changes the values of the
diagonal elements, thus improving the conditioning of the matrix. When
is small, it not only improves the matrix conditioning, but also reduces the
requirement to have good initial conditions. However, a small also
slows down the convergence rate in the Newton-Raphson method. There is
no universal factor that can be used for all cases. Obviously, the best factor
depends on the flow pattern, element sizes, etc. Furthermore, this
relaxation factor is not dimensionless. Therefore, used in a continuity
equation may not be good for the momentum equations, etc.
The automatic time-stepping CFL option in ADINA-F provides an
effective tool for improving the matrix conditioning. We have
1
X = ( A + CFL D)1 B
that is based on the velocity and pressure units as shown in the equation.
The conditioning of the matrix is
A
A 1 = 103 (103 + 103 )
1 1 v[mm/s] ...
AX 2
=
1 0 p[kg/mm-s ] ...
A A 1 =2
a c v ...
AX =
b 0 p ...
where we have
x 2 vx
a x d 2 , = 1 + +
t
b x d 1 , c x d 1
1 0 a 0 1 ac
A = LDU = b
a 1 0 bca 0 1
amin amax
bc = 1, =1
(bc a ) min (bc a) max
The result will then be used for general incompressible flows, where the
element sizes, velocity magnitudes, etc. vary.
D* = , L* = x, V * =
x
where
C * = Cv , T * = ( ) max
qn (e4 4 ) (e ) (13.3)
r* = e
qn
This term will be absorbed in the matrix, leaving zero on the right-hand
side.
In compressible flows, ADINA-F forces the temperature scale and
datum as
2
V*
T = * , r* = 0
*
F = Ma
The second example starts with the primary units length ( L ), time ( t ),
force ( F ) and temperature ( T ). Other variables and parameters are then
derived from the primary units. The following table gives the expressions
of generally consistent units and typical examples in SI and USCS units. In
SI units, we use ( L, t , F , T ) = (cm,s,dyne, K) and in USCS units, we use
( L, t , F , T ) = (ft ,s,lb f , R) .
The key in keeping units consistent is to always work with the primary
units rather than conventional units. For example, in the second example
above, the density is in the unit lb f -s 2 ft 4 , not in the unit lb m ft 3 .
Another common approach is to work using nondimensionalized units.
That is, all data input has been made dimensionless. This method is
popular with scientific researchers. This approach then uses the Reynolds
number, Prandtl number, etc. in the definition of the problem to be solved.
The memory used in ADINA-F falls into two categories: the basic
memory used to store the data input and generated data (including the
This part includes the memory for the solution variables, element group
data, boundary conditions, etc. The major portion of the memory is of
course used to store the matrix system. To ease the explanation of the
memory usage here, we assume that these data are in-core as well.
Although the element group data and the matrix may be out-of-core, the in-
core solution, if it can be performed, is generally more effective.
The basic memory used can be divided into two portions
m = m1 + m2
where m1 and m2 are the memory for preliminary storage and for storing
and manipulating the fluid matrix. The amount needed can be predicted by
m1 = n N n + e N e words
m2 = 5 n N n = 5 m nd N d
2
m d words
n 25-60, e 20-25
depending on the problem type. The factors that may increase the use of
memory are, for example, three-dimensional flows, including temperature
degrees of freedom, moving mesh conditions, turbulence models, etc. The
factor nd varies in the range
nd 1-7
This part includes the memory used in the procedure to solve the
equations. All iterative solvers do not require additional memory.
However, if the sparse solver is used, additional memory is required. In the
sparse solver, the original matrix is expanded to a new matrix whose size
depends on the fill-ins to the original matrix. This part of the memory is
highly dynamic and considered separately
M M m2
where the factor M would be typically 2 to10. This part of the memory
can be allocated out-of-core (using disk space) if the memory is not
sufficient and the out-of-core sparse solver is selected. The advantage of
the out-of-core sparse solver is that it does not depend much on the memory
assigned to it. Usually the out-of-core sparse solution takes twice the
amount of time as the in-core.
Regarding the memory usage in ADINA-F, we recommend the
following strategies to manage the memory efficiently:
The above prediction is only for the most frequently encountered cases.
Certain cases need further comments.
When mass transfer and moving meshes are included, the memory for
the solver is divided into three parts
M = M1 + M 2 + M 3
fluid, the solvers for the mass ratios and moving meshes may or may
not be in-core.
In iterative computing of two-way fluid-structure coupled problems and
in direct computing of the one-way fluid-structure coupled problems,
the same memory M is assigned to the solvers that are used for both
the fluid and the solid models. In other words, the total memory used is
m + 2M .
In direct computing of two-way fluid-structure coupled problems, the
number of nodes, number of elements, and number of equations, etc.
are all referring to the coupling system.
When specular radiation boundary conditions are applied, the view
factor matrix and radiosity matrix require storage as well. Usually, this
part of storage is much larger than that for the fluid flow equations and
can be evaluated as
2 N ns2 2 N es2
m3 = +
nbi nbr
m = m1 + max {m2 , m3 }
When the assigned storage m is not sufficient to hold the view factor
matrix and/or radiosity matrix in-core, ADINA-F automatically works
with disk storage. The numbers, nbc , nbi and nbr are printed to inform
users of the possible computational effort. The allowed maximum
number of blocks is 1000. It would be computationally very inefficient
to have more blocks.
Nn = number of nodes
Ne = number of elements
N ts = number of time steps that solutions are saved
Nd = number of equations
m = the factor as defined in Eq.(13.4)
N ns = maximum number of specular nodes in one group
N es = maximum number of specular elements in one group
ne = number of nodes per element
nd = number of variables (1 to 7 for u , v, w, p, , K , )
File size
File name Explanations Data stored
in words
fort.80 nodal solutions 20 N n N ts
porthole file
(=*.por) element solutions 44 N e N ts
fort.74 nodal solutions 30 N n
restart file
(=*.res) element solutions 12 N e
fort.75
temperature file temperature solutions 2 N n N ts
(=*.tem)
nodal coordinates 6Nn
fort.77 element
mapping file ne N e
(=*.map) connectivities
nodal solutions 2 N d N ts
element group data 24 N e
fort.95 temporary file fluid matrix 2 m N d
specular matrix 2 N ns2
fort.78 temporary file specular view factors 2 N es2
Use the FCBI elements, preferably the 4-node element in 2D and 8-node
element in 3D, instead of the triangular and tetrahedral elements (which
however are largely used in free-form meshing and must be used in
adaptive meshing). With these elements also by default the sparse solver is
used, but a smaller bandwidth is encountered. The memory and solution
time requirements may also be large when large models are solved, but not
as large as when using the 9-node and 27-node elements referred to above.
We hardly use the iterative solvers. These elements are recommended for
use in FSI problems.
For very large fluid models, the FCBI-C elements are an attractive option.
With these elements relatively fine meshes may need to be used. As for the
FCBI elements, here too, the 4-node element in 2D and 8-node element in
3D are preferred. Using the FCBI-C elements, the sparse solver can be
used, but the default is the algebraic iterative solver, type 1. Using this
iterative solver, memory requirements are much lower for large models
than using the sparse solver. But for the iteration, it is important to employ
tight enough convergence tolerances. In practice, you may solve the
algebraic equations using the default tolerances for the iterative solver,
study the solution, and if questions arise as to whether a converged solution
has been obtained, thereafter continue the iteration to reach a tighter
convergence tolerance.
Using the 9-node 2D and 27-node 3D elements very fine meshes may be
required to have stability, that is, to have element Re numbers smaller than
about 6. The elements are formulated using the standard Galerkin method
(using the velocity-pressure formulation) without upwinding [1]. Hence
these elements are not very suitable for high Re flows.
The FCBI and FCBI-C elements should be used with the comments given
above.
For slightly compressible flows, the same comments as given above are
applicable.
Ref.
Figure 13.3 Typical problems that low-speed compressible flow model can be
applied..............................................................................................................362
Figure 13.4 Typical problems that high-speed compressible flow model can be
applied..............................................................................................................362
Figure 13.5 Typical problems that porous media flow model can be applied.........363
Figure 13.6 Example of using porous media flow model........................................ 363
Figure 13.7 Time step sizes in periodic solutions ................................................... 367
Figure 13.8 Time step sizes in wave propagation problems.................................... 368
Figure 13.9 Time steps in diffusion problems ......................................................... 369
Figure 13.10 Choosing the computational domain.................................................. 370
Figure 13.11 Avoid lower dimensional flows in the model .................................... 371
Figure 13.12 Using equivalent physical models...................................................... 371
Figure 13.13 Multiple normal-traction conditions in incompressible flow models 373
Figure 13.14 Multiple normal-traction conditions in compressible and
incompressible flow models ............................................................................373
Figure 13.15 Fixed pressure condition must be applied to confined incompressible
flows ................................................................................................................ 374
Figure 13.16 Solution of a circular laminar jet........................................................ 375
Figure 13.17 Distorted element in a moving boundary problem............................. 381
Figure 13.18 Use of leader-follower option ............................................................382
Figure 13.19 Using contact surfaces in FSI analyses .............................................. 383
Figure 13.20 Forced convection in a cavity heated at bottom................................. 387
Figure 13.21 Computation in stage 1 for the forced convection problem ...............388
Figure 13.22 Computation in stage 2 for the forced convection problem ...............389
Figure 13.23 Time functions used for the forced convection problem....................389
Figure 13.24 Water pipe subjected to a small periodic excitation force..................391
When this ratio is too large, machine round-off errors may become severe.
When this message is encountered, first make sure a correct data file is used.
Refer to the suggestions for message ADF2111.
In case of an error that you may have made during a manual modification of
the data file, the last and the current data block information indicates where the
error could be.
When this ratio is too large, machine round-off errors may become so
severe that stable models become unstable.
Refer to the topic Model preparation and testing for helpful tips to
exclude the possibility of ill posed problem. Usually, the matrix
conditioning can be improved by choosing a proper unit system. It can
also be done in the ADINA-F automatically nondimensional procedure
by providing proper scales and reference datums. However, since the
problem is nonlinear and the element sizes are likely non-uniform, this
improvement has its limit. In these cases, the warning message should
be ignored.
The message indicates that data file for the fluid model is not
recognizable.
When this message is encountered, first make sure a correct data file
is used. Make sure the version of AUI used to generate the data file is
consistent with the version of ADINA-F. It is best to use the latest
version. If the *.dat file was generated using an earlier version of AUI,
regenerate it using the consistent version.
If the data file was generated using another machine, make sure the
data is portable. In general, use a formatted (ASCII) data file if the AUI
and ADINA-F are installed in different machines, although most Unix
machines can use binary data files interchangeably.
If you have modified the *.dat file, make sure that the format in the
modification is correct. It is not recommended (although not restricted)
to edit some parameters in the data file.
Check also if the file has been protected so that it is not readable.
This message indicates that a file name is too long (more than 128
characters). Avoid using long names for your files.
This message indicates that an error has been found in the output of
the user-supplied boundary condition subroutine. Refer to the
description on how to use user-supplied boundary condition.
A user-supplied boundary condition is defined as a source term that
is added to the right hand side of the equation. This source is expressed
as A + Bii , where i are all possible solution variables. A nonzero Bi
must corresponds to an active variable i .
This message indicates that a possible error has been found in the
output of the user-supplied boundary condition subroutine. Refer to the
description on how to use user-supplied boundary condition.
A user-supplied boundary condition is defined as a source term that
is added to the right hand side of the equation. This source is expressed
as A + Bii , where i are all possible solution variables. A very
large Bi usually indicates a non-initialized number.
This message indicates that a possible error has been found in the
output of the user-supplied boundary condition subroutine. Refer to the
description on how to use user-supplied boundary condition.
A user-supplied boundary condition is defined as a source term that
is added to the right hand side of the equation. This source is expressed
as A + Bii , where i are all possible solution variables. A positive Bi
could cause numerical instability. Rewrite the source term such that the
coefficient is non-positive. For example, A = A + (1 + ) Bii and
Bi = Bi , where is a non-negative constant.
This message indicates that the fluid model selected is not a two-
equation turbulence model ( K - or K - ) while a turbulence material
is used. Refer to the related chapters to see the available materials.
usually out of the range [1020 ,1020 ] . Check the definition of the
material model for more details.
This message indicates that an error has been found in the output of
the user-supplied boundary condition subroutine. The two identification
numbers, I v and I c stored at L(2) and L(3) respectively, are read
only parameters in the user routine. However, their addresses have
been found used after the function call. Check the program to make
sure the passed-out parameters are saved at the correct locations in the
passed-out arrays.
nondimensional analyses.
This message indicates an invalid flag that represents the flow model
selected. A wrong data file may cause this error. Refer to the
suggestions for message ADF2111.
This message indicates that a few errors have been identified in the
element group control data. Check the earlier printed error/warning
messages. In case a wrong data file is used, also refer to the suggestions
for message ADF2111.
pressure = 1.23450E-21;
x-velocity = 2.23449E-21;
y-velocity = 3.23449E-21;
z-velocity = 4.23449E-21;
temperature = 5.23449E-21;
Cp = 6.23449E-21;
Cv = 7.23449E-21.
message ADF2111.
Variable identification directions in master nodes and slave nodes are not
identical in constraint equation 890.
Data file could be wrong.
p = 1.1234559E+11
u = 1.1234559E+11
v = 1.1234559E+11
w = 1.1234559E+11
t = 1.1234559E+11
p = 1.1234559E+11
u = 1.1234559E+11
v = 1.1234559E+11
w = 1.1234559E+11
t = 1.1234559E+11
Cp = 3.1277770E+11
Cv = 3.2277771E+11
D = 1.120E+11;
DI = 1.219E+11;
P = 1.319E+11;
T = 1.419E+11;
CP = 1.520E+11;
CPP = 2.119E+11;
CPT = 2.220E+11;
CV = 2.319E+11;
CVP = 2.420E+11;
CVT = 2.519E+11.
This message reports a load that has been applied to an internal face.
Distributed loads, such as normal-tractions, heat-fluxes, etc., should
never be applied to internal faces. This could be a input error in the
model.
This message indicates that the size of the matrix surpasses the limit
+31
2 on a 32-bit machine. If the solver selected is the Gauss elimination
method (SKYLINE), choose the sparse or iterative solvers instead. The
iterative solver RPBCG uses the least memory.
The relative distance here is defined as the ratio of the distance between
the fluid node and the closest solid boundary element to the length of the
solid boundary element.
The relative distance here is defined as the ratio of the distance between
the fluid node and the closest solid boundary element to the length of the
solid boundary element.
n n
fluid wall
A wrong data file may cause this error as well. In this case, refer to
the suggestions for message ADF2111.
expected. This could be an internal error or a wrong data file was used.
As a general guide, always let open value be slightly bigger than close
value.
wall 1 wall 1
less than required. Refer to the explanations under the topic Use of
memory and disk for more details.
A wrong data file may also cause this error. In this case, refer to the
suggestions for message ADF2111.
wall
A wrong data file may also cause this error. In this case, refer to the
suggestions for message ADF2111.
This message reports a potential error in the model. If you are intent
selecting the option of pressure datum, you must include the pressure as
a variable. Or you may remove the selection of the option.
A wrong data file may also cause this error. In this case, refer to the
suggestions for message ADF2111.
interactions.
conditions.
there is a moving boundary condition applied. You must also not apply
special boundary conditions to lines and surfaces in the same model.
Resolve these issues before rerunning this problem.
A wrong data file may also cause this error. In this case, refer to the
suggestions for message ADF2111.
This message indicates that the initiation in the ADINA solid model
is unsuccessful. You can find out more information from the
<solid>.log file. It is likely that a wrong data file causes this error. In
this case, refer to the suggestions for message ADF2111. It is also
important to refer to the suggestions under the topics Model
preparation and testing and Formulation of fluid-structure
interactions.
This message indicates that the initiation in the ADINA solid model
is unsuccessful. You can find out more information from the
<solid>.log file. It is likely that a wrong data file causes this error. In
this case, refer to the suggestions for message ADF2111. It is also
important to refer to the suggestions under the topics Model
preparation and testing and Formulation of fluid-structure
interactions.
This message indicates that the size of the radiosity matrix surpasses
the limit 2+31 on a 32-bit machine. Remember that the matrix is full and
therefore its size is 8nn2 bites, where nn is the number of specular nodes.
Too many specular nodes not only require large memory but also very
cost in computation. Refer to the descriptions under the topic Memory
usage.
This message indicates that the size of the view factor matrix
surpasses the limit 2+31 on a 32-bit machine. Remember that the matrix
is full and therefore its size is 8ne2 bites, where ne is the number of
specular elements. Too many specular elements not only require large
memory but also very cost in computation. Refer to the descriptions
under the topic Memory usage.
This message reports an invalid real number during run time. If this
occurs in the first iteration in the first time, a wrong data file may cause
this error. In this case, refer to the suggestions for message ADF2111.
If this occurs later in the computation, the solution may be divergent. It
is also important to refer to the suggestions under the topics Model
preparation and testing and Formulation of fluid-structure
interactions.
This message indicates that the iterative solver fails in the current
computation.
If this occurs in the first iteration in the first time, a wrong data file
may cause this error. In this case, refer to the suggestions for message
ADF2111. It may also be caused by a poor matrix condition or poor
initial condition. The solution may be divergent as well. For all these
reasons, refer to the suggestions under the topics Model preparation
and testing and Strategies toward obtaining convergent solutions.
You may use the sparse solver instead.
A correct data file has been used. Refer to the suggestions for
message ADF2111.
Check the reported element and its neighbor element while the
element is generated. If it is overlapped, correct it.
If the reported element is near an FSI interface, consider the
possibility that the distance between the interfaces of fluid and
solid models is too large. Refer to the suggestions under the
topics Model preparation and testing and Formulation of
fluid-structure interaction.
Subdivide the domain into more regular domains that are close to
being convex while the mesh is generated. Refer to the
suggestions under the topic Control of moving mesh in ALE
formulation.
Use a good initial condition in transient analyses. Refer to the
suggestions under the topic Strategies toward obtaining
convergent solutions.
This message reports that the data file does not contain enough
information that is required. A wrong data file may cause this error.
Refer to the suggestions for message ADF2111.
This message reports that the data file does not contain enough
required information. A wrong data file may cause this error. Refer to
refer the suggestions under the topic Model preparation and testing
and other related chapters.
The condition of the matrix is poor (In this case, refer to the
suggestions under the topic Strategies toward obtaining
convergent solutions).
Too many equations are in the current system, usually more than
half million. In this case you may increase the maximum
number of iterations in iterative solvers.
* The input for the restart run does not match the previous run;
* Incorrect restart file has been used.
* The input for the restart run does not match the previous run;
* Incorrect restart file has been used.
This message indicates that the range covered by the specified time
functions is smaller than the range the computation performed. Modify
these time functions or modify the time step control data.
When mass transfers do not affect the fluid solutions, they do not need
to be coupled with fluid solutions.
This message reports a very small time step length has been
encountered during an automatic time step cut. This step will be
ignored.
Explicit methods may be unstable if the time steps are larger than the
critical time step length. It is suggested to use automatic time stepping
with the CFL number smaller than one.
Maximum number of ATS related time step cuts has been reached without
arriving at the required time.
Recall that fluid-structure interaction needs both fluid and solid models
connected internally through fluid-structure interfaces. The interfaces
are defined as FSBOUNDARY and FLUID-STUCTURE BOUNDARY-CONDITION
in solid
and fluid models respectively.
This message indicates that the fluid model and solid model cannot
be connected through their interfaces. Refer to the related chapters for
more details on fluid-structure interactions.
Index
body force, 27, 39, 44
2
boundary condition, 32, 72, 85, 372
2D axisymmetric flow. See axisymmetric angular velocity. See angular velocity
flow condition
2D planar flow. See planar flow concentrated load. See concentrated
convection. See convection condition
3 distributed load. See distributed
3D fluid flow, 27, 29, 30, 36, 41, 45, 47, external. See external condition
48, 50 fluid-fluid. See fluid-fluid interface
free surface. See free surface
A FSI. See fluid-structure interface
absolute pressure, 40 gap. See gap condition
absolute temperature, 123, 126 high-speed compressible, 193218
absorption, 124 incompressible, 88136
acoustic flow, 46 low-speed compressible, 88136
active mass-ratio, 233 mass transfer, 23537
adaptive mesh, 346 phase-change. See phase-change
ADINA composite scheme, 81 boundary
air bag, 45 porous medium, 161
ALE formulation, 49, 69, 91, 328, 381 prescribed variable. See prescribed
differential form, 70 radiation. See radiation condition
integral form, 71 shell-thermal, 136
analysis type, 364. See transient and slightly compressible, 88136
steady-state specular radiation. See specular
angular velocity, 30, 93, 95, 98, 99, 103, radiation
207, 212 subsonic. See subsonic at inlet/outlet
angular velocity condition, 93, 98, 103, supersonic. See supersonic at
207, 212 inlet/outlet
ASME steam table, 149 symmetric. See symmetric condition
ATS option, 319 thermal resistance, 128
maximum subdivisions, 320 turbulence, 169, 227
Aungier Redlich Kwong model, 48 uniform flow. See uniform flow
Aungier Redlich Kwong model, 156 condition
averaged pressure, 110 user-supplied, 128, 218, 237. See user-
averaged velocity, 43, 52 supplied boundary condition
axisymmetric flow, 34, 36 wall. See fixed wall and moving wall
zero variable. See zero
B
Benard convection, 387
boundary element, 85, 86, 94, 122, 126, constraint equation. See constraint
202, 205, 236, 249, 251, 261, 264, 265, condition
266, 267, 276 contact condition, 383
Boundary friction condition, 115 contact discontinuity, 47
boundary layer continuity equation, 27, 29, 30, 33, 34, 36,
thickness, 74, 75 41, 44, 45, 47, 48, 50, 82, 202
Boussinesq approximation, 39, 44 control volume, 85, 182, 186, 190, 192
Boussinesq number, 74 convection, 75, 122
Brinkman number, 76 condition, 235, 236
bulk density, 62, 63, 65, 66, 67, 68, 240 forced, 75, 387
bulk modulus of elasticity, 36, 45, 138, natural, 73, 74, 374
139, 140, 163, 175 convective velocity, 71
bulk velocity, 62 convergence criteria in inner iteration, 303
buoyant force, 40, 68, 74, 75 convergence criteria in outer iteration, 297
Coriolis velocity, 31
C
coupled fluid-solid system. See fluid-
capabilities of ADINA-F, 24 structure interaction>coupled system
Capillary number, 76 cylindrical coordinate, 34
Cartesian coordinate, 27, 30
D
cell Peclet number, 84
centrifugal force, 33 Darcys law, 43, 44
CFL condition, 318 Darcy-Forchheimer equation, 43
CFL number. See CFL option decouple of fluid from temperature, 39
CFL option, 318, 364, 392 deformable structure, 69
compressibility, 36, 37, 45, 47, 54 deformation rate, 29, 35, 51, 139, 140,
compressible flow, 47, 73, 232, 246, 318, 141, 143
361 degree of freedom. See number of
high-speed. See high-speed equations
compressible flow density, 27, 36, 37, 39, 47, 55, 138, 140,
low-speed. See low-speed compressible 143, 175
flow fluid, 44, 163
computational domain, 69, 82, 88, 161, solid, 44, 163
167, 169, 198, 226, 234, 246, 252, 325, Detached Eddy Simulation (DES) model,
329, 330, 369, 392 59
concentrated force, 86, 94, 202 diffusion
concentrated heat flow, 86, 121, 204 fluid, 76
conduction, 75, 76 mass, 76
confined flow, 37, 45 thermal, 74, 75
conjugate heat transfer, 274, 324 viscosity, 74
conservative form, 27, 36 diffusivity, 124
conservative variable, 28, 182, 186, 188, displacement compatibility, 248
191, 192, 218, 219, 230, 374 displacement criterion, 254
constraint condition, 323 dissipation, 40
initial condition, 81, 137, 163, 175, 189, mass diffusion coefficient, 67, 238, 239,
219, 230, 237, 269, 322, 365, 366, 384, 240
386, 387, 390, 392, 445 mass expansion coefficient, 238, 239, 240
inner iteration, 292, 303 mass expansion coefficients, 68
internal energy, 47, 75 mass flow rate, 63
inviscid, 49 mass flux condition. See distributed mass
inviscid fluid flow, 48 flux
isentropic condition, 37 mass partial density, 62
iterative solver AMG1, 314 mass ratio, 63
iterative solver AMG2, 314 mass transfer, 62, 77, 232
iterative solvers, 314 mass transfer equation, 63, 64, 65
mass-ratio, 63, 65, 67
K
master degree, 323
kinetic energy, 75 material, 377
kinetic pressure, 40 high-speed compressible, 21923
kinetic stress, 41 incompressible, 13851
Kunz model, 340 low-speed compressible, 13851
mass transfer, 23744
L porous medium, 163
large-eddy-simulation model, 51 slightly compressible, 13851
latent heat, 108 material curves, 152
leader-follower closest option, 332 material model
leader-follower cone option, 332 K - high-Reynolds turbulence, 177
leader-follower option, 328, 330 K - low-Reynolds turbulence, 177
leader-follower parallel option, 331
Lewis number, 76 K - turbulence, 175, 230
liquid-vapor phase change, 336 Carreau, 140
load step size. See time step size constant, 138, 219, 238
low-speed compressible flow, 47, 77, 80, DES model, 178
360 large-eddy-simulation, 141
non-Newtonian, 13941
M porous medium, 163
Mach number, 37, 40, 47, 50, 74, 75 power-law, 139, 220
mapping file, 269, 392, 403 pressure-temperature-dependent, 239
format, 321 RNG K - turbulence, 177
mapping solution. See mapping file second order, 141
mass buoyant force ratio, 240 shear stress transport model, 178
mass concentration, 62 Southerlands formular, 220
mass conservation, 62 Spalart-Allmaras, 178
mass convection, 236 temperature-dependent, 39, 140
mass creation rate, 62, 63, 67, 240 temperature-dependent power-law, 140
mass density, 62, 65 time-dependent, 139
mass density flux, 63 two-layer zonal turbulence model, 179