Skip to main content
  • 875 Accesses

Abstract

ChapterĀ 5 presents the final universal form of the discretized governing equations for all flow conservations (e.g., mass, momentum, energy).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 89.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  • Benim AC, Zinser W (1986) A segregated formulation of Navier-Stokes equations with finite elements. Comput Methods Appl Mech Eng 57(2):223ā€“237

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Blay D, Mergui S, Niculae C (1992) Confined turbulent mixed convection in the presence of a horizontal buoyant wall jet. Fundam Mixed Convect 213:65ā€“72

    Google ScholarĀ 

  • Chen QY, Xu WR (1998) A zero-equation turbulence model for indoor airflow simulation. Energy Build 28(2):137ā€“144

    ArticleĀ  Google ScholarĀ 

  • Chorin AJ (1967) A numerical method for solving incompressible viscous flow problems. J Comput Phys 2(1):12ā€“26

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  • Chow WK, Cheung YL (1997) Comparison of the algorithms PISO and SIMPLER for solving pressure-velocity linked equations in simulating compartmental fire. Numer Heat Transfer 31(1):87ā€“112

    ArticleĀ  Google ScholarĀ 

  • Cohen J, Molemake JA (2009) Fast double precision CFD code using CUDA. In: 21st international conference on parallel computational fluid dynamics

    Google ScholarĀ 

  • Courant R, Isaacson E, Rees M (1952) On the solution of nonlinear hyperbolic differential equations by finite differences. Commun Pure Appl Math 5(3):243ā€“255

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  • Foster N, Metaxas D (1996) Realistic animation of liquids. Graph Models Image Process 58(5):471ā€“483

    ArticleĀ  Google ScholarĀ 

  • Foster N, Metaxas D (1997) Modeling the motion of a hot, turbulent gas. In: Proceedings of the 24th annual conference on computer graphics and interactive techniques, ACM Press, Addison-Wesley Publishing Co

    Google ScholarĀ 

  • Ghia U, Ghia KN, Shin CT (1982) High-re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method. J Comput Phys 48:387ā€“411

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Haroutunian V, Engelman MS, Hasbani I (1993) Segregated finite element algorithms for the numerical solution of large scale incompressible flow problems. Int J Numer Methods Fluids 17(4):323ā€“348

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Hauke G, Landaberea A, Garmendia I, Canales J (2005) A segregated method for compressible flow computation part I: isothermal compressible flows. Int J Numer Methods Fluids 47(4):183ā€“209

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Huang HC, Li ZH, Usmani AS (1999) Finite element analysis for transient non-Newtonian flow. Springer London Limited, London

    BookĀ  MATHĀ  Google ScholarĀ 

  • Issa RI (1986) Solution of the implicitly discretised fluid flow equations by operator-splitting. J Comput Phys 62(1):40ā€“65

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  • Jin M, Chen Q (2015) Improvement of fast fluid dynamics with a conservative semi-Lagrangian scheme. Int J Numer Methods Heat Fluid Flow 25(1):2ā€“18

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  • Jin M, Zuo W, Chen Q (2012) Improvements of fast fluid dynamics for simulating airflow in buildings. Numer Heat Transfer Part B Fundam 62(6):419ā€“438

    ArticleĀ  Google ScholarĀ 

  • Jin M, Zuo W, Chen Q (2013) Simulating natural ventilation in and around buildings by fast fluid dynamics. Numer Heat Transfer Part A Appl 64(4):273ā€“289

    ArticleĀ  Google ScholarĀ 

  • Kerh T, Lee JJ, Wellford LC (1998) Finite element analysis of fluid motion with an oscillating structural system. Adv Eng Softw 29(7ā€“9):717ā€“722

    ArticleĀ  Google ScholarĀ 

  • Liu W, Jin M, Chen C, You R, Chen Q (2016) Implementation of a fast fluid dynamics model in OpenFOAM for simulating indoor airflow. Numer Heat Transfer Part A Appl 69(7):748ā€“762

    ArticleĀ  Google ScholarĀ 

  • Mora L, Gadgil AJ, Wurtz E (2003) Comparing zonal and CFD model predictions of isothermal indoor airflows to experimental data. Indoor Air 13(2):77ā€“85

    ArticleĀ  Google ScholarĀ 

  • OpenFOAM (2007) The open source CFD toolbox, http://www.opencfd.co.uk/openfoam.html

  • Patankar SV (1980) Numerical heat transfer and fluid flow. Hemisphere Publishing Corporation

    Google ScholarĀ 

  • Patankar SV, Spalding DB (1972) A calculation procedure for heat, mass and momentum transfer in three-dimensional parabolic flows. Int J Heat Mass Transfer 15(10):1787ā€“1806

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Pelletier D, Garon A, Camarero R (1991) Finite element method for computing turbulent propeller flow. AIAA J 29(1):68ā€“75

    ArticleĀ  Google ScholarĀ 

  • Rhie CM, Chow WL (1983) Numerical study of the turbulent flow past an airfoil with trailing edge separation. AIAA J 21:1525ā€“1532

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Robert A (1981) A stable numerical integration scheme for the primitive meteorological equations. Atmos Ocean 19(1):35ā€“46

    ArticleĀ  Google ScholarĀ 

  • Spalding DB (1980) Mathematical modelling of fluid mechanics, heat transfer and mass transfer processes, computational fluid dynamics unit report HTS/80/1. Imperial College

    Google ScholarĀ 

  • Stam J (1999) Stable fluids. In: Proceedings of the 26th annual conference on computer graphics and interactive techniques. ACM Press, Addison-Wesley Publishing Co

    Google ScholarĀ 

  • Staniforth A, CĆ“tĆ© J (1991) Semi-Lagrangian integration schemes for atmospheric modelsā€”a review. Mon Weather Rev 119(9):2206ā€“2223

    ArticleĀ  Google ScholarĀ 

  • Temam R (1968) Une mĆ©thode dā€™approximation de la solution des Ć©quations de navier-stokes. Bull Soc Math Fr 96:115ā€“152

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Van Doormal JP, Raithby GG (1984) Enhancements of the simple method for predicting incompressible fluid flows. Numer Heat Transfer Appl 7(7):147ā€“163

    MATHĀ  Google ScholarĀ 

  • Van Doormaal JP, Raithby GD (1985) An evaluation of the segregated approach for predicting incompressible fluid flows. In: National heat transfer conference, ASME, 85-HT-9

    Google ScholarĀ 

  • Van Doormaal JP, Raithby GD, McDonald BH (1987) The segregated approach to predicting viscous compressible fluid flows. J Turbomach 109(2):268ā€“277

    ArticleĀ  Google ScholarĀ 

  • Vincent S, Randrianarivelo TN, Pianet G, Caltagirone JP (2007) Local penalty methods for flows interacting with moving solids at high reynolds numbers. Comput Fluids 36(5):902ā€“913

    ArticleĀ  MATHĀ  Google ScholarĀ 

  • Wang H, Wang H, Gao F, Zhou P, Zhai Z (2018) Literature review on pressure-velocity decoupling algorithms applied to built-environment CFD simulation. Build Environ 143:671ā€“678

    ArticleĀ  Google ScholarĀ 

  • Wang H, Zhai Z (2012) Application of coarse grid CFD on indoor environment modeling: optimizing the trade-off between grid resolution and simulation accuracy. HVAC&R Res 18(5):915ā€“933

    Google ScholarĀ 

  • Xue Y, Liu W, Zhai Z (2016) New semi-Lagrangian-based PISO method for fast and accurate indoor environment modeling. Build Environ 105:236ā€“244

    ArticleĀ  Google ScholarĀ 

  • Yakhot V, Orszag SA (1986) Renormalization group analysis of turbulence. J Sci Comput 1:3ā€“51

    ArticleĀ  MathSciNetĀ  MATHĀ  Google ScholarĀ 

  • Yin R, Chow WK (2003) Comparison of four algorithms for solving pressure-velocity linked equations in simulating atrium fire. Int J Arch Sci 4(1):24ā€“35

    Google ScholarĀ 

  • Zaparoli EL (2011) A comparative CFD analysis: penalty method (PM), pressure poisson equation (PPE) and the coupled formulation (PPEĀ +Ā PM). In: The 21st Brazilian congress of mechanical engineering

    Google ScholarĀ 

  • Zuo W, Chen Q (2009) Real-time or faster-than-real-time simulation of airflow in buildings. Indoor Air 19(1):33ā€“44

    ArticleĀ  Google ScholarĀ 

  • Zuo W, Hu J, Chen Q (2010) Improvements on FFD modeling by using different numerical schemes. Numer Heat Transfer Part B Fundam 58(1):1ā€“16

    ArticleĀ  Google ScholarĀ 

  • Zuo W, Jin M, Chen Q (2012) Reduction of numerical diffusion in the FFD model. Eng Appl Comput Fluid Mech 6(2):234ā€“247

    Google ScholarĀ 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhiqiang (John) Zhai .

Appendices

Practice-8: Fast CFD Modelling

Example Project: Semi-Lagrangian-based PISO method for fast and accurate indoor modelling.

  • Background:

The demand for fast engineering modeling has led to various means and efforts to reduce the cost of CFD techniques. Some of these efforts include: developing simplified turbulence models such as zero-equation models (Chen and Xu 1998); reforming solution algorithms for pressure-velocity decoupling such as Pressure Implicit with Splitting of Operator (PISO) (Issa 1986) and projection methods (Chorin 1967); utilizing coarse grids (Mora et al. 2003; Wang and Zhai 2012); and employing computer hardware technology such as Graphics Processing Unit (GPU) (Cohen and Molemake 2009) and parallel/multi-processor supercomputers. Although the rapid development of computer hardware provides more powerful computing capacity, it does not address the challenge fundamentally.

Fast fluid dynamics (FFD) is a method widely used in weather prediction and atmospheric flow study (Robert 1981; Staniforth and CƓtƩ 1991). It solves the Navier-Stokes (NS) equations with a time-advancement scheme and a semi-Lagrangian (SL) scheme. For instance, Foster and Metaxas (1996, 1997) implemented the projection method (Chorin 1967) to simulate the 3D motion of hot, turbulent gas using a relatively coarse grid. Stam (1999) proposed using semi-Lagrangian advection and fast Fourier transformation to speed up the computation to a real-time or faster-than-real-time level. Zuo and Chen (2009) first applied this operator splitting algorithm to 2-D indoor environment modeling, improved the sequence of operators, tested higher orders of differencing schemes, and evaluated the accuracy levels. Zuo et al. (2010, 2012) further improved the accuracy of FFD by using the finite volume method, mass conservation correction, and a hybrid interpolation scheme. Jin et al. (2012, 2013, 2015) extended FFD to the solution of three-dimensional airflow. Liu et al. (2016) implemented FFD in OpenFOAM (2007) with unstructured mesh, enabling the practical application of the algorithm. Even though FFD significantly accelerates the computation, its accuracy is still far from satisfaction. This study attempts to combine the semi-Lagrangian scheme with a PISO solver with the goal to increase the computation speed of PISO but without losing the accuracy (Xue et al. 2016).

  • Simulation Details:

  1. (1)

    Semi-Lagrangian Advection

A fully implicit algorithm is unconditionally stable and has no Courantā€“Friedrichsā€“Lewy (CFL) restriction (Issa 1986), thus it is commonly used in CFD. However, in solving the momentum equations numerically, the advection term is fundamentally different from others because it brings significant non-linearity. Semi-Lagrangian scheme (Courant et al. 1952) shows potential for resolving the dilemma. The idea of semi-Lagrangian scheme was originated from the advection of scalar, but it can be directly applied to vector as well.

The Lagrangian method treats the continuum as a particle system. Each point in the fluid is labeled as a separate particle. From the perspective of such particles, the observed value of (i.g., density, temperature, etc.) will remain the same within the lapse of time. The semi-Lagrangian scheme follows the procedure as described in Fig.Ā 8.5 to obtain the observed value of next time step. An existing velocity field of current time step t provides the velocity at (any) point A of the grid. To predict point Aā€™s value of next time step \(t + \Delta t\), the semi-Lagrangian method traces back to point Aā€™s upstream location B \((\overrightarrow {AB} = - \vec{v} \cdot \Delta t)\) using the current velocity. This location B may not necessarily match an exact grid node. The surrounding values of current time step will be used to interpolate the value at this specific location. This value will then be kept and assigned to point A as its observed value of next time step. Since there is no CFL condition restriction, the time step and grid size used in a semi-Lagrangian scheme are usually large, which introduces large truncation error. Higher order numerical schemes can be used to improve the accuracy in the interpolation of the method.

Fig.Ā 8.5
figure 5

Procedure of semi-Lagrangian scheme

  1. (2)

    Semi-Lagrangian PISO Algorithm

An algorithm integrating semi-Lagrangian advection with the PISO algorithm is proposed as follows.

  • Step 1: Semi-Lagrangian Advection: Velocity

Use the semi-Lagrangian advection ((x, āˆ’t)) to obtain a first intermediate velocity field.

$$\frac{{u^{*} - u^{n} }}{\Delta t} = - \left( {u^{*} \cdot \nabla } \right)u^{*} \Rightarrow u^{*} = u^{n} \left[ {P\left( {x, - \Delta t} \right)} \right]$$
(8.57)
  • Step 2: Predictor Step: Velocity

Intermediate velocity field u* and initial pressure field pn are used in the solution of the implicit momentum Eq.Ā (8.58) to yield a second intermediate velocity field u**

$$\frac{{u^{**} - u^{*} }}{\Delta t} = v\nabla^{2} u^{**} - \frac{1}{{\rho^{n} }}\nabla p^{n} + S^{u}$$
(8.58)

Since this is using pn instead of p**, ** will not satisfy the continuity equation.

  • Step 3: First Corrector Step: Pressure

An approximation of the velocity field u*** together with the corresponding new pressure field p*** are sought that satisfy the continuity equation

$$\nabla u^{***} = 0$$
(8.59)

The momentum equation is then taken as

$$\frac{{u^{***} - u^{*} }}{\Delta t} = v\nabla^{2} u^{**} - \frac{1}{{\rho^{n} }}\nabla p^{***} + S^{u}$$
(8.60)

EquationĀ (8.60) subtracting Eq.Ā (8.58) yields

$$\frac{{u^{***} - u^{**} }}{\Delta t} = - \frac{1}{{\rho^{n} }}\left( {\nabla p^{***} - \nabla p^{n} } \right)$$
(8.61)

Take divergence for both sides of Eq.Ā (8.61), the velocity increment Eq.Ā (8.61) becomes the pressure increment equation to solve p***Ā āˆ’Ā pn field

$$\nabla^{2} p^{***} - \nabla^{2} p^{n} = \frac{{\rho^{n} }}{\Delta t}\nabla \cdot u^{**}$$
(8.62)
  • Step 4: First Corrector Step: Velocity

The updated pressure field (or pressure increment field) can be substituted into Eq.Ā (8.60) or Eq.Ā (8.61) to update the velocity field and produce the velocity field u***.

  • Step 5: Second Corrector Step: Pressure

A replication of Step 2 is conducted using the updated result from Step 3 u*** and after advection of the initial value u*, with the newest pressure field p****, yields an updated velocity field

$$\frac{{u^{n + 1} - u^{*} }}{\Delta t} = v\nabla^{2} u^{***} - \frac{1}{{\rho^{n} }}\nabla p^{****} + S^{u}$$
(8.63)

where the explicit scheme in \(v\nabla^{2} u^{***}\) is taken to operate on the \(u^{***}\) field. Then \(u^{****}\) corresponding with \(p^{****}\) satisfies the continuity equation

$$\nabla u^{****} = 0$$
(8.64)

EquationĀ (8.63) subtracting Eq.Ā (8.60) produces

$$\frac{{u^{****} - u^{***} }}{\Delta t} = - \frac{1}{{\rho^{n} }}\left( {\nabla p^{****} - \nabla p^{***} } \right) + \left( {v\nabla^{2} u^{***} } \right) - \left( {v\nabla^{2} u^{**} } \right)$$
(8.65)

After taking the divergence of both sides of Eq.Ā (8.65), together with the continuity equation \(\nabla u^{****}\) and \(\nabla u^{***}\), the velocity increment, Eq.Ā (8.65), yields the pressure increment equation to solve the p****Ā āˆ’Ā p*** field:

$$\nabla^{2} p^{****} - \nabla^{2} p^{***} = \rho^{n} \nabla \cdot \left[ {\left( {v\nabla^{2} u^{***} } \right) - \left( {v\nabla^{2} u^{**} } \right)} \right]$$
(8.66)
  • Step 6: Second Corrector Step: Velocity

The updated pressure field (or pressure increment field) can be plugged into Eq.Ā (8.63) or Eq.Ā (8.65) to update the velocity field and produce the velocity field u****. More corrector steps can be used. However, the accuracy of two corrector steps is often adequate to approximate the exact solutions un+1 and pn+1.

The temperature field is solved separately from the velocity field, in the PISO algorithm, although the procedure is similar. Considering the coupling between the temperature and velocity, the current study used the state equation of ideal gases to update the density of air, as shown in the steps below.

  • Step 7: Semi-Lagrangian Advection: Temperature

Use the semi-Lagrangian advection ((x, āˆ’t)) to obtain a first intermediate temperature field.

$$\frac{{T^{*} - T^{n} }}{\Delta t} = - \left( {u^{n} \cdot \nabla } \right)T^{*} \Rightarrow T^{*} = T^{n} \left[ {P\left( {x, - \Delta t} \right)} \right]$$
(8.67)
  • Step 8: Corrector Step: Temperature

Intermediate temperature field T* is used in the solution of the implicit energy Eq.Ā (8.68) to yield the temperature field Tn+1

$$\frac{{T^{n + 1} - T^{*} }}{\Delta t} = a\nabla^{2} T^{n + 1} + S^{T}$$
(8.68)
  • Step 9: Update of Density

Update the density of air with the state equation of ideal gases.

$$\rho^{n + 1} = \frac{{p^{n + 1} M}}{{RT^{n + 1} }}$$
(8.69)

The proposed semi-Lagrangian PISO algorithm, without the corrector steps (Step 5 and Step 6), is similar to FFD except that it takes into consideration the pressure field from the previous time step. The FFD algorithm neglects the influence of pressure from the previous time step and assumes pressure is solely determined by the velocity field under the continuity restriction. In FFD, the advection term is completely separated from the rest of the momentum equation and is solved by using the semi-Lagrangian algorithm, which is faster and more stable compared to the conventional method of directly solving the advection equation. But the accuracy of PISO, theoretically and practically, has more advantages over FFD. The integrated algorithm (SLPISO) is expected to improve the accuracy of FFD without sacrificing much computing speed. The semi-Lagrangian advection algorithm is anticipated to largely reduce the computing cost of the direct solving of the advection term in the original PISO algorithm.

  1. (3)

    Simulation Cases

It is critical to evaluate the performance of the developed algorithm for both steady and unsteady problems. A lid-driven cavity flow case and a mixing convection case in a confined space are used to evaluate and illustrate method performance. FigureĀ 8.6 shows the lid-driven cavity laminar flow under isothermal condition (Ghia et al. 1982). FigureĀ 8.7 shows a 2-D mixing convection case (Blay et al. 1992) with temperature impacts.

Fig.Ā 8.6
figure 6

Lid-driven cavity flow under isothermal condition

Fig.Ā 8.7
figure 7

2-D mixing convection case with heated floor

  • Results and Analysis:

  1. (1)

    Lid-driven cavity flow

The study compares the performance of four algorithms: SIMPLE, PISO, FFD and SLPISO. The mesh size is 50Ā Ć—Ā 50 and the time step size is 0.005Ā s. FigureĀ 8.8a shows the predicted Vy at line YĀ =Ā 0.5Ā m. The results of PISO and SLPISO are almost identical. SIMPLE provides similar velocity magnitude while FFD obtains considerably different results. The results in this case reveal that SLPISO shares the same accuracy as PISO, with a slight deviation from experimental data. All of them provide better results than FFD. FigureĀ 8.8b compares the computing costs. SIMPLE requires much more time. SLPISO has a similar speed as FFD. However, both of them are slower than PISO in this case, which will be explained later.

Fig.Ā 8.8
figure 8

Predicted results and computing costs of the lid-driven cavity case

  1. (2)

    2-D mixing convection flow

The study evaluates the algorithm with a 2-D mixing convection case (Blay et al. 1992) that includes the temperature field. Experimental results were obtained from the literature, which were measured in a laboratory chamber of 1.04Ā mĀ Ć—Ā 1.04Ā mĀ Ć—Ā 0.7Ā m (xĀ Ć—Ā yĀ Ć—Ā z) equipped with a 18Ā mm wide inlet slot and a 24Ā mm wide outlet slot. The experiment produced a fairly good 2-D flow at the central plate. The experiment measured wall temperatures and supply air conditions, respectively, as TroofĀ =Ā TwallsĀ =Ā 15Ā Ā°C, TfloorĀ =Ā 35.5Ā Ā°C, TinletĀ =Ā 15Ā Ā°C, VinletĀ =Ā 0.57Ā m/s (normal to the inlet slot), as well as temperature, Vy at the ten points along the middle line on the central plate (as shown in Fig.Ā 8.7). This study uses the constant effective kinematic viscosity and heat transfer coefficient, namely one hundred times of the physical values, to consider the turbulence impact. The mesh size is 80Ā Ć—Ā 80 and the time step size is 0.005Ā s. Results in Fig.Ā 8.9 demonstrate that the SLPISO algorithm provides similar results as the PISO method. FFD has a large disparity in temperature prediction. SLPISO has similar computational speed as FFD, while they are still slower than PISO.

Fig.Ā 8.9
figure 9

Predicted results and computing costs of the mixing convection case

When the study increases the grid number from 80Ā Ć—Ā 80 to 300Ā Ć—Ā 300, and further to 1000Ā Ć—Ā 1000, the computational cost performance for these algorithms changes as shown in Fig.Ā 8.10a, b. As the number of grid increases, SLPISO and FFD are faster than PISO. The reason for this is the inherent characteristic of the semi-Lagrangian scheme. As the grid number increases, the computing cost of the traditional solvers, such as SIMPLE and PISO, demonstrates exponential growth trend, while the semi-Lagrangian scheme shows a linear growth as revealed in Fig.Ā 8.10c (the influence of correction steps makes the calculation cost growth of FFD and SLPISO not exactly the linear).

Fig.Ā 8.10
figure 10

Computational cost comparison of different solvers with different grids

The comparison of simulation speed above is under the situation of using the same time step. However, the stability analysis shows that SLPISO can tolerate a larger time step than PISO. The study uses the mixing convection case with mesh size of 1000Ā Ć—Ā 1000 to check the actual calculation speed of different solvers with different time steps. FigureĀ 8.11 shows the computing time with the largest time step that each solver can handle. To reach stable and acceptable results for this case, the largest time steps are, 0.02Ā s, 0.005Ā s, 0.08Ā s, and 0.1Ā s, for SIMPLE, PISO, SLPISO and FFD, respectively. The shadowed columns in Fig.Ā 8.11 show the relative computing cost with the time step size of 0.005Ā s for all the solvers, using SIMPLE as the benchmark. The black columns show the relative computing cost using their own largest time step. While the predicted results for velocity and temperature are similar to Fig.Ā 8.9a, b, the modeling speeds of SLPISO and FFD with larger time steps are significantly increased.

Fig.Ā 8.11
figure 11

Computational cost comparison with different time steps

  1. (3)

    Transient 2-D mixing convection flow

To evaluate the transient simulation accuracy of SLPISO and FFD, a transient flow in the 2-D mixing convection case is simulated. Since no transient experiment results exist for this case, the SIMPLE algorithm results are used as the reference for comparison. The ā€œexperimentalā€ data is taken every five seconds from the SIMPLE prediction at the middle point of the test chamber. The study uses the mesh size of 80Ā Ć—Ā 80. The time step is varied from 0.005 to 0.08Ā s. As the time step increases, the transient results and the steady state results of SLPISO and FFD deviate, where SLPISO outperforms FFD in general (Fig.Ā 8.12). FFD must use smaller time steps to obtain similar results as SLPISO.

Fig.Ā 8.12
figure 12

Accuracy comparison with different time steps for transient simulation with SLPISO and FFD (ā€œExpā€ is from SIMPLE)

The increasing deviation of the SLPISO results is attributed to the false diffusion of the time term. Compared to the original equation, the discretization of the time term leads to an additional false diffusion \(\frac{{u^{2} \varDelta t}}{2}\nabla^{2} u\) that is related to the time step size. The increase of the time step enlarges the false diffusion, so that the transient simulation result is less responsive than the reference curve, to the transient velocity. If the constant effective kinematic viscosity is adjusted according lower, compensating for the larger time step used, the results of SLPISO with the time step of 0.08Ā s can be similar to the results with the time step of 0.005Ā s, as verified by the numerical tests.

  1. (4)

    Discussions

Because of the inherent characteristics of the semi-Lagrangian scheme, SLPISO and FFD may not provide significant computing saving than the conventional CFD algorithms when the number of grid is relatively small. They gain their advantages when the number of grid is increased. Most engineering problems require more than one-million grids to reach solutions of grid-independence, and thus FFD and SLPISO show great potential of fast simulation for these applications. This potential is further enhanced with the advantage of being able to use larger time steps for both SLPISO and FFD. SLPISO is slightly slower than FFD but with a higher accuracy especially for transient cases. SLPISO can adopt larger time steps than PISO and FFD to obtain accurate steady state results.

Assignment-8: Simulating Microenvironment Around Thermal Manikin

  • Objectives:

This assignment will use a computational fluid dynamics (CFD) program to simulate the benchmark case of a computer-simulated person (CSP) under a mixing ventilation condition (Fig.Ā 8.13).

Fig.Ā 8.13
figure 13

Test of mixing convection around a thermal manikin

Key learning points:

  • Indoor airflow and heat transfer simulation

  • Simplification of indoor object (person)

  • Comparison of simulation with experimental data.

  • Case Descriptions:

  1. (1)

    3D computational domain with dimensions of XĀ Ć—Ā YĀ Ć—Ā ZĀ =Ā 2.44Ā Ć—Ā 1.2Ā Ć—Ā 2.46Ā m.

  2. (2)

    Air is supplied through the full cross-sectional area at one end of the channel and leaves through two circular openings at the opposite end.

  3. (3)

    The circular exhaust openings have a diameter of 0.25Ā m and are located 0.6Ā m from the floor and the ceiling, respectively.

  4. (4)

    The CSPs are located 0.7Ā m from the inlet, centered on the x-axis.

  5. (5)

    The geometry of the CSP is based on an average-sized woman with a standing height of 1.7Ā m. When seated, the CSP has a height of 1.38Ā m. The surface area of the CSP is 1.52Ā m2. Pick up a reasonable body size.

  6. (6)

    A uniform velocity profile of UĀ =Ā 0.2Ā m/s and TĀ =Ā 22Ā Ā°C is applied to the opening. Inlet turbulence intensity k and dissipation rate Īµ values can be calculated based on the literature (ISSN 1395-7953 R0307).

  7. (7)

    A convective heat flow rate of 38.0Ā W is prescribed for the CSP corresponding to an activity level of approximately 1 Met (sedentary work).

  8. (8)

    Steady state w/o contaminant.

  9. (9)

    Other surfaces are adiabatic.

  10. (10)

    More case details and experimental data can be found at: http://homes.civil.aau.dk/pvn/cfd-benchmarks/csp_benchmark_test/.

  • Simulation Details:

  1. (1)

    Turbulence model: Re-Normalization Group (RNG) kĀ āˆ’Ā Īµ model (Yakhot and Orszag 1986).

  2. (2)

    Convergence criterion: 0.1%.

  3. (3)

    Iteration: at least 1000 steps.

  4. (4)

    Grid: local refined grid with different total grid numbers.

  • Cases to Be Simulated:

  1. (1)

    KERNG model with at least three different orders of grid numbers (e.g., 30Ā Ć—Ā 15Ā Ć—Ā 30, 45Ā Ć—Ā 23Ā Ć—Ā 45, 70Ā Ć—Ā 35Ā Ć—Ā 70).

  • Report:

  1. (1)

    Case descriptions: descriptions of the cases.

  2. (2)

    Simulation details: computational domain, grid cells, convergence status.

    • Figure of the best grid used (on Xā€“Z and Xā€“Y planes);

    • Figure of a typical convergence process recorded.

  3. (3)

    Result and analysis (only present the best results except for the 1st item).

    • Grid-independent solution: use one vertical pole at XĀ =Ā 1.69Ā m to compare and show the predicted velocity differences with different grids;

    • Figure of velocity contours at the middle height of the CSP;

    • Figure of airflow vectors at the middle height of the CSP;

    • Figure of temperature contours at the middle height of the CSP;

    • Figure of velocity contours at the central plane cross the CSP;

    • Figure of airflow vectors at the central plane cross the CSP;

    • Figure of temperature contours at the central plane cross the CSP;

    • Comparison of velocities along the three tested vertical poles at the central plane cross the CSP (experiment-dot; simulation-solid line).

  4. (4)

    Conclusions (findings, CFD experience and lessons, etc.)

Rights and permissions

Reprints and permissions

Copyright information

Ā© 2020 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Zhai, Z. (2020). Solve Case. In: Computational Fluid Dynamics for Built and Natural Environments. Springer, Singapore. https://doi.org/10.1007/978-981-32-9820-0_8

Download citation

  • DOI: https://doi.org/10.1007/978-981-32-9820-0_8

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-32-9819-4

  • Online ISBN: 978-981-32-9820-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics