Professional Documents
Culture Documents
CCM Fenomeno Transporte Polaca
CCM Fenomeno Transporte Polaca
Božidar Šarler
Laboratory for Multiphase Processes, Nova Gorica Polytechnic, Vipavska 13, SI-5000 Nova Gorica, Slovenia
bozidar.sarler@p-ng.si
ABSTRACT
This paper explores the application of the mesh-free radial basis function collocation method for solution of heat
transfer and fluid flow problems. The solution procedure is represented for a Poisson reformulated general transport
equation in terms of a-symmetric, symmetric and modified (double consideration of the boundary nodes) collocation
approaches. In continuation, specifics of a primitive variable solution procedure for the coupled mass, momentum,
and energy transport representing the natural convection in an incompressible Newtonian Bussinesq fluid are
elaborated. A comparison of different collocation strategies is performed based on the two dimensional De Vahl
5 6
Davis steady natural convection benchmark with Prandtl number Pr =0.71, and Rayleigh numbers Ra = 10 , 10 .
Multiquadrics radial basis functions are used. The three methods are assessed in terms of streamfunction extreme,
cavity Nusselt number, and midplane velocity components. Best performance is achieved with the modified
approach.
∂
θ = ρ f ( Φ ) − S / D
r
( )
1/ 2
(6) ω m ( p ) = rm2 + c 2 (15)
∂t
r r with rm standing for the Euclidean distance between the
Θ = ρ vf ( Φ ) − D ' ∇Φ / D (7) r r
field point p and the reference point pm and c for the
The partial time derivative can be approximated by a free parameter. The coefficients ς m of the solution can
two-level fully implicit finite difference be determined in various ways. The following three
collocation strategies have been put into context of
∂ 1 solving transport phenomena in this paper.
ρ f ( Φ ) ≈ ρ f ( Φ ) − ρ0 f ( Φ 0 ) (8)
∂t ∆t
A-symmetric collocation
The inhomogenous terms are Taylor expanded as The most simple is the a-symmetric collocation,
originally proposed by Kansa [4,5]. The coefficients ς m
r r r
θ = θ + θ ,Φ ( Φ − Φ ) , Θ = Θ + Θ,Φ ( Φ − Φ ) (9) of the solution are determined from a system of
collocation equations. The first NΓ equations read
with ‘bar’ denoting value at previous iteration. The final
form of the transformed equation, suitable for iterative
NΓ
∂
solution than becomes ∑ς
n =1
m ( χ iDψ mi + χ iD
∂nΓ
ψ mi ) = χ iD Φ iD + χ iN Φ iN
(16)
∇ 2Φ = Q ( Φ ) (10)
r r and the last M − NΓ equations read
Q ( Φ ) = θ + θ ,Φ ( Φ − Φ ) + ∇ ⋅ Θ + ∇ ⋅ Θ,Φ ( Φ − Φ )
M
(11)
∑
n = NΓ +1
ς m∇ 2ψ mi = Qi (17)
by setting r
is satisfied in all gridpoints pi .
ψ mi = ω mi , M =N (18) The steady state criterion
The steady-state is assumed to be reached when the
The first NΓ equations have been written for the conditon
Ω
boundary points, and the last N for the domain points r r
r | Φ j +1 ( pi , t + ∆t ) − Φ ( pi , t ) | < ε ste (23)
≡ F ( pi ) , where F stands for an arbitrary
and Fi = r
function. The introduced boundary condition indicators is satisfied in all gridpoints pi .
take form
NATURAL CONVECTION PROBLEM
r r
1; pi ∈ Γ D 1; pi ∈ Γ N
χi = r
D
D ,
χi = r
N
(19) Natural convection
0; pi ∉ Γ 0; pi ∉ Γ
N
In order to demonstrate the application and suitability
of the represented solution procedures for a typical
Symmetic collocation computational fluid dynamics problem, the following
The system of equations (16,17) can be made system of coupled mass, momentum, and energy
symmetric [6] by setting the Fasshauer’s ansatz equations is used. It describes the natural convection of
an incompressible Newtonian Bussinesq fluid
NΓ
∂ω mi M r
ψ mi = ∑ χ mDω mi + χ mN ∑ ∇ ω mi ,
+ 2
∇⋅v = 0 , (24)
m =1 ∂nΓ m = NΓ +1
M =N ∂ r rr
(20)
( ρ v ) + ∇ ⋅ ( ρ vv ) =
∂t
( )
The symmetric solution gives better results [7] as the a- r r
symmetric one. −∇P + µ∇ 2v + ρ a 1 − β T − T0 , (25)
Modified collocation ∂ r
If we attempt the solution only in the boundary nodes ( ρ cPT ) + ∇ ⋅ ( ρ vcPT ) = k∇ 2T (26)
or only in the domain nodes the information either on the ∂t
governing equation either or on the boundary conditions r
is lost in these two extremes. In boundary points, the with P standing for pressure, µ for viscosity, a for
governing equation as well as boundary conditions have acceleration, β for the volumetric thermal expansion
to be valid. Respectively, the system of equations
(16,17) can be made symmetric and consistent by coefficient, T0 for the Bussinesq reference temperature,
attempting the solution with double consideration of the cP for specific heat, k for thermal conductivity, and
boundary nodes, as deduced by Chen and Tanaka [8], by
setting T for temperature. All material properties are constant.
Solution strategy
NΓ
∂ω mi M
ψ mi = ∑ χ mDω mi + χ mN ∑ ∇ ω ( m − N Γ )i ,
+ 2 The energy equation is coupled with the momentum
∂nΓ m = NΓ +1 equation through the velocity field and the momentum
m =1
equation is coupled with the energy equation through the
M = NΓ + N (21) body force. Respectively, the solution inherently
involves iterations. Let us assume the velocity, pressure
Collocation is first made in the boundary nodes where and temperature fields are all known at iteration level
the boundary conditions are valid and subsequently in j .What follows explains the solution at the iteration
the boundary and domain nodes where the governing level j + 1 .
equation is valid. By inserting the approximation (21)
into framework (16,17) gives an ( N Γ + N ) × ( N Γ + N ) Solution of the momentum equation: The solution of the
symmetric system of algebraic equations. momentum equation at iteration level j + 1 is obtained
in the following way: The Pressure Poisson Equation
The convergence criterion
(PPE) is constructed by taking the divergence of the
The timestep iterations are stopped when the condition
momentum equation
r r
| Φ j +1 ( pi , t ) − Φ j ( pi , t ) | < ε itr (22)
1 conditions are valid
∇ 2 P j +1 = ∇ ⋅ −
∆t
r
(r r r
)
ρ v j − ρ v0 − ∇ ⋅ ρ v j v j ( )
∂ % j +1 r
P = 0; p ∈ Γ (33)
∂nΓ
r r
(
+ µ∇ v j + ρ a 1 − β T j − T0 (27)
2
)}
Both PPE and PCPE are singular due to the presence
The Neumann pressure boundary conditions can be of the Neumann boundary conditions over the whole
r
defined along the whole boundary Γ by taking the boundary. One of the domain grid-points p0 is fixed to
scalar product of the momentum equation with the
the reference pressure P0 in case of the PPE, and to 0 in
normal on the boundary. This gives
case of the PCPE, in order to avoid the singularity
∂ j +1 1
∂nΓ
P = −
∆t
r
( r
)
r r
ρ v j − ρ v0 − ∇ ⋅ ρ v j v j ( ) r r
P j +1 ( p0 ) = P0 ; p0 ∈ Ω (34)
r r
P% j +1 ( p ) = 0; p ∈ Ω
( )}
r r r (35)
+ µ∇ 2 v j + ρ a 1 − β T j − T0 ⋅ nΓ (28)
0 0
r
The domain point which coincides with the point p0
After calculating the pressure gradient field the velocity
is treated in a formally equivalent way as it would
field at iteration level j + 1 can be solved from the represent a boundary point with prescribed Dirichlet
velocity Poisson equation boundary conditions.
r r
11
∇ 2vˆ j +1 =
µ ∆t
( r r r
)
ρ vˆ j +1 − ρ v0 + ∇ ⋅ ρ v j v j ( )
Solution of the energy equation: The energy equation is
solved from
1 1
r
(
+∇P j +1 − ρ a 1 − β T j − T0 (29) )} ∇ 2T j +1 =
k ∆t
(
ρ cPT j +1 − ρ cPT0 )
The “hat” on the velocity denotes that the velocity does
r
}
+∇ ⋅ ( ρ v j +1cPT j ) (36)
not correspond to the mass conservation in general. The
incompressibility is enforced through the pressure P% and At the end of the iteration, the body force is updated
r with the new value of the temperature and the solution is
velocity corrections v% , which ensure repeated until the iteration and steady state conditions
r r are met for the pressure, velocity components, and
r
(
∇ ⋅ v j +1 = ∇ ⋅ vˆ j +1 + v% j +1 ) (30) temperature.
NUMERICAL RESULTS
Consider that the velocity corrections occur
exclusively due to action of the pressure correction P% Natural convection [9] benchmark
Geometry is a square with dimension L . Two
ρ r j +1 dimensional Cartesian coordinates px , p y are used. The
ε Pv v% = −∇P% j +1 (31)
∆t square is extending from px − ≤ px ≤ px + ,
p y − ≤ p y ≤ p y + , pxy ± = ± L / 2 . Upper and lower
where ε Pv represents a heuristic velocity correction –
boundaries are insulated, the left boundary is subject to
pressure correction relaxation factor. The pressure
correction can thus be calculated from the velocity field temperature T+ , the right boundary is subject to
r
v̂ through the Pressure Correction Poisson Equation temperature T− . The solution is performed for Prandtl
(PCPE) number Pr = µ cP / k = 0.71 , and for Rayleigh
numbers Ra = a β (T+ − T− ) L Pr ρ / µ = 10 , 10 .
3 2 2 5 6
ρ r
∇ 2 P% j +1 = ε Pv vˆ (32) The square is discretized in an uniform grid
∆t
20 × 20 or 30 × 30 . The first(second) grid involves 441
deduced from the equations (30) and (31). Since no (961) points of which 80(120) are on the boundary and
correction is needed in the direction normal to the solid 361(841) in the domain. The dimensionless time-step
boundary, the following pressure correction boundary used in the calculations has been set to ∆t =10 / Ra .
The constant in multiquadrics has been set to p y+
1 M
∂
c =1.75∆L , where ∆L represents a typical grid Nu =
T+ − T−
∑ς ∫
m =1
T
m
∂p
ψ m dp y (42)
distance. The velocity correction – pressure correction py− x
M M
vx = ∑ ς mvxψ m , v y = ∑ ς myψ m
v
(38) Table 2: Natural convection in a square cavity. The
m =1 m =1
maximum value of the horizontal velocity vx max on the
Respectively, Ψ can be calculated as vertical midplane.
Ra grid ASY SYM MOD Ref.[9]
M py M px
10 5 20 × 20 66.60 66.90 67.03 68.59
Ψ = ∑ ς mvx ∫ ψ m dpy , Ψ = −∑ ς m ∫ψ
v
y
dpx (39) 30 × 30 67.59 68.01 68.27 68.59
m =1 py− m =1 px −
m
105
106 20 × 20 205.11 207.67 209.31 219.36
Calculation of the Nusselt number 106 30 × 30 211.67 213.81 215.56 219.36
The cavity Nusselt number Nu is calculated as