Full text
Comparison and coupling of continuous and hybridizable discontinuous Galerkin methods : application to multi-physics problems Mahendra Paipuri ADVERTIMENT La consulta d’aquesta tesi queda condicionada a l’acceptació de les següents condicions d'ús: La difusió d’aquesta tesi per mitjà del repositori institucional UPCommons (http://upcommons.upc.edu/tesis) i el repositori cooperatiu TDX (http://www.tdx.cat/) ha estat autoritzada pels titulars dels drets de propietat intel·lectual únicament per a usos privats emmarcats en activitats d’investigació i docència. No s’autoritza la seva reproducció amb finalitats de lucre ni la seva difusió i posada a disposició des d’un lloc aliè al servei UPCommons o TDX. No s’autoritza la presentació del seu contingut en una finestra o marc aliè a UPCommons (framing). Aquesta reserva de drets afecta tant al resum de presentació de la tesi com als seus continguts. En la utilització o cita de parts de la tesi és obligat indicar el nom de la persona autora. ADVERTENCIA La consulta de esta tesis queda condicionada a la aceptación de las siguientes condiciones de uso: La difusión de esta tesis por medio del repositorio institucional UPCommons (http://upcommons.upc.edu/tesis) y el repositorio cooperativo TDR (http://www.tdx.cat/?localeattribute=es) ha sido autorizada por los titulares de los derechos de propiedad intelectual únicamente para usos privados enmarcados en actividades de investigación y docencia. No se autoriza su reproducción con finalidades de lucro ni su difusión y puesta a disposición desde un sitio ajeno al servicio UPCommons No se autoriza la presentación de su contenido en una ventana o marco ajeno a UPCommons (framing). Esta reserva de derechos afecta tanto al resumen de presentación de la tesis como a sus contenidos. En la utilización o cita de partes de la tesis es obligado indicar el nombre de la persona autora. WARNING On having consulted this thesis you’re accepting the following use conditions: Spreading this thesis by the institutional repository UPCommons (http://upcommons.upc.edu/tesis) and the cooperative repository TDX (http://www.tdx.cat/?localeattribute=en) has been authorized by the titular of the intellectual property rights only for private uses placed in investigation and teaching activities. Reproduction with lucrative aims is not authorized neither its spreading nor availability from a site foreign to the UPCommons service. Introducing its content in a window or frame foreign to the UPCommons service is not authorized (framing). These rights affect to the presentation summary of the thesis as well as to its contents. In the using or citation of parts of the thesis it’s obliged to indicate the name of the author.
Doctoral Thesis Advisor: Co-advisor: Sonia Fernández-Méndez Barcelona, December, 2017 Mahendra Paipuri Departament d'Enginyeria Civil i Ambiental Erasmus Mundus PhD program Simulation in Engineering and Entrepreneurship Development (SEED) Carlos Manuel Tiago Tavares Fernandes COMPARISON AND COUPLING OF CONTINUOUS AND HYBRIDIZABLE DISCONTINUOUS GALERKIN METHODS: APPLICATION TO MULTI-PHYSICS PROBLEMS
Abstract This thesis proposes a coupled continuous and hybridizable discontinuous Galerkin formulation to solve conjugate heat transfer problems. This model is then used to find the thermal response of Glass Fiber Reinforced Polymer (GFRP) tubular cross-section under fire. The first step of this thesis is to compare the computational efficiency of high-order Continuous Galerkin (CG) and Hybridizable Discontinuous Galerkin (HDG) methods for incompressible fluid flow problems in low Reynolds number regimes. Only 2-D examples and direct solvers are considered in the present work. A thoroughly comparison in terms of CPU time and accuracy for both discretization methods is made under the same platform. Various results presented suggests that HDG can be more efficient than CG when the CPU time, for a given degree, is considered. The stability of HDG and CG is studied using a manufactured solution that produces a sharp boundary layer, confirming that HDG provides smooth converged solutions in the presence of sharp fronts whereas, CG failed to converge due to the presence of numerical oscillations. Following, the solution of the coupled Navier–Stokes/convection-diffusion problem, using Boussinesq approximation, is formulated within the HDG framework and analysed using numerical experiments and benchmark problems. A coupling strategy between HDG and CG methods is proposed in the framework of second-order elliptic operators. The coupled formulation is implemented and its convergence properties are established numerically by using manufactured solutions. Finally, the proposed coupled formulation between HDG and CG for heat equation is combined with the coupled Navier–Stokes/convection diffusion equations to formulate a new CG-HDG model for solving conjugate heat transfer problems. Benchmark examples are solved using the proposed model and validated with literature values. The final part of the thesis applies the proposed CG-HDG coupled formulation to predict the thermal response of the GFRP tubular cross-section. The radiosity equation that governs the internal radiation is added to the CG-HDG coupled model. Estimates of the discretization errors are computed in order to establish the confidence intervals for quantities of interest. Results with the geometry having curved corners in the cavity are presented and shown to be within the estimated uncertainty intervals. CPU times for the linear solver suggests that the proposed CG-HDG model is more efficient than CG-CG model in all the cases considered. keywords: hybridizable discontinuous Galerkin, coupling, conjugate heat transfer, GFRP, computational efficiency. iii
iv
Resumo Neste trabalho é proposta uma formulação para acoplar os modelos continuous ehybridizable discontinuous Galerkin a fim de analisar problemas conjugados de transferência de calor. Este modelo é então usado para estudar a resposta térmica de perfis pultrudidos de secção tubular em polímero reforçado com fibras de vidro (GFRP) sob a acção do fogo. O primeiro passo desta tese é comparar a eficiência computacional dos métodos Continuous Galerkin (CG) e Hybridizable Discontinuous Galerkin (HDG) de elevada ordem para problemas de escoamento de fluidos incompressíveis para valores reduzidos do número Reynolds. Apenas exemplos bidimensionais e métodos directos são considerados no presente trabalho. Uma comparação exaustiva em termos de tempo de CPU e precisão para ambos os métodos de discretização é efectuada sob uma plataforma comum. Os resultados apresentados sugerem que, em termos do tempo de CPU requerido, o HDG pode ser mais eficiente que o CG, para um determinado grau. A estabilidade do HDG e CG é estudada usando uma solução fabricada que produz uma abrupta descontinuidade, confirmando que o HDG fornece soluções convergentes e suaves na presença de descontinuidades, enquanto o CG não conseguiu convergir devido à presença de oscilações numéricas. Em seguida, a solução do problema acoplado Navier-Stokes/convecção-difusão, utilizando a aproximação de Boussinesq, é formulada no contexto HDG e analisada usando soluções de referência. Uma estratégia de acoplamento entre os métodos HDG e CG é proposta no âmbito de operadores elípticos de segunda ordem. A formulação acoplada é implementada e suas propriedades de convergência são estabelecidas numericamente usando soluções fabricadas. Finalmente, a formulação acoplada proposta entre HDG e CG para a equação do calor é combinada com as equações acopladas de Navier-Stokes/convecção-difusão para formular um novo modelo de CG-HDG para resolver problemas de transferência de calor conjugado. Exemplos de referência são resolvidos usando o modelo proposto e validados com valores de literatura. A parte final da tese aplica a formulação proposta CG-HDG acoplada para prever a resposta térmica de uma secção transversal tubular de GFRP. A equação de radiosidade que governa a radiação interna é adicionada ao modelo acoplado CG-HDG. Os erros de discretização são calculados para estabelecer os intervalos de confiança para quantidades de interesse. Resultados considerando a geometria circular dos cantos da cavidade são apresentados. Estes estão dentro do intervalo de incerteza estimado. Os tempos de CPU requeridos para resolver os sistemas de equações lineares sugerem que o modelo proposto CG-HDG é mais eficiente do que o modelo CG-CG em todos os casos considerados. palavras-chave: Hybridizable Discontinuous Galerkin, acoplamento, problema conjugado de transferência de calor, GFRP, eficiência computacional v
vi
Resumen En esta tesis se propone una formulación acoplada del método de los elementos finitos clásico (CG) y el método Hybridizable Discontinuous Galerkin (HDG) para la a solución de problemas térmicos conjugados. El modelo se utiliza para determinar la respuesta al fuego de Polímeros Reforzados con Fibras de Vidrio (GFRP) con sección tubular. El primer paso de la tesis es la comparación de la eficiencia computacional de CG y HDG de alto orden para problemas de flujo incompresible para número de Reynolds (Re) bajo. Se consideran sólo ejemplos 2D y métodos de resolución de sistemas lineales directos. Se presenta una comparación en términos de tiempo de CPU y precisión en la solución para ambas discretizaciones, bajo la misma plataforma de implementación. Los resultados sugieren que HDG puede ser más eficiente computacionalmente que CG en tiempo de CPU, para un grado fijado. La estabilidad de HDG y CG para Re alto se estudia con una solución manufacturada que produce un frente pronunciado, confirmando que HDG proporciona soluciones convergidas suaves en presencia de frentes verticales, en casos en que las oscilaciones numéricas de CG no permiten llegar a convergencia. A continuación, se plantea la solución del problema acoplado Navier-Stokes/conveccióndifusión, con la aproximación de Boussinesq, en el contexto del método HDG, y se analiza con experimentos numéricos. Se propone una formulación acoplada HDG-CG para la ecuación del calor. Se comprueban numéricamente las propiedades de convergencia del método propuesto. Finalmente, se combina la formulación acoplada propuesta para la ecuación del calor con el acoplamiento con la ecuaciones de Navier-Stokes en el dominio del fluido, creando una nueva formulación CG-HDG para problemas térmicos conjugados. Se consideran ejemplos clásicos para validar los resultados comparando con la literatura existente. La parte final de la tesis aplica la formulación acoplada CG-HDG propuesta a la predicción de la respuesta térmica de secciones tubulares de GFRP, incluyendo radiosidad interna en el modelo. Se calculan estimas de los errores de discretización para determinar intervalos de confianza para las cantidades de interés. Se presentan resultados con geometría con esquinas curvas en la cavidad mostrando resultados dentro de los intervalos de incertidumbre estimados. El tiempo de CPU para la resolución de sistemas sugiere que el modelo CG-HDG propuesto es más eficiente que el clásico método CG-CG en todos los casos considerados. palabras-clave: Hybridizable Discontinuous Galerkin, acoplamiento, trasmisión del calor conjugada, GFRP, eficiencia computacional vii
viii
List of Figures 1.1 GFRP tubular beam profile considered in this work under experimental setup (Correia et al.,2010)..................................... 1 1.2 Stencils of IPM, LDG and HDG methods for matching triangular mesh. Mesh element under consideration is highlighted in grey and the neighbours that belong to the stencil are represented with yellow. The elements in green do not belong to the stencil. In LDG, only edges of the second neighbours, represented in red, belong to the stencil. In case of HDG, red edges belong to stencil of grey edge and blue edges do not belong to the stencil. . . . . . . . . . . . . . . . . . . . . . . . . 7 1.3 Representation of DOFs for scalar unknown in the final system in CG, DG and HDGmethods. ..................................... 8 2.1 Representation of the nodes in the discretization of the HDG for Navier–Stokes equations......................................... 18 2.2 Comparison of ndof between HDG (Tk/Qk) and CG (TkTk−1/QkQk−1). . . . . . 23 2.3 Comparison of ndof between HDG (Tk−1/Qk−1) and CG (TkTk−1/QkQk−1). . . 24 2.4 Sparsity pattern of HDG (Tk) and CG (TkTk−1) matrices for k= 5 and h= 1/2. Variable nnz represents number of non-zeros. . . . . . . . . . . . . . . . . . . . . 25 2.5 Kovasznay flow: analytical solution. . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.6 Kovasznay flow: convergence of velocity. . . . . . . . . . . . . . . . . . . . . . . . 27 2.7 Kovasznay flow: convergence of pressure. . . . . . . . . . . . . . . . . . . . . . . . 27 2.8 Kovasznay flow: error for HDG vs. CPU time for linear solver with triangular elements. ........................................ 28 2.9 Kovasznay flow: error for CG vs. CPU time for linear solver with triangular elements. 29 2.10 Kovasznay flow: comparison of error between HDG and CG vs. CPU time for linearsolver. ...................................... 29 2.11 Kovasznay flow: ratio of CPU times for linear solver vs. element size for triangular elements. ........................................ 30 2.12 Kovasznay flow: ratio of CPU times for linear solver vs. element size for quadrilateralelements. .................................... 30 2.13 Kovasznay flow: ratio of CPU times for linear solver vs. error for triangular elements. 31 2.14 Kovasznay flow: ratio of CPU times for linear solver vs. error for quadrilateral elements. ........................................ 32 2.15 Kovasznay flow: Condition numbers in Stokes problem with triangular elements and h= 1/25....................................... 32 2.16 NACA airfoil: computational mesh (refinement level 4) and zoom. . . . . . . . . 33 2.17 NACA airfoil: velocity field with k= 5 and refinement level 4. . . . . . . . . . . . 34 2.18 NACA airfoil: ratio of CPU times for linear solver vs. element size for triangular elements. ........................................ 34 xv
xvi List of Figures 2.19 NACA airfoil: ratio of CPU times for linear solver vs. error for triangular elements. 35 2.20 NACA airfoil: condition numbers with triangular elements and h= 0.78125. . . . 36 2.21 Stability study: isolines of the modulus of the velocity field at Re = 2 000 and k= 3. 37 2.22 Stability study: isolines of the modulus of the velocity field for Re = 11 100 and k= 3. .......................................... 38 2.23 Stability study: relative residual norm vs. iteration number. . . . . . . . . . . . . 38 2.24 Taylor–Vortex flow: analytical solution. . . . . . . . . . . . . . . . . . . . . . . . 43 2.25 Taylor–Vortex flow: convergence of velocity in time. . . . . . . . . . . . . . . . . 43 2.26 Taylor–Vortex flow: convergence of pressure in time. . . . . . . . . . . . . . . . . 44 2.27 Taylor–Vortex flow: convergence of velocity in space. . . . . . . . . . . . . . . . . 45 2.28 Taylor–Vortex flow: convergence of pressure in space. . . . . . . . . . . . . . . . . 45 2.29 Taylor–Vortex flow: convergence of velocity for variable time stepping scheme. . . 46 2.30 Flow around cylinder: computational mesh and zoom. . . . . . . . . . . . . . . . 48 2.31 Flow around cylinder: variation of lift and drag coefficients with time for constant time step of 0.05 sec using HDG and CG. . . . . . . . . . . . . . . . . . . . . . . 49 2.32 Flow around cylinder: velocity contours at different time instances. . . . . . . . . 50 2.33 Flow around cylinder: variation of lift and drag coefficients with time for adaptive time stepping scheme for different levels of local error for CG. . . . . . . . . . . . 51 2.34 Flow around cylinder: variation of lift and drag coefficients with time for adaptive time stepping scheme for different levels of local error for HDG. . . . . . . . . . . 52 2.35 Flow around cylinder: variation of time step with flow time for adaptive time stepping scheme for different levels of local error for CG and HDG discretizations. 52 3.1 Coupled Navier–Stokes/convection-diffusion problem: convergence plots for postprocessed velocity and post-processed temperature with HDG using triangular elements. ........................................ 60 3.2 Coupled Navier–Stokes/convection-diffusion problem: ratio of CPU times for linear solver vs. error in velocity for triangular elements. . . . . . . . . . . . . . . . 60 3.3 Coupled Navier–Stokes/convection-diffusion problem: ratio of CPU times for linear solver vs. error in temperature for triangular elements. . . . . . . . . . . . . . 61 3.4 Rayleigh–Bénard convection flow: isolines of post-processed solutions of temperature and velocity at different Ra numbers using HDG. . . . . . . . . . . . . . . . 63 3.5 Rayleigh–Bénard convection flow: distribution of post-processed temperature and velocity components at different Ra numbers using HDG. Circles correspond to reference values in Betts and Haroutunian (1983). . . . . . . . . . . . . . . . . . . 64 3.6 Domain representation: Domain discretization used to present coupled CG-HDG formulation........................................ 66 3.7 Representation of a computational mesh for coupled discretization. Green triangles represent the HDG local elemental variables while the red edges correspond to HDG trace variable. CG mesh is represented in blue and ΓIis represented in black. 68 3.8 Coupled CG(Tk)-HDG(Tk): convergence plots in Ω.................. 73 3.9 Coupled CG(Tk)-HDG(Tk): convergence plots in Ω1................. 73 3.10 Coupled CG(Tk+1)-HDG(Tk): convergence plots in Ω. ............... 74 3.11 Coupled CG(Tk+1)-HDG(Tk) for conjugate heat transfer problem: convergence plots of velocity and temperature. . . . . . . . . . . . . . . . . . . . . . . . . . . 77 3.12 Coupled CG(Tk+1)-HDG(Tk) for conjugate heat transfer problem: ratio of CPU times for linear solver vs. error in temperature for triangular elements. Ratio of CPU times = CG(Tk+1)-HDG(Tk) time/CG(Tk+1)-CG(Tk+1Tk) time. . . . . . . 77
List of Figures xvii 3.13 Coupled CG(Tk+1)-HDG(Tk) for conjugate heat transfer problem: ratio of CPU times for linear solver vs. error in temperature for triangular elements. Ratio of CPU times = CG(Tk+1)-HDG(Tk) time/HDG(Tk)-HDG(Tk) time. . . . . . . . . 79 3.14 Comparison of nnz between coupled CG(Tk+1)-HDG(Tk) and CG(Tk+1)-CG(Tk+1Tk) models. ......................................... 81 3.15 Comparison of nnz between coupled CG(Tk+1)-HDG(Tk) and HDG(Tk)-HDG(Tk) models. ......................................... 82 3.16 Conjugate heat transfer problem: geometry and prescribed boundary values of conjugate heat transfer problem domain. . . . . . . . . . . . . . . . . . . . . . . . 82 3.17 Conjugate heat transfer problem: isolines of temperature and velocity at different Ra numbers using CG-HDG model. Post-processed temperature and velocity are presented in Ω1. .................................... 83 4.1 Geometry and boundary conditions notations used for GFRP tubular cross-section All dimensions are in meters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 4.2 Thermal properties of GFRP material as a function of temperature. . . . . . . . 89 4.3 Density of GFRP material as a function of temperature. . . . . . . . . . . . . . . 90 4.4 Schematic representation of radiative exchange between surfaces of a cavity. . . 90 4.5 Nested structured meshes used in the analysis of the GFRP problem. . . . . . . . 98 4.6 Nested unstructured meshes used in the analysis of the GFRP problem. . . . . . 99 4.7 GFRP problem: Evolution of temperature and velocity in the cavity at t= 50,150,230 and 385 sec using coupled CG(Q2)-HDG(Q1) model. Post-processed solutions are shown in Ωf................................ 100 4.7 GFRP problem: Evolution of temperature and velocity in the cavity at at t= 50,150,230 and 385 sec using coupled CG(Q2)-HDG(Q1) model. Post-processed solutions are shown in Ωf.Continuation. ...................... 101 4.8 GFRP problem: variation of temperature and Nusselt numbers with time. . . . . 102 4.9 Locations of thermocouples in GFRP cross-section. . . . . . . . . . . . . . . . . . 102 4.10 GFRP problem: evolution of temperature in thermocouples and average Nusselt number with time using mesh M4 and time step used is 0.0625/23. CC and CH denotes CG-HDG and CG-CG models, respectively. . . . . . . . . . . . . . . . . . 104 4.11 GFRP problem: uncertainty in temperature in thermocouples and average Nusselt number with time using mesh M4 and time step used is 0.0625/23. CC and CH denotes CG-HDG and CG-CG models, respectively. . . . . . . . . . . . . . . . . . 106 4.12 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time with high-order elements using coupled CG(Qk+1)-HDG(Qk) model. Solid lines and dashed lines correspond to M1 and M2 meshes, respectively and time step used is 0.0625/23......................... 108 4.13 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time with high-order elements using coupled CG(Qk+1)-CG(Qk+1Qk) model. Solid lines and dashed lines correspond to M1 and M2 meshes, respectively and time step used is 0.0625/23. ........................... 109 4.14 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time using geometry with rounded corners and coupled CG(Tk+1)- HDG(Tk) model. Solid lines and dashed lines correspond to UM1 and UM2 meshes, respectively and time step used is 0.0625/23. .................... 112
xviii List of Figures 4.15 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time using geometry with rounded corners and coupled CG(Tk+1)- CG(Tk+1Qk) model. Solid lines and dashed lines correspond to UM1 and UM2 meshes, respectively and time step used is 0.0625/23................. 113 4.16 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time using mesh M4, variable time step and coupled CG(Q2)-HDG(Q1) model........................................... 114 4.17 GFRP problem: evolution temperature in thermocouples and average Nusselt number with time using mesh M4, variable time step and coupled CG(Q2)-CG(Q2Q1) model........................................... 115 4.18 GFRP problem: variation of time step with time for the considered coupled models.116 4.19 GFRP problem: variation of time step and average Nusselt number with time for the considered coupled models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 4.20 GFRP problem: experimental data of temperature in thermocouples and numerical results of coupled CG(Q2)-CG(Q2Q1) model with time using mesh M4 and time step 0.0625/23sec.................................... 118 5.1 Barcentric refinement for Scott–Vogelius elements. . . . . . . . . . . . . . . . . . 123
List of Tables 2.1 Vertices and edges/faces count in terms of number of elements, nel......... 22 2.2 Analytical expressions for ndof for HDG and CG. . . . . . . . . . . . . . . . . . . 22 2.3 Comparison of DOFs (ndof), number of non-zeros (nnz) in global stiffness matrix (A) and its factor (L) for Stokes problem with nel = 2048 triangular elements. . 24 2.4 Maximum Reynolds number for which convergence is achieved, for HDG and CG, for different degree, k. ................................. 39 2.5 Values of βµ,i,i= 1, . . . , µ and αµfor variable step BDF schemes. . . . . . . . . . 40 2.6 Upper bounds for variable step BDF3 scheme. The scheme is zero-stable if ωn+1 < R. 41 2.7 Partitioning scheme for the time interval [0,2]. ................... 44 2.8 Lift, drag coefficients and Strouhal number for Re = 100 with constant time step of0.05sec. ....................................... 50 2.9 Time step values in shedding regime for CG and HDG with adaptive time scheme. 53 2.10 Lift, drag coefficients and Strouhal number for Re = 100 with adaptive time steppingscheme. .................................... 53 3.1 Rayleigh–Bénard convection flow: stabilization parameters used in the analysis. . 61 3.2 Rayleigh–Bénard convection flow: summary of important quantities and comparison with literature values for Ra = 103−105. The velocities of HDG correspond to post-processed solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.3 Rayleigh–Bénard convection flow: summary of important quantities and comparison with literature values for Ra = 106−108. The velocities of HDG correspond to post-processed solutions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 3.4 Rayleigh–Bénard convection flow: computational details for HDG and CG for Ra = 105and h= 1/26. ................................ 65 3.5 Expressions of nnz in terms of degree of approximation, k, for the considered coupled models. Symbols nf el and ns el corresponds to number of elements in fluid and solid domains, respectively. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3.6 Conjugate heat transfer problem: summary of important quantities and comparison with literature values for Ra = 103−108..................... 84 3.7 Conjugate heat transfer problem: computational details for CG-HDG and CG-CG for Ra = 105and h= 0.025............................... 85 4.1 Positions of different thermocouples. . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.2 RMS values of errors in temperature for different thermocouples and average Nusselt number for the considered coupled models. . . . . . . . . . . . . . . . . . . . 105 4.3 Computational details for coupled CG(Q2)-CG(Q2Q1) and CG(Q2)-HDG(Q1) models for GFRP problem with mesh M4 and time step of 0.0625/23.......... 107 xix
xx List of Tables 4.4 Computational details for coupled CG(Qk+1)-HDG(Qk) and CG(Qk+1)-CG(Qk+1Qk) models for GFRP problem with mesh M1 (k= 7) and mesh M2 (k= 3) with a time step of 0.0625/23.................................. 110 4.5 Computational details for coupled CG(Tk+1)-HDG(Tk) and CG(Tk+1)-CG(Tk+1Tk) models for GFRP problem with mesh UM1 (k= 7) and mesh UM2 (k= 3) with a time step of 0.0625/23................................. 111 4.6 Number of time steps needed for reaching different time instances for considered coupledmodels...................................... 116 B.1 Total number of nodes and interior nodes in a i-dimensional entity for simplices andparallelotopes.................................... 133 B.2 Expressions of the total number of connected nodes to a global node of i-dimensional entity in CG discretization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 B.3 Expressions of the total number of connected nodes to a global node of i-dimensional entity in HDG discretization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 B.4 Expressions to deduce the ndof for coupled models considered in the work. . . . 134 B.5 Expressions for nnz(ˆu1ρ)in terms of kand number of elements, nel. ....... 135 B.6 Expressions for nnz for several blocks of unknowns for considered coupled models inthepresentwork. .................................. 135
List of Symbols Sets Cscontinuity of order s HkSobolev space of order k LpLebesgue space of order p Rdspace of real numbers of dimension d ∪set union ∩set intersection ∅empty set ∈belongs to ⊂is a subset of ∀for all Operators δ(·)variation of, virtual quantity or iterative quantity grad (·)gradient of, differential operator k(·)knorm of div (·)divergence of, differential operator J·Kjump of max(·)maximum of min(·)minimum of Operations ·dot product of vectors ⊗tensorial product of vectors General quantities Iidentity second-order tensor 0zero first-order tensor, zero column vector of arbitrary dimension Roman letters b1, b2, b3constants in adaptive time step scheme cherror constant in space cterror constant in time cpspecific heat capacity xxi
xxii List of Symbols cs pspecific heat capacity of the GFRP material cf pspecific heat capacity of the air Cllift coefficient Cddrag coefficient dnumber of spatial dimensions Ddiameter of cylinder en,1, en,2local error in time step adaption eiunit vector in orthonormal base co-ordinate system fsshedding frequency fBoussinesq body force vector Fllift force Fddrag force ¯gheat generation ggravity acceleration vector helement size haconvective heat transfer coefficient kdegree of approximation Lcharacteristic length Lvelocity gradient tensor mel number of elements in Ω1 nnumber of time steps ndnumber of observations nel number of elements in Ω nlnumber of elements in ΓR ninumber of idimensional entities nunit outward normal vector Nu average Nusselt number Numa moving average of average Nusselt number pkinematic pressure pel number of elements in Ω2 Pr Prandtl number qorder of convergence in space qheat flux vector ¯qnprescribed heat flux Qkquadrilateral element of degree k QLS least-squares functional rdistance between the points of two surfaces that exchange radiative heat flux in a 3-D space rdistance vector rhrefinement ratio Rradiosity Ra Rayleigh number Re Reynolds number
List of Symbols xxiii Rbupper bound on time step ratios ¯ sprescribed body force vector Sgeneric surface St Strouhal frequency ttime instance ¯ tprescribed traction vector Ttotal time Tktriangular element of degree k uvelocity vector u∗post-processed velocity vector ¯ uprescribed velocity vector ˆ utrace velocity vector Uexp experimental uncertainty Uinp input uncertainty Uval validation uncertainty Uφuncertainty in φ wlength of the window in moving average method xispatial co-ordinate Greek letters αthermal diffusivity αaangle of attack αµcoefficient in BDF scheme of order µ βthermal expansion coefficient/Boussinesq term βµ,i coefficient in BDF scheme of order µ γ(e)angle made by line with internal normal of element e Γunion of all edges in finite element mesh in Ω Γl,Γrhomogeneous Neumann boundaries in GFRP problem Γt,Γbconvective and radiative boundaries in GFRP problem ΓRradiosity boundary in GFRP problem Γ1union of all edges in finite element mesh in Ω1 Γ2union of all edges in finite element mesh in Ω2 ΓD 1Dirichlet boundary of Ω1 ΓD 2Dirichlet boundary of Ω2 ΓN 1Neumann boundary of Ω1 ΓN 2Neumann boundary of Ω2 δtol tolerance in adaptive time stepping scheme ∆φrange parameter for quantity φ ∆ttime step ∆θcharacteristic temperature difference ∆tadapted time step emissivity εdiscretization error
xxiv List of Symbols θtemperature in Ω θ0reference temperature ¯ θprescribed temperature θtemperature ˆ θtrace temperature κheat conductivity coefficient κ(A)condition number λconstant in Kovasznay flow λeLagrangian multiplier for element e λcolumn matrix of Lagrangian multipliers µorder of BDF scheme νviscosity ξposition vector Πhnodal interpolation ρdensity ρemean of pressure in element e ρ0density at reference state ρfdensity of fluid in GFRP problem ρsdensity of solid in GFRP problem σStefan–Boltzmann constant ˆσεstandard deviation τ,τu,τθstabilization constants φquantity of interest ψapproximation function ωn,ωn+1 time step ratios Ωdomain
1.3. Discontinuous Galerkin methods 5 (DG) methods. DG method is a class of finite element methods which uses an elementby-element discontinuous approximation and the information passes through the numerical fluxes defined on element boundary. The first DG method was originally proposed to solve the steady state neutron transport problem by Reed and Hill (1973). The first analysis of the method was presented in Lesaint and Raviart (1974) which concluded that the method has optimal convergence rate of O(hk+1)on a Cartesian grid of element size husing a local polynomial approximation of degree k. The extension of the proposed scheme to non-linear scalar conservation law was first attempted by Chavent and Salzano (1982), but the scheme severely limited the time step size to obtain a stable formulation. Since then, DG methods had been applied to many hyperbolic systems like Maxwell’s equations (Cockburn et al., 2004), equations of acoustics (Atkins and Shu, 1996), shallow water equations (Engsig-Karup et al., 2006), etc. The extension of classical DG approach to second order operators was started by Bassi and Rebay (1997) by rewriting second-order operator as two first-order equations. This lead to the introduction of Local Discontinuous Galerkin (LDG) method (Cockburn and Shu, 1998). Another class of DG methods known as Interior Penalty method (IPM) had already been introduced in Arnold (1982) involving second order operator. These developments enabled DG methods to be applied to fluid flow problems notably viscous. Even though the class of DG methods stated have properties like high-order accuracy, stability and geometric flexibility, they are often criticised for the solution of implicit problems with second order operators due to their high computational cost compared to other discretization methods. The main reasons for the increased cost are the duplication of Degrees of Freedoms (DOFs) at the element interfaces and inability to use static condensation, a numerical technique that allows to express the interior DOFs in terms of boundary DOFs of an element thereby reducing the final DOF count of the problem, especially in high-order computations. In CG method, the DOFs at the element interfaces are shared by both neighbouring elements, whereas in DG methods each element has its own DOFs at interface. Hence, DOFs are repeated at element edges in 2-D and faces in 3-D in the case of DG methods. As the computational domain increases, DG calculation costs can quickly become prohibitive. This effect can be potentially more expensive in the case of unstructured meshes. HDG methods are designed to address the main drawbacks of most of the DG methods. In HDG, the DOFs are repeated only at the vertices of the element interfaces in 2-D. Hence, HDG methods have fewer DOFs compared to other classes of DG methods. In addition to this, HDG methods are static condensation amenable. In the next section, a brief introduction to several DG methods used in context of fluid flow problems is presented. 1.3.2 Interior Penalty method The idea of penalty formulation was proposed in the context of enforcing Dirichlet boundary conditions (Nitsche, 1971) by introducing penalty terms on the boundary of the domain in order to penalize the error between true and approximate solutions. Arnold (1982) used this idea to impose the inter-element continuity by introducing consistent penalty terms. The salient feature of this formulation is that there is no need of decomposing high-order PDEs into first-order as in the case of most other DG methods that are used to discretize secondorder operators. The different variants in the method are Symmetric Interior Penalty Galerkin (SIPG), Nonsymmeteric Interior Penalty Galerkin (NIPG) and Incomplete Interior Penalty Galerkin (IIPG) methods. In SIPG, two stabilisation terms exist namely, a symmetrizing term corresponding to fluxes obtained after integration by-parts and a penalty term which imposes the weak continuity of the numerical solution. The advantage of adding the symmetrizing
6 Introduction term is the resulting linear systems are symmetric and, thus, more efficient to solve. But this formulation is stable only when the penalty parameter is above certain threshold value. On the other hand, in NIPG the symmetrizing term has the opposite sign as the flux term, thereby losing the symmetry of the formulation. Nevertheless, NIPG is stable for any value of penalty. The analysis of methods, including error bounds and choice of penalty terms, can be obtained from Riviére et al. (2001) and Georgoulis and Süli (2005). The SIPG has k+ 1 order of convergence, whereas NIPG method shows korder of convergence in L2norm when a polynomial of degree kis used to represent the solution. In spite of IPM having several positive properties, like optimal convergence and compact support, their applicability to second order operators is less popular. This is probably due to the requirement of fine tuning the penalty parameter, which depends on mesh size and degree of approximation. When a suitable penalty parameter is chosen, this approach can be competitive compared to other DG methods in terms of accuracy. 1.3.3 Local discontinuous Galerkin method Local discontinuous Galerkin (LDG) is a mixed method, where second-order operators are split into two first-order equations by introducing an auxiliary variable. Standard DG method is applied to each equation by formulating the weak from for each element and then defining the appropriate numerical fluxes. The choice of the defintion of numerical fluxes give rise to different formulations, as can be found in Arnold et al. (2000). One of the main drawbacks of the LDG method is that it introduces even more unknown variables because of the mixed formulation. Even though, the new additional unknowns can be condensed out of the system at elemental level, the stencils that arise in LDG method are larger and hence, results in less sparser matrices. LDG discretization results not only in coupling of DOFs of one element to couple with DOFs of neighbouring elements, but also to the DOFs of some elements neighbouring the immediate neighbours. The stencil is represented schematically in fig. 1.2. The LDG weak form of each element can be expressed in primal form by using the so-called lifting operators which express the auxiliary variable in term of numerical solution. The primal weak form, that is obtained after introducing the lifting operators, is analogous the IPM with additional terms. Similar to SIPG method, LDG shows optimal convergence with an order of k+ 1 in L2norm. But, unlike IPM, LDG is less sensitive to the penalty parameter and hence, it can be more robust. 1.3.4 Compact discontinuous Galerkin method Compact discontinuous Galerkin (CDG) method (Peraire and Persson, 2008) were first introduced to address the shortcomings of LDG method. CDG method has a more compact stencil compared to LDG and hence, the name compact discontinuous Galerkin method. The lifting operators are defined in such a way that the stencil becomes compact in CDG and at the same time retaining the attractive features of LDG. In addition, CDG scheme proved to be slightly more stable than LDG (Peraire and Persson, 2008). The compact formulation produces sparser matrices which in turn have low memory requirements and computational costs. However, there is a slight computational overhead in computing the lifting operators compared to LDG scheme. Even though, a priori error estimates require stabilization parameter of order O(h−1)to get optimal convergence, numerical experiments suggests optimal convergence is achieved by using the parameter of order O(1) (Peraire and Persson, 2008).
1.4. Hybridizable discontinuous Galerkin method 7 IPM LDG HDG Figure 1.2: Stencils of IPM, LDG and HDG methods for matching triangular mesh. Mesh element under consideration is highlighted in grey and the neighbours that belong to the stencil are represented with yellow. The elements in green do not belong to the stencil. In LDG, only edges of the second neighbours, represented in red, belong to the stencil. In case of HDG, red edges belong to stencil of grey edge and blue edges do not belong to the stencil. 1.4 Hybridizable discontinuous Galerkin method The DG methods discussed earlier have lot of attractive properties like stability, easy adaptivity, able to deal with discontinuities in the solution, etc. However, one major drawback that all the previously mentioned methods suffer is high number of DOFs in the final system to be solved. Moreover, numerical techniques like static condensation cannot be applied to those methods as DOFs of one element are dependent on the neighbours. Static condensation can improve the computational efficiency of the discretization scheme at high-order computations. Hence, a static condensation amenable DG discretization would address the serious limitation of other DG schemes and it can be readily parallelized. This resulted in a new class of DG scheme called Hybridizable Discontinuous Galerkin (HDG) method, which was introduced by Cockburn et al. (2009b) in the framework of second-order elliptic operator. Hybridization was introduced in finite element context by Fraejis de Veubeke (1965). Later, it was shown in Arnold (1985) that the solution of hybridized method can contain more information than the solution of non-hybridized method. Hybridization techniques were first applied in the context of DG methods by Cockburn and Gopalakrishnan (2005), which subsequently lead to development of HDG method. The principle of HDG method is to introduce a new hybrid variable, the so-called trace, on the mesh skeleton. HDG is also a mixed method, like LDG or CDG, where an unknown variable and its derivative are approximated independently. Hence, the final system of unknowns contain a numerical solution of a function, its derivative and the trace variables on mesh skeleton. However, the numerical flux on each interface is defined in such a way that it depends only on the elemental variables and the trace variables shared by the two neighbouring elements in the 2-D case. Therefore, it is possible to condense out the solution and its derivative unknowns element-by-element and express it in terms of the trace. This technique is similar to static condensation in CG method, where interior DOFs are expressed in terms of boundary DOFs inside each element. This is the most attractive feature of HDG method as the final unknowns in the system are just the trace variables, which are defined on mesh skeleton. Also, as stated earlier, the hybrid unknowns have additional information and it is possible to compute a super-convergent solution by a local element-by-element post-processing. Unlike other DG methods, HDG has the optimal rate of convergence of k+ 1 for solution and its derivatives, whereas the super-convergent solution is of k+ 2 order, when degree kis used to approximate unknown variables. However,
8 Introduction CG HDG DG (IPM, LDG) Figure 1.3: Representation of DOFs for scalar unknown in the final system in CG, DG and HDG methods. the super-convergence in the HDG formulations can only be proved in the diffusion dominated regime. Figure 1.3 shows the fundamental difference between DOFs in CG, DG (IPM, LDG) and HDG methods for the solution of implicit problems with second order operators. In this representation, interior DOFs in CG and local DOFs in HDG are condensed out and only DOFs in the final system of unknowns are represented. The DOFs are repeated at each edge per node in the case of other DG methods, whereas they are repeated only at the vertices of the elements in the case of HDG, when compared to CG counterpart. After their introduction in the context of second-order operator, HDG methods have been applied to various problems mainly in the case of fluid flow. Cockburn and Gopalakrishnan (2009) applied the HDG method to Stokes problem using the vorticity formulation. They proposed four different hybridization schemes, which differ in the global unknowns on the mesh skeleton. This work mainly deals with the mathematical analysis of different hybridization techniques and did not present any numerical results. Nguyen et al. (2010) considered the velocity, gradient of velocity and pressure as local unknowns and trace velocity and mean of pressure as global unknowns for Stokes equations. The numerical tests presented in the paper shows the optimal convergence for all unknowns and super-convergence for velocity. This paper proposed a novel implementation strategy to eliminate the mean of pressure DOFs using an augumented Lagrangian multipliers, thereby leaving only trace velocity DOFs as the global unknowns using an iterative procedure. Cockburn et al. (2010) compared different HDG formulations namely, velocity-pressure-gradient, velocity-pressure-stress and velocity-pressure- vorticity for Stokes flow. They did the numerical experiments for the different formulations considered and concluded that velocity-pressure-gradient formulation was the best approximation for the same computational complexity. Therefore, the same formulation is adopted in the present work and used throughout the thesis. They also considered an example with a singularity in the domain and found that all the formulations can only achieve at most order of convergence of 1. Nonetheless, velocity-pressure-gradient formulation produced the lower errors in the case of singularity in the problem. Cockburn et al. (2011) considered a new projection based analysis of HDG for Stokes flow and showed that projection of error in velocity super-converges. Cockburn and Shi (2014) presented a review of the recent development of devising HDG methods for Stokes flow. There have been works on variants of Stokes flow using HDG, such as Wang and Khoo (2013), who proposed HDG method with discontinuous viscosity and Gatica and Sequeira (2016), who analysed a augmented HDG method for non-linear Stokes flow. The application of HDG to Navier–Stokes flow was first reported in Peraire et al. (2010).
1.4. Hybridizable discontinuous Galerkin method 9 The report presented the HDG formulation for Euler and Navier–Stokes equations along with numerical examples. The steady state HDG formulations are extended to unsteady cases using backward Euler time integration scheme. Nguyen et al. (2011c) considered HDG for Navier–Stokes with velocity-pressure-gradient formulation for both steady and unsteady cases. They used the augmented Lagrangian solution technique developed for Stokes flow in Nguyen et al. (2010) to reduce the final unknowns to only trace velocity. Backward Differentiation Formulae (BDF) schemes were used to discretize the time derivative term in this work. Optimal convergence rates were reported for a smooth solution at low Reynolds number and super-convergence was shown for velocity using local post-processing. This paper stated four distinctive features of HDG method for Stokes/Navier–Stokes flows namely, reduced DOFs, optimal convergence, super-convergence and unified treatment of boundary conditions. Moro et al. (2011) extended the HDG scheme for Navier–Stokes to turbulence models. In their work, Spalart–Allmaras (SA) turbulence model was used to improve the convergence properties of the method. Giorgiani et al. (2014) proposed a degree adaptive algorithm for Navier–Stokes using HDG. In their work, the super-convergent solution was used as error estimator to adapt the degree of approximation in the domain. Several numerical examples in 2-D were analysed and it was concluded that the proposed algorithm could be computationally more efficient than non-adaptive solutions. The analysis of HDG for Navier–Stokes was presented in Cesmelioglu et al. (2017). It was proven in the work that by super-penalising the jump of the normal component of the velocity, H(div)conforming methods are recovered. More recent works include application of HDG to Implicit Large-Eddy Simulation (ILES) flows in Fernandez et al. (2017). They used HDG for the discretization of Navier–Stokes equations along with parallel preconditioned Newton-GMRES solver to solve the non-linear system of equations. Numerical tests with Reynolds number as high as 460,000 were presented and a rapid convergence and excellent agreement with experimental data was reported. HDG were introduced for second-order elliptic operator and they were applied to steady state convection-diffusion-reaction equation in Cockburn et al. (2009a). In the paper, they refer the method as Local Discontinuous Galerkin-Hybridizable (LDG-H). In their work, different choices of stabilization parameter and the orders of convergence were provided. They had also compared the proposed HDG method with CG, Brezzi–Douglas–Marini (BDM) (Brezzi et al., 1985) and Raviart–Thomas (RT) (Raviart and Thomas, 1977) methods in terms of convergence rates. They had concluded that a proper choice of stabilization parameter allows the HDG scheme to be very close to classical DG scheme for hyperbolic problems, which proved to be very effective in convective regimes. This work was followed by Nguyen et al. (2009b), where they approximated the flux in a different way compared to Cockburn et al. (2009a) so that method can deal with purely convective case. The method was extended to timedependent problems using BDF scheme and numerical tests were presented. It was shown that continuous normal component of flux can be recovered by post-processing the original flux. The work was extended in Nguyen et al. (2009a), where they applied HDG for non-linear unsteady convection-diffusion equation. They proposed two different flux formulations in the paper and did the numerical tests to show the optimal convergence rates. An analysis of HDG for convection dominated-diffusion equation was presented in Fu et al. (2015b). A priori analysis showed that HDG has order of convergence of k+ 1/2on general meshes and order of k+ 1 for the meshes that are aligned in the direction of convection velocity. Nonetheless, numerical experiments confirmed that the optimal convergence of k+ 1 was obtained even on general meshes in convection-dominated regime. However, the property of super-convergence was lost. They proposed a novel technique to scale the linear system to obtain the spectral condition number independent of the diffusion coefficient. They noticed that the condition
10 Introduction number can be of order O(κ−1), where κis diffusion coefficient and with the proposed scaling, they improved the condition number to O(h−1), where his the size of the element. Qiu and Shi (2016) proposed a variant of HDG for convection-diffusion equation where polynomials of degree k+ 1 and kwere used to approximate scalar variable and its gradient respectively, where degree kwas used to approximate the numerical trace. It was proved that solution of scalar variable converges with order of k+ 2 in L2norm and this solution was proposed as super-convergent solution as it was two orders higher than the degree of approximation of numerical trace. Other recent works include Cockburn and Mustapha (2015), which applied HDG to fractional diffusion problems and presented the theoretical convergence rates and Wang et al. (2016), who proposed HDG to fractional convection-diffusion equation. Soon et al. (2009) applied HDG to linear elasticity problems and an analysis of the method was provided in Fu et al. (2015a). They concluded that by using too big stabilization parameter thus, forcing the jump between displacements to be very small, HDG tends to behave as CG method. They also studied the HDG formulation for nearly incompressible elastic materials. They had made the study with a mesh that exhibit locking with CG method and concluded that HDG does not exhibit locking behaviour. It was also stated that optimal convergence was attained at nearly incompressible limit. An example with presence of crack was also provided in their work to demonstrate the HDG ability to handle discontinuities in the solution and its superior stability properties compared to CG method. Celiker et al. (2010) proposed HDG for Timoshenko beams and showed the optimal convergence properties using numerical experiments. Nguyen et al. (2011a) used HDG formulation for acoustics and Nguyen et al. (2011b) applied it for time harmonic Maxwell’s equations. Cesmelioglu et al. (2013) presented the analysis of HDG method for Oseen (linearised Navier–Stokes) equations. Nguyen and Peraire (2012) provided a brief review of application of HDG method in both fluid and solid mechanics and the related numerical examples. A strategy for solving free surface flows using HDG was introduced in Gürkan et al. (2016) using the philosophy of extended finite element methods. Later it was extended to bi-material problems along with Heaviside enrichment in Gürkan et al. (2017). Even though HDG has been successfully applied to different kind of problems, their computational efficiency compared to CG and other discretization techniques is only studied in the context of Laplace equation. There had been a few studies about the efficiency of HDG methods in the past. Most notably, Kirby et al. (2012) made a comparative study between HDG and CG for second-order elliptic operator in 2-D. They reported the comparative CPU times for linear solver in case of HDG and CG for the degree of approximation till 14. They had concluded that HDG could be as efficient as CG when degree of five or more was used in the approximation. Later, Yakovlev et al. (2016) extended the study to 3-D case, where they made the comparative study between HDG and CG for both direct and iterative solvers. In most of their comparison studies, they considered HDG with degree of approximation kand CG with degree k+ 1. This is because of the fact that HDG can produce superconvergent solution of order k+ 2, which can be compared to the CG solution. They found out that HDG can outperform CG using direct solver for degree higher than 3in case of hexahedral meshes and 5in case of tetrahedral meshes. In the case of iterative solver, they concluded that HDG was not as efficient as CG and also HDG takes more iterations than CG for obtaining a convergent solution. Moreover, HDG showed better scalability in the case of parallel implementation because of the simplified communication patterns in HDG. In this work, the authors also pointed out the need to develop better pre-conditioners for solving linear systems that arise in HDG. Cockburn et al. (2009a) compared HDG and CG methods for convection-diffusion-reaction problem and concluded that HDG of degree kwas
1.5. Coupling of DG and CG methods 11 as efficient as CG of degree k+ 1. The work also includes the comparison in terms of L2 norm of error in scalar variable and computational complexity which is measure in terms of number of non-zeros (nnz) in the stiffness matrix. A comparison of space-time HDG method with space-time DG method was made in Rhebergen et al. (2013) and concluded that both approaches perform equally well but reiterated that super-convergent property of HDG can be further exploited. A scalability study of HDG in compressible flows was made in Roca et al. (2013) and concluded that GMRES with restart pre-conditioning presents the best weak scaling. A theoretical floating point operations (FLOPS) count for CG, CDG and HDG for second order elliptic problem was presented in Huerta et al. (2013). It was concluded that post-processed solution of HDG was as efficient as CG when the operation count, for a given level of accuracy, is considered. A comparison between CG, CDG and HDG for wave problems can be found at Giorgiani et al. (2013), where they presented the results of computational efficiency for a given level of accuracy. They stated that HDG exhibit similar performance compared to CG for a given level of accuracy. There have been works on the variants of HDG namely, Embedded Discontinuous Galerkin (EDG) (Güzey et al., 2007) and Multi-scale Discontinuous Galerkin (MDG) (Hughes et al., 2006) methods. These methods have the same number of DOFs as in the case of statically condensed CG system for the same degree of approximation and hence, can be more efficient than HDG methods. But they do not have the super-convergence property which has been one of the stand-out features of HDG method. Owing to the numerous favourable features of the HDG methods, their application to multi-physics problems is the next logical step after they had been applied to lot of different benchmark problems in both fluid and solid mechanics. Recently, Sheldon et al. (2016) proposed a HDG method for modeling fluid-structure interaction (FSI) problems. In their work, HDG formulations for linear and non-linear elastodynamic model and arbitrary Lagrangian- Eulerian Navier–Stokes were derived. A fully coupled monolithic FSI scheme was established in the framework of HDG. Several benchmark examples were solved and concluded that their proposed FSI formulation is well within the results of benchmark results. Prada (2016) applied HDG in the context of non-linear porous media visco-elastic problems applied to ophthalmology. In his work, he solved the equations of viscous fluid coupled with visco-elastic solid and solved resulting the non-linear equations using the fixed point iteration scheme. The work highlighted the fact that the dual variables converge at the same rate as primal variables in HDG which is particularly interesting in their application as dual variables (stresses and discharge velocity) is of engineering importance. The problem of locking is also suppressed using HDG which is common in numerical simulations of poro-elasticity using CG methods. In both the works stated above, HDG was used to discretize all the equations governing the multi-physics problem. This is due to the limitations of discretization techniques like CG in presence of strong discontinuities, locking, etc. 1.5 Coupling of DG and CG methods The coupling of CG and DG methods were first presented by Alotto et al. (2001) in the simulation of rotating electrical machines. Later, Perugia and Schötzau (2001) developed the analysis of the coupling for the case of second-order elliptic problems. Both the works were motivated by the ability of DG methods to handle the hanging nodes on non-matching interfaces. Later, the coupling of LDG and CG methods was proposed by Dawson and Proft (2002a) for transport problems. Their motivation was to discretize the part of solution with presence of high gradients with LDG and the smoother part of solution with CG. They demonstrated the advantages of coupling with numerical examples and reported optimal convergence
12 Introduction rates for 1-D problems. Devloo et al. (2007) used the formulation presented in Baumann and Oden (1999) for the DG part of solution. Their work considers Streamline Upwind Petrov Galerkin (SUPG) stabilization for convective term of DG discretization and concluded that it enhances the quality of solution. Coupling of CG and DG methods were also proposed in the context of shallow water equations (SWE) in different variants by Dawson and Proft (2002b, 2003, 2004), Blain and Massey (2005). In those works, DG and CG methods were applied on different governing equations in all the domain. For instance, in the work of Dawson and Proft (2002b), NIPG method was used to discretize the hyperbolic continuity equations of SWE while CG method was used for the momentum equation. A coupled LDG and CG model was studied by Zhu et al. (2011b) for 1-D convection-diffusion equation and later extended the model to pertubated problems of convection-diffusion type in Zhu et al. (2011a) and Zarin (2009). A coupled formulation of mixed finite element method with DG was proposed by Guo et al. (2014) to study the miscible displacement problem in porous media. Liu et al. (2009) proposed a coupled continuous-discontinuous Galerkin framework to enhance the applicability and efficiency of DG method to solve large-scale poroelasticity problems. A study on stability of CG-DG Galerkin methods for advection-diffusion-reaction problems was presented in Cangiani et al. (2013). In their work, a different coupling strategy without using transmission conditions on interface boundary was proposed. Also, in their earlier work, Cangiani et al. (2006) compared the coupled DG-CG model for convection-diffusion equation with DG and stabilised CG methods. As far as the knowledge of the author is concerned, coupled CG-HDG scheme has not been proposed yet in any framework and it is developed in this work in Chapter 3. 1.6 Composites thermal models The thermal models proposed in literature mainly differs in the type of process being modelled. One of the first models was proposed in Henderson et al. (1985), where the thermochemical models developed for wood were applied for composite laminates. Several other works were presented in Florio et al. (1991), Miller and Weaver (2003), Miano and Gibson (2009). A finite element model was presented in Sullivan and Salamon (1992a,b) to simulate the thermochemical decomposition of polymeric material. The thermochemical response was used to perform the mechanical analysis and the model was validated with experimental data. A transient non-linear finite element model was presented in Looyeh and Bettess (1998) by considering the temperature-dependent thermal properties of GFRP and different mixed boundary conditions. A similar thermochemical study was made using finite element simulation by Keller et al. (2006) for liquid-cooled and non-cooled slab components. In their work, the authors mentioned that it was important to consider the natural convection of air and internal radiation in enclosed spaces of composite sections. Recently, López (2017) did a coupled multi-physics finite element simulation of GFRP tubular cross section considering natural convection of air and internal radiation inside the enclosed cavity. In that thesis, the author states that natural convection of the air can be a bottleneck in the solution process. 1.7 Notation Most of the algebra presented in this text is expressed in symbolic (also frequently referred to as direct, intrinsic or absolute) notation (Holzapfel, 2000). The usual matrix and indicial notation are sometimes employed in specific cases.
1.8. Finite element spaces 13 Throughout the text italic Latin or Greek lowercase letters (a, b, . . . α, β, . . .) denote scalar quantities, bold italic Latin or Greek lowercase letters (a,b, . . . α,β, . . .) denote vectors and bold italic Latin or Greek capital letters (A,B, . . .) denote second-order tensors in a ddimensional Euclidean space. Rectangular and single-column matrices built of tensor components on orthogonal frames are expressed by boldface upright Latin or Greek letters (A,B, . . . a,b. . . ρ,λ. . .). The scalar products used in the present paper are (·,·)Dand h·,·iB, which represents the L2scalar product in any domain, D, and over any boundary, B, respectively. Let wand zbe generic vector and scalar fields, respectively, defined over Ω. Their error norms are computed as follows, ||ew||L2(Ω) =ZΩ (wex −wnum)·(wex −wnum) dΩ1/2 , ||ez||L2(Ω) =ZΩ (zex −znum)2dΩ1/2 , (1.1) where suffixes ex and num stand for exact and numerical values. Throughout this thesis, triangular and quadrilateral elements are designated by Tkand Qk, respectively, where kis the degree of approximation. 1.8 Finite element spaces The finite element spaces used in the present work are defined in this section. All the problems considered are two-dimensional. If Ωand Γare generic domain and boundary, respectively, different finite element spaces are defined as follows, Vh k(Ω) := v∈ L2(Ω) : v|Ωe∈ Pk(Ωe),∀Ωe⊂Ω, Λh k(Γ) := ˆv∈ L2(Γ) : ˆv|Γi∈ Sk(Γi),∀Γi⊂Γ, Wh k(Ω) := w∈ H1(Ω) : w|Ωe∈ Pk(Ωe),∀Ωe⊂Ω, Σh k(Γ) := z∈ L2(Γ) : z|Γi∈ Sk(Γi),∀Γi⊂Γ, (1.2) where subscript kdenotes the degree of polynomial and Pkis the space of polynomials of degree less than or equal to k. For instance, Wh k+1(Ω) spans the polynomials of degree less than or equal to k+ 1. The standard segment, Sk, triangular, Tk, and quadrilateral, Qk regions are defined as, Sk(Γi) := sp; 0 ≤p≤k; (x1(s), x2(s)) ∈Γi;−1≤s≤1, Tk(Ωe) := ξp 1ξq 2; 0 ≤p+q≤k; (x1(ξ1, ξ2), x2(ξ1, ξ2)) ∈Ωe;−1≤ξ1, ξ2, ξ1+ξ2≤0, Qk(Ωe) := ξp 1ξq 2; 0 ≤p, q ≤k; (x1(ξ1, ξ2), x2(ξ1, ξ2)) ∈Ωe;−1≤ξ1, ξ2≤1. (1.3) Depending on the type of elements used, Pkspace in (1.2) is computed in one of the standard elements, i.e.,Tkor Qkdefined in (1.3).
14
2.4. Implementation details 21 nodes of the element. In the case of HDG, all the local DOFs are approximated independently inside each element, consequently, they can be expressed in terms of global DOFs. Let δxmand δxsbe the incremental master and slave DOFs in a linearised system. In the case of CG, master and slave DOFs correspond to boundary and interior DOFs respectively, while in HDG, they represent local and global DOFs, respectively. A typical linearised system of equations can be written in the form, "Amm Ams Asm Ass #(δxm δxs)=−(rm rs).(2.17) The matrix Ass is block diagonal and its inverse is well defined. Hence, δxscan be expressed in terms of δxmin an element-by-element fashion as, δx(e) s=h−A(e) ss i−1A(e) smδxm−hA(e) ss i−1r(e) s.(2.18) Note that (e)represents the elemental matrices. Replacing δxsfrom equation (2.18) into the first of the (2.17) equations and assembling into the global system results in the following, Amm −AmsA−1 ss Asmδxm=−rm+AmsA−1 ss rs.(2.19) As the matrices are condensed on elemental basis, the computational overhead is negligible. In the case of a problem with very high DOF count, this numerical technique can save significant CPU time in solving the system of equations, especially for high degree approximations. 2.4 Implementation details In all the results presented in the current work the shape functions that are used to approximate the variables inside each element are generated using Fekete nodal distributions (Taylor et al., 2000) for triangular elements and Gauss–Lobatto points (Abramowitz, 1974, p. 888) in the case of quadrilateral elements. The shape functions are computed using Jacobi polynomials (Hesthaven and Warburton, 2002, 2007). All the meshes are generated using EZ4U (Sarrate and Huerta, 2000, 2002, LaCaN, 2016), which is a high order mesh generator, and Gmsh (Geuzaine and Remacle, 2009) is used to post process the results. The non-linear system of equations is solved using full Newton–Raphson method. Relative incremental and residual norms are used as convergence criteria with a tolerance of 10−12. An in-house code is implemented in FORTRAN. Only direct solvers are used in the present work. Harwell Subroutine Library (HSL) (HSL, 2016) routines MA57d and MA41d (Arioli et al., 1989) are used for solving symmetric and unsymmetric systems, respectively. Both solvers use Approximate Minimum Degree (AMD) (Amestoy et al., 1996) reordering algorithm to reorder the linear system of equations. MC75d (William, 1984) is used to estimate the condition number of the tangent stiffness matrices, κ(A). All tests were performed on machine equipped with 24 Intel(R) Xeon(R) E5-2620 v2 2.10- 2.60 GHz processors and 64 GB of RAM running OpenSUSE 13.1 (x86_64) using a serial implementation. The code was compiled using gfortran 4.8.1.
22 Comparison of HDG and CG methods for incompressible Navier–Stokes equations Table 2.1: Vertices and edges/faces count in terms of number of elements, nel. Mesh Type Vertices (n0) Edges (n1)/Faces (n2) Triangular nel 2 3nel 2 Quadrilateral nel 2nel Tetrahedral nel 6 7nel 6 Hexahedral nel 3nel Table 2.2: Analytical expressions for ndof for HDG and CG. Method 2D Triangular Quadrilateral HDG(Tk/Qk)(3k+ 4) nel (4k+ 5) nel CG(TkTk−1/QkQk−1)9k−9 2nel (6k−5) nel 3D Tetrahedral Hexahedral HDG(Tk/Qk)3k2+ 9k+ 7nel 9k2+ 18k+ 10nel CG(TkTk−1/QkQk−1)4k2−28k 3+41 6nel 12k2−18k+ 10nel 2.5 Count of DOFs A theoretical count of the approximate number of DOFs (ndof), for both HDG (Tkor Qk) and CG (TkTk−1or QkQk−1), is presented. The hypothesis for developing the expressions are provided in the appendix of Huerta et al. (2013). The main assumptions of the analysis are structured uniform mesh and very large number of elements, i.e., number of boundary faces are negligible compared to the interior ones. Using the stated hypothesis, the approximate number of vertices (n0) and edges (n1)/faces (n2) can be expressed in terms of the number of elements that are provided in table 2.1. The detailed explanation on deducing ndof count for HDG and CG is presented in Appendix B. The final expressions for ndof are provided in table 2.2. Figure 2.2 shows the ratio of ndof of HDG to CG against the degree of approximation, k, in 2D and 3D spaces. In both cases only, ndof after static condensation are taken into account. It is evident from the fig. 2.2a that HDG has less ndof than CG for both triangular and quadrilateral elements when k > 5in the case of 2D. This is due to the fact that, even though HDG has more ndof for velocity, the pressure ndof are condensed to a single scalar
2.5. Count of DOFs 23 2 4 6 8 10 12 0.5 1 1.5 2 2.5 k ndof HDG/ndof CG Triangular Quadrilateral (a) 2D. 2 4 6 8 10 12 1 2 3 4 5 6 k ndof HDG/ndof CG Tetrahedral Hexahedral (b) 3D. Figure 2.2: Comparison of ndof between HDG (Tk/Qk) and CG (TkTk−1/QkQk−1). unknown per element, while in CG only interior pressure ndof can be condensed out. Hence, at high-degree approximations, HDG tends to have lesser ndof than CG. On the other hand, for 3D, HDG has less ndof than CG only for very high degrees: k= 12 for hexahedral and k= 19 for tetrahedral meshes of elements. In this case, both types of elements have more nodes along the edges than vertices in the corresponding 2D case, hence more velocity ndof are repeated in HDG. However, the post-processed solution of HDG (Tk−1/Qk−1) with degree k−1has the same order of convergence as CG (TkTk−1/QkQk−1) solution of degree kfor velocity. Accordingly, a plot is presented in fig. 2.3, comparing the ratio of number of ndof of HDG (Tk−1/Qk−1) to CG (TkTk−1/QkQk−1). The ratio favours HDG when k > 4in the case of 2D and, in the case of 3D, k > 6and k > 12 for hexahedral and tetrahedral elements, respectively. Table 2.3 shows the various quantities of interest regarding the linear system of equations for Stokes problem. The number of DOFs of the system is denoted by ndof and number of nonzeros of the global stiffness matrix matrix and its factor by nnz(A) and nnz(L), respectively. Since, Stokes problems leads to a symmetric matrix, only lower triangular part of the matrix is stored. All the numbers are provided only for free DOFs excluding DOFs corresponding to Dirichlet boundary. From the table, it can be verified that the number of DOFs of HDG is less than CG for k > 5, as deduced from theoretical count in fig. 2.2a. Nevertheless, the number of non-zeros in the global matrix and its factor are very similar for k= 4 and perhaps, HDG system leads to fewer entries from k≥5. At higher degrees the entries in the factors of CG systems are almost 1.5times more than HDG systems. This can favour the HDG systems when using the direct solvers. It is also worth noting that HDG matrices have a regular block sparsity pattern that is beneficial for the linear solver (Kirby et al., 2012) for the Laplace equation. Consider a mesh with triangular elements: each face has contributions from 4 other faces, as shown in fig. 2.1b. Hence, each row in the final system of HDG has 5 blocks of equal size for velocity DOFs. In
24 Comparison of HDG and CG methods for incompressible Navier–Stokes equations 2 4 6 8 10 12 0.5 1 1.5 2 2.5 k ndof HDG/ndof CG Triangular Quadrilateral (a) 2D. 2 4 6 8 10 12 1 2 3 4 5 6 k ndof HDG/ndof CG Tetrahedral Hexahedral (b) 3D. Figure 2.3: Comparison of ndof between HDG (Tk−1/Qk−1) and CG (TkTk−1/QkQk−1). Table 2.3: Comparison of DOFs (ndof), number of non-zeros (nnz) in global stiffness matrix (A) and its factor (L) for Stokes problem with nel = 2048 triangular elements. kCG(TkTk−1) HDG(Tk)kCG(TkTk−1) HDG(Tk) ndof 2 9 029 20 095 6 45 634 44 159 nnz(A) 69 641 313 267 2 007 486 1 556 131 nnz(L) 133 866 1 484 136 9 389 209 7 225 163 ndof 3 18 178 26 111 7 54 786 50 175 nnz(A) 400 191 535 279 2 812 691 2 014 687 nnz(L) 1 955 880 2 437 997 12 741 010 9 000 060 ndof 4 27 320 32 127 8 65 938 56 191 nnz(A) 801 236 816 427 3 752 616 2 532 379 nnz(L) 3 755 471 3 751 615 17 006 063 11 344 166 ndof 5 36 482 38 143 9 73 090 62 207 nnz(A) 1 337 001 1 156 711 7 827 261 3 109 207 nnz(L) 6 276 872 5 347 337 21 918 136 13 959 296
2.6. Comparison of computational efficiency 25 0 50 100 150 200 250 300 350 400 450 500 0 50 100 150 200 250 300 350 400 450 500 nz = 1830 100 200 300 400 500 100 200 300 400 500 (a) Sparsity pattern of HDG, ndof = 511, nnz =1830. 0 50 100 150 200 250 300 350 400 450 500 0 50 100 150 200 250 300 350 400 450 500 nz = 3580 100 200 300 400 500 100 200 300 400 500 (b) Sparsity pattern of CG, ndof = 530, nnz =3580. Figure 2.4: Sparsity pattern of HDG (Tk) and CG (TkTk−1) matrices for k= 5 and h= 1/2. Variable nnz represents number of non-zeros. fig. 2.4, the sparsity pattern of matrices of HDG and CG are shown for a regular mesh with 32 triangular elements. The blue fill corresponds to velocity-velocity, the black fill corresponds to pressure-pressure, in the case of CG. The red fill denotes velocity-pressure, in the case of CG, and velocity-mean pressure, in the case of HDG. 2.6 Comparison of computational efficiency 2.6.1 Kovasznay flow The benchmark problem Kovasznay flow is considered for the comparison of CG and HDG for the solution of Stokes and Navier–Stokes problems. Kovasznay flow is an analytical solution of Navier–Stokes equations in a domain [0,2] ×[−0.5,1.5] (Kovasznay, 1948). u="1−exp(λx1) cos(2πx2) λ 2πexp(λx1) sin(2πx2)#, p=−1 2exp(2λx1) + C, (2.20) where λ=Re 2−qRe2 4+ 4π2and Re =1 νis the Reynolds number. The analytical velocity and pressure are shown in fig. 2.5. Dirichlet boundary conditions are prescribed for the velocity on all the boundary. In the case of Stokes problem, a body force equal to the convective term, div (u⊗u), is set using the exact solution at Re = 20. Meshes are obtained by splitting a regular n×nCartesian grid into either 2n2triangles or n2quadrilaterals, which gives an uniform element size, h= 2/n. All the results are presented considering the stability parameter τu= 1 on all faces of each element. In this section, results are presented for the Stokes problem, and just commented for the Navier–Stokes case.
26 Comparison of HDG and CG methods for incompressible Navier–Stokes equations 0 0.511.5 2 −0.5 0 0.5 1 1.5 x1 x2 0 0.511.5 2 (a) Velocity. 0 0.511.5 2 −0.5 0 0.5 1 1.5 x1 −0.5−0.4−0.3−0.2−0.1 (b) Pressure. Figure 2.5: Kovasznay flow: analytical solution. Convergence The L2norm of the error in the post-processed velocity of HDG is compared to the L2norm of error in velocity of CG. Similarly, the L2norm of the error in pressure is also compared between HDG and CG. Figure 2.6 shows the convergence plots, for triangular elements, of velocity for HDG and CG, while fig. 2.7 has the convergence results of pressure. In HDG, both velocity and pressure are approximated with the same degree of approximation, k, while in the case of CG, degree kis used for velocity and k−1for pressure. The HDG post-processed velocity converges with order k+ 2, compared to k+ 1 for CG. Similarly, HDG has k+ 1 rate for pressure compared to the rate of kfor pressure of CG. Although not presented, optimal theoretical convergence with similar accuracy is observed for Navier–Stokes problem in both HDG and CG. CPU time for linear solver CPU times for linear solver (in seconds) are presented, for both HDG and CG, to compare their computational efficiency. The time taken for pre-processing, computation and assembly of matrices and post-processing is highly implementation-dependent and hence, not taken into account. The errors considered for comparison are the L2norm of error in post-processed velocity in the case of HDG, with degree kfor all variables, and the L2norm of error in velocity of CG, with degree kfor velocity and k−1for pressure. The results are divided into two groups, namely, low-degree, from 2 to 5, and high-degree, from 6 to 9. The element sizes, h, used for the low-degree results, are 2/{23,24,25,26}, while
2.6. Comparison of computational efficiency 27 −1.5−1−0.5 0 −10 −5 0 3.6 3.7 3.8 3.9 4.4 4.8 4.9 4.9 5.6 5.8 5.9 6.8 6.8 6.9 7.5 7.9 8.9 9.6 11 log(h) log(keu∗kL2) T2T3T4T5 T6T7T8T9 (a) HDG: u∗. −1.5−1−0.5 0 −10 −5 0 3.3 3 3 3 3.6 4 4 4 5 5 5 5 6 6 6 6.8 7 8.2 8.8 10 log(h) log(keukL2) T2T1T3T2T4T3T5T4 T6T5T7T6T8T7T9T8 (b) CG: u. Figure 2.6: Kovasznay flow: convergence of velocity. −1.5−1−0.5 0 −10 −5 0 2.9 3.2 3 3.1 3.9 3.9 3.9 4.1 4.7 5 5 6 5.9 5.9 6.7 6.9 8 8.8 9.1 log(h) log(kepkL2) T2T3T4T5 T6T7T8T9 (a) HDG: p. −1.5−1−0.5 0 −10 −5 0 -0.87 1.6 1.9 2 2.5 2.9 3 3 5.1 2.4 3.6 3.8 4.8 5.3 5.3 7.6 4.1 6.5 12 8.2 log(h) log(kepkL2) T2T1T3T2T4T3T5T4 T6T5T7T6T8T7T9T8 (b) CG: p. Figure 2.7: Kovasznay flow: convergence of pressure.
28 Comparison of HDG and CG methods for incompressible Navier–Stokes equations −3−2−1 0 1 −12 −10 −8 −6 −4 −2 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log(Solver CPU Time) log(keu∗kL2) T2T3T4T5 (a) k= 2-5. −3−2−1 0 1 −12 −10 −8 −6 −4 −2 h= 1 h= 0.5 h= 0.25 log(Solver CPU Time) log(keu∗kL2) T6T7T8T9 (b) k= 6-9. Figure 2.8: Kovasznay flow: error for HDG vs. CPU time for linear solver with triangular elements. coarser meshes, with element sizes 2/{21,22,23}, are used in high-degree computations, to keep error within acceptable bounds. Figures 2.8 and 2.9 show the CPU time taken by the linear solver for various degrees of approximation, for both HDG and CG, in the case of Stokes problem with triangular elements. A common trend can be observed from the plots: to achieve the same level of accuracy, it is more computationally efficient to use a high-degree coarser mesh than a low-degree finer mesh. This may be due to the fact that the data dependencies in a high-degree mesh between elements are lesser than in a low-degree mesh (Yakovlev et al., 2016). A similar trend is observed in the case of Navier–Stokes results and for quadrilateral elements, hence, the plots are omitted. Figure 2.10 presents a similar plot for a given mesh, with element size h= 1/25for k= 2 −5, and with h= 1/22for k= 6 −9, comparing the efficiency of HDG and CG in a single plot. Asterisk (∗) on HDG denotes the post-processed solution for velocity. For a given level of error, HDG always outperforms CG at all the degrees of approximation presented, and the performance gap between CG and HDG increases with increasing degree of approximation. A similar trend in results is obtained for Navier–Stokes problem, but with a greater difference in the CPU times between HDG and CG at k= 5. Figures 2.11 and 2.12 show the ratio of CPU times of HDG to CG, for triangular elements and quadrilateral elements, respectively. As previously, low-degree plots consider hbetween 0.25 and 0.03125, while high-degree plots have hbetween 0.5and 0.25, to keep errors larger than machine precision. The results of high-degree meshes with h= 1 are omitted because their CPU times are too small to be reliable. It can be observed from these plots that, for degree k≥4, most of the points lie below the ratio of 1, indicating that HDG takes lesser CPU time for linear solver. In the case of high-degree, the CPU times are in the order of 1 second and hence, the ratios are more fluctuating compared to low-degree plots, where CPU times are bigger and ratios are more reproducible and stable. Nevertheless, the ratios stay
2.6. Comparison of computational efficiency 29 −3−2−1 0 1 −12 −10 −8 −6 −4 −2 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log(Solver CPU Time) log(keukL2) T2T1T3T2T4T3T5T4 (a) k= 2-5. −3−2−1 0 1 −12 −10 −8 −6 −4 −2 h= 1 h= 0.5 h= 0.25 log(Solver CPU Time) log(keukL2) T6T5T7T6T8T7T9T8 (b) k= 6-9. Figure 2.9: Kovasznay flow: error for CG vs. CPU time for linear solver with triangular elements. 0 5 10 15 20 −12 −10 −8 −6 −4 k= 2 k= 3 k= 4 k= 5 log(keukL2) Solver CPU Time(sec) log(keu∗kL2) Triangular(HDG∗) Triangular(CG) Quadrilateral(HDG∗) Quadrilateral(CG) (a) h= 0.03125. 2·10−26·10−20.1 0.14 0.18 −12 −10 −8 −6 −4 k= 6 k= 7 k= 8 k= 9 log(keukL2) Solver CPU Time(sec) log(keu∗kL2) Triangular(HDG∗) Triangular(CG) Quadrilateral(HDG∗) Quadrilateral(CG) (b) h= 0.25. Figure 2.10: Kovasznay flow: comparison of error between HDG and CG vs. CPU time for linear solver.
30 Comparison of HDG and CG methods for incompressible Navier–Stokes equations −1.5−1−0.5 0 0 0.5 1 1.5 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log(h) HDG(Tk) Time/CG(TkTk−1) Time k= 3 k= 4 k= 5 (a) k= 3-5. −1.5−1−0.5 0 0 0.5 1 1.5 h= 0.5 h= 0.25 log(h) HDG(Tk) Time/CG(TkTk−1) Time k= 6 k= 7 k= 8 k= 9 (b) k= 6-9. Figure 2.11: Kovasznay flow: ratio of CPU times for linear solver vs. element size for triangular elements. −1.5−1−0.5 0 0 0.5 1 1.5 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log(h) HDG(Qk) Time/CG(QkQk−1) Time k= 3 k= 4 k= 5 (a) k= 3-5. −1.5−1−0.5 0 0 0.5 1 1.5 h= 0.5 h= 0.25 log(h) HDG(Qk) Time/CG(QkQk−1) Time k= 6 k= 7 k= 8 k= 9 (b) k= 6-9. Figure 2.12: Kovasznay flow: ratio of CPU times for linear solver vs. element size for quadrilateral elements.
2.7. Comparison of stability in the presence of sharp fronts 37 ZX Velocity_Magnitude 1.13129940.565649684.3647687e-10 Y 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 x2 0 0.2 0.4 0.6 0.8 1 (a) Post-processed HDG solution of Navier–Stokes. ZX Velocity_Magnitude 1.12815540.564077721.1907176e-22 Y 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 0 0.2 0.4 0.6 0.8 1 (b) CG solution of Oseen. Figure 2.21: Stability study: isolines of the modulus of the velocity field at Re = 2 000 and k= 3. while HDG does not present any instabilities. Figure 2.22 shows the isolines of the modulus of the velocity field for Re = 11 100 and degree k= 3. In the case of HDG, the solution of the Navier-Stokes equations is presented, for τu= 350, whereas, the solution the Oseen equations is shown in the case of CG. The CG solution for the Oseen equations draws the similar conclusion as the previous example: the numerical instabilities pollute the solution in the whole domain, precluding convergence of the non-linear solver for the Navier–Stokes equations. In fig. 2.23, the relative residual norm vs. the iteration number is presented for both cases, showing that non-linear solver does not converge for CG, whereas in HDG case it exhibits the typical quadratic convergence in the asymptotic limit. The maximum Reynolds number that can be reached for different degree, k, in the case of HDG and CG, is presented in table 2.4, showing that HDG is more stable than CG for the same degree of approximation and mesh. The stabilization parameter, τu, has a considerable influence on the stability of the method. However, for Re > 11 100, increasing τufurther does not improve the stability properties of the HDG and no convergence is obtained for this mesh and degree k= 3.
38 Comparison of HDG and CG methods for incompressible Navier–Stokes equations ZX Velocity_Magnitude 1.73921840.869609181.4442551e-11 Y 0 0.20.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 x2 0 0.511.5 (a) Post-processed HDG solution of Navier–Stokes. ZX Velocity_Magnitude 2.00657021.00328511.0808182e-22 Y 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 0 0.511.5 2 (b) CG solution of Oseen. Figure 2.22: Stability study: isolines of the modulus of the velocity field for Re = 11 100 and k= 3. 5 10 15 20 10−15 10−9 10−3 103 109 Iteration number Relative residual norm CG HDG Tolerance (a) Re = 2 000. 5 10 15 20 10−15 10−9 10−3 103 109 Iteration number CG HDG Tolerance (b) Re = 11 100. Figure 2.23: Stability study: relative residual norm vs. iteration number.
2.8. Time discretization using Backward Differentiation Formulae (BDF) 39 Table 2.4: Maximum Reynolds number for which convergence is achieved, for HDG and CG, for different degree, k. Method Degree k= 3 k= 5 CG Re = 1 870 Re = 8 300 HDG τu 1Re = 2 250 Re = 2 450 100 Re = 8 000 Re = 9 100 350 Re = 11 100 Re = 15 400 2.8 Time discretization using Backward Differentiation Formulae (BDF) 2.8.1 Unsteady incompressible Navier–Stokes equations The unsteady incompressible Navier–Stokes equations can be written as follows, ∂u ∂t + div (u⊗u)−div (−pI+νgrad u) = ¯ sin Ω×(0, T], div u= 0 in Ω×(0, T], u=¯ uon ∂ΩD×(0, T], (−pI+νgrad u)n=¯ ton ∂ΩN×(0, T], u=u0in Ω×{t= 0}, (2.23) where u0is the initial velocity field in the domain and Tis the total time considered. The transient term is discretized using Backward Differentiation Formulae (BDF) schemes that belongs to the family of multi-step linear methods. They are discussed briefly in the following sections. 2.8.2 Backward Differentiation Formulae (BDF) schemes The time derivative term can be discretized using BDF schemes (Gear, 1971, Brenan et al., 1995) as follows, ∂u ∂t ≈αµun+1 −un,BDFµ ∆t,(2.24) where ∆tis the time step, un+1 is the velocity at the time instant tn+1. The constant αµ and the term un,BDFµdepends on the order µof the BDF scheme. In the present work, BDF schemes of order 1, 2 and 3 are used. The parameters in equation (2.24) are defined as follows, un,BDFµ= unif n≥0for µ= 1 (BDF1), 2un−1 2un−1if n≥1for µ= 2 (BDF2), 3un−3 2un−1+1 3un−2if n≥2for µ= 3 (BDF3), (2.25)
40 Comparison of HDG and CG methods for incompressible Navier–Stokes equations Table 2.5: Values of βµ,i,i= 1, . . . , µ and αµfor variable step BDF schemes. µ= 1 µ= 2 µ= 3 αµ12ωn+1 + 1 ωn+1 + 1 ωn+1ωn ωn+1ωn+ωn+ 1 +2ωn+1 + 1 ωn+1 + 1 βµ,11(ωn+1 + 1) (ωn+1 + 1)(ωn+1ωn+ωn+ 1) ωn+ 1 βµ,2—−ω2 n+1 1 + ωn+1 −ω2 n(ωn+1ωn+ωn+ 1) ωn+1 + 1 βµ,3— — (ωn+1 + 1)ω2 n+1ω3 n (ωn+ 1)(ωn+1ωn+ωn+ 1) and αµ= 1for µ= 1 (BDF1), 3 2for µ= 2 (BDF2), 11 6for µ= 3 (BDF3). (2.26) The above notation is adopted from the work of Forti and Dedè (2015). This is the standard BDF schemes for constant time steps. In the case of variable time steps the equation (2.25) can be rewritten as, un,BDFµ= βµ,1unif n≥0for µ= 1 (BDF1), βµ,1un−βµ,2un−1if n≥1for µ= 2 (BDF2), βµ,1un−βµ,2un−1+βµ,3un−2if n≥2for µ= 3 (BDF3), (2.27) where the constants depends on the ratios of successive time steps which are defined as follows, ωn+1 =∆tn+1 ∆tn , ωn=∆tn ∆tn−1 .(2.28) Using the definitions in equation (2.28), the constants in equations (2.27) are presented in table 2.5. The necessary and sufficient condition for a linear multi-step to be convergent is if it is both consistent and zero-stable (Lambert, 1991). The scheme is consistent if the order conditions stated in Lambert (1991) are satisfied. The coefficients of the variable step BDF scheme readily satisfies the order conditions and hence, it is only needed to check for zero-stability. Zero-stability quantifies the propagation computational errors that come from the perturbations as the time step approaches zero. Thus, a zero-stable multi-step method is insensitive to perturbations such as round-off errors. Performing this analysis for the variable step BDF schemes impose a restriction on the ratio of the time steps, ωn+1 and ωn. This analysis is presented in Grigorieff (1983) and Wang and Ruuth (2008) in the context of variable step BDF scheme and variable step implicit-explicit linear multi-step methods (VSIMEX), respectively. In the case of variable step BDF2 scheme, the method is zero-stable if ωn+1 ≤1 + √2. In the case of variable step BDF3 scheme, the analysis is complicated because of involvement of two time step ratios instead of one as in the case of variable step BDF2 scheme. The bounds reported by several works for variable step BDF3 scheme are presented in table 2.6. As stated
2.8. Time discretization using Backward Differentiation Formulae (BDF) 41 Table 2.6: Upper bounds for variable step BDF3 scheme. The scheme is zero-stable if ωn+1 < R. Reference Rb Wang and Ruuth (2008) 1.1273 Grigorieff (1983) 1.127 Calvo et al. (1990) 1.476 Guglielmi and Zennaro (2001) 1.501 in Grigorieff (1983), these limits can be unrealistic depending on the type of problem being solved. However, some of the numerical examples presented in Wang and Ruuth (2008), violates these limits without loss of stability of the method. Using the definitions in equations (2.24) and (2.27), the weak form of unsteady incompressible Navier–Stokes equations using CG can be stated as: find un+1 ∈[H1(Ω)]2and pn+1 ∈ L2(Ω) such that un+1 = Πh(¯ un+1)on ∂ΩD,u=u0at t= 0 and, δu,αµun+1 ∆tΩ+ (δu,(grad un+1)un+1)Ω+ (grad δu,(−pn+1I+νgrad un+1))Ω −(δu,¯ sn+1)Ω−hδu,¯ tn+1i∂ΩN−δu,un,BDFµ ∆tΩ= 0, −(δp, div un+1)Ω= 0, (2.29a) for all δu∈[H1(Ω)]2,δp ∈ L2(Ω) such that δu=0on ∂ΩD. The HDG weak form with the BDF time discretization can be stated as: find (un+1, pn+1, Ln+1,ˆ un+1, ρn+1,e)∈[Vh k(Ω)]2×[Vh k(Ω)] ×[Vh k(Ω)]2×2×[Λh k(Γ)]2×Rnel in every element Ωe such that u=u0at t= 0 and, (δL,Ln+1)Ωe+ (div δL,un+1)Ωe−hδLn,ˆ un+1i∂Ωe= 0, δu,αµun+1 ∆tΩe−(grad δu,un+1 ⊗un+1)Ωe−(δu,div (−pn+1I+νLn+1))Ωe +hδu,(ˆ un+1 ⊗ˆ un+1)n+τu(un+1 −ˆ un+1)i∂Ωe −(δu,¯ sn+1)Ωe−δu,un,BDFµ ∆tΩe= 0, −(grad δp, un+1)Ωe+hδp, ˆ un+1 ·ni∂Ωe= 0, 1 |∂Ωe|hpn+1,1i∂Ωe=ρn+1,e for e= 1, . . . , nel, (2.30a) nel X e=1 hδˆ u,(−pn+1I+νLn+1)n+τu(ˆ un+1 −un+1)i∂Ωe=hδˆ u,¯ tn+1i∂ΩN, hˆ un+1 ·n,1i∂Ωe= 0 for e= 1, . . . , nel, ˆ un+1 =P2(¯ un+1)on ∂ΩD, (2.30b) for all (δu, δp, δL, δ ˆ u)∈[Vh k(Ω)]2×[Vh k(Ω)] ×[Vh k(Ω)]2×2×[Λh k(Γ)]2, such that δˆ u=0on ∂ΩD. The discrete system is similar to the one obtained in the steady state case except for the new terms arising from time derivative. The same solution procedure described earlier can be applied to the unsteady case at each time step. It is also possible to apply the local post-processing to get the super-convergent solution at any desired time step.
42 Comparison of HDG and CG methods for incompressible Navier–Stokes equations First order BDF (BDF1) scheme coincides with the backward Euler scheme and it is selfstarting as it needs information only from the immediate prior time step. In the case of other BDF schemes, if µis the order of the method, it needs first µ−1solution values for the method to start and it is evident from equation (2.25). In the present work, it is done by using BDF1 for the first time step and, BDF2 for second and third time steps. This procedure does not guarantee third order accuracy for BDF3 scheme. But, BDF3 is only used as error estimator in adaptive time stepping scheme and only convergence results of BDF1 and BDF2 schemes are presented. 2.8.3 Taylor–Votex flow The benchmark example for unsteady Navier–Stokes equations considered in Maday et al. (1990) is chosen for convergence analysis. The exact solution for Taylor–Vortex problem is u= −cos(πx1) sin(πx2) exp −2π2t Re sin(πx1) cos(πx2) exp −2π2t Re , p=−1 4(cos(2πx1) + cos(2πx2)) exp −4π2t Re +C, (2.31) where Re = 1/ν is the Reynolds number and Cis a constant. The problem is considered in the domain [0,1] ×[0,1] with Reynolds number Re = 20. Dirichlet boundary conditions are prescribed on all the exterior boundary to be equal to the analytical solution and final time T= 1 is considered. The analytical solution at the end of T= 1 is shown in the fig. 2.24. The initial condition is provided from the analytical solution at t= 0. The solution satisfies the Navier–Stokes equations without any body force and hence, prescribed body force is zero. A uniform triangular mesh with k= 4 and h= 1/25along with the stabilisation parameter, τu= 1, is used on all faces in the results presented for this example. The mesh considered here is fine enough to keep the spatial errors very low and hence, the dominant errors are the temporal ones. Time steps of 1/2,1/22,1/23and 1/24are used to plot the convergence of BDF1 and BDF2 schemes. Figure 2.25 shows the L2norm of the error in the post processed velocity of HDG and the error in velocity of CG. Similarly, fig. 2.26a presents the L2norm of the error in pressure for HDG and CG. It can be noticed that both time stepping schemes display the theoretical rate of convergence for both velocity and pressure. Since BDF2 scheme is not self starting, the first step is computed using BDF1 scheme and the rest of the steps using BDF2. As Dirichlet boundary conditions are prescribed on all boundary, the pressure is prescribed to zero at one node in CG where as in case of HDG, the mean of the pressure is prescribed to zero in one element. The constant of the pressure is computed by taking the difference between the analytical pressure and the numerical value at a node in the mesh. The errors in pressure are computed using the obtained constant value in both CG and HDG cases. It can be noticed that the errors in both velocity and pressure for each corresponding time step of HDG and CG are almost identical and have similar rates of convergence as spatial discretization errors in this case are very small and errors from time discretization dominate. Convergence analysis in space is also presented in the context of time discretization schemes. A time step of 2×10−4is used to keep the temporal errors small enough that cannot influence the convergence rates in space. BDF2 scheme is used for time integration while degrees of approximation k= 2 −5are used. The stabilisation parameter, τu= 1, is used on all faces and error at the final time instance, T= 1 sec is computed.
2.8. Time discretization using Backward Differentiation Formulae (BDF) 43 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 x2 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 (a) Velocity. 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 x1 −0.06−0.04−0.02 0 0.02 0.04 0.06 (b) Pressure. Figure 2.24: Taylor–Vortex flow: analytical solution. −1.2−1−0.8−0.6−0.4 −5 −4 −3 −2 1 1 1.8 2.1 log(∆t) log(keu∗kL2) BDF1 BDF2 (a) HDG:u∗. −1.2−1−0.8−0.6−0.4 −5 −4 −3 −2 1 1 1.8 2.1 log(∆t) log(keukL2) BDF1 BDF2 (b) CG:u. Figure 2.25: Taylor–Vortex flow: convergence of velocity in time.
44 Comparison of HDG and CG methods for incompressible Navier–Stokes equations −1.2−1−0.8−0.6−0.4 −5 −4 −3 −2 1.1 1 2.1 2.1 log(∆t) log(kepkL2) BDF1 BDF2 (a) HDG:p. −1.2−1−0.8−0.6−0.4 −5 −4 −3 −2 1.1 1 2.1 2.1 log(∆t) log(kepkL2) BDF1 BDF2 (b) CG:p. Figure 2.26: Taylor–Vortex flow: convergence of pressure in time. Table 2.7: Partitioning scheme for the time interval [0,2]. Time interval [0,0.4] [0.4,0.8] [0.8,1.2] [1.2,1.6] [1.6,2.0] Number of time steps 16 14 6 6 8 Figures 2.27 and 2.28 shows the convergence plots for velocity and pressure, respectively. It can be observed that the optimal convergence rates in space are obtained in both CG and HDG discretizations. HDG produces smaller error for same degree and mesh for both velocity and pressure as noticed in earlier example of Kovasznay flow in Section 2.6. This example concludes a complete convergence analysis in space and time for Taylor–Vortex flow. Finally, a convergence analysis is presented for the case of variable step BDF schemes. To perform the analysis, the procedure presented in the work of Wang and Ruuth (2008) is adopted here. The final time, T, is taken as 2 seconds and the whole time interval, [0,2], is divided into 5 sub-intervals of equal length. Inside each sub-interval, a different time step is taken and hence, a variable time step scheme is obtained. Table 2.7 presents the number of time steps used in each sub-interval for the present analysis. The scheme presented in table 2.7 is the coarsest temporal grid with a total number of time steps of 50. Four different temporal grids are obtained by successively doubling the number of steps in each sub-interval. Therefore, the total number of time steps presented in the analysis are {50,100,200,400}. The same spatial mesh of k= 4 and h= 1/25as the previous example is chosen for the analysis. The convergence plots are presented for BDF1, BDF2 and BDF3 schemes with postprocessed velocity of HDG and velocity of CG in fig. 2.29. It can be noticed that the optimal convergence rates are obtained for all the three schemes used in the analysis. Even though, BDF3 scheme needs the first step to be started with a third-order accurate method to recover the optimal rate, in the present case, the partitioned scheme is chosen in such a way that the errors from the first few time steps do not influence the global error. The global errors in
2.8. Time discretization using Backward Differentiation Formulae (BDF) 45 −2−1.5−1−0.5 −12 −10 −8 −6 −4 −2 3.9 3.9 3.9 4 4.9 4.9 4.9 5.7 5.8 6.9 log(h) log(keu∗kL2) T2T3T4T5 (a) HDG:u∗. −2−1.5−1−0.5 −12 −10 −8 −6 −4 −2 3.5 3.1 3 3 3.6 3.8 3.9 5.2 55.8 log(h) log(keukL2) T2T1T3T2T4T3T5T4 (b) CG:u. Figure 2.27: Taylor–Vortex flow: convergence of velocity in space. −2−1.5−1−0.5 −8 −6 −4 −2 4.7 2.2 3.2 3.1 2.9 4.4 4 6.4 4.7 5 log(h) log(kepkL2) T2T3T4T5 (a) HDG:p. −2−1.5−1−0.5 −8 −6 −4 −2 2.5 2.1 2 2 3 3.7 3.8 4.4 4.2 5.2 log(h) log(kepkL2) T2T1T3T2T4T3T5T4 (b) CG:p. Figure 2.28: Taylor–Vortex flow: convergence of pressure in space.
46 Comparison of HDG and CG methods for incompressible Navier–Stokes equations 1.6 1.8 2 2.2 2.4 2.6 2.8 −10 −8 −6 −4 1 1 2 2 3 3 log(Number of time steps) log(keu∗kL2) BDF1 BDF2 BDF3 (a) HDG:u∗. 1.6 1.8 2 2.2 2.4 2.6 2.8 −10 −8 −6 −4 1 1 2 2 3 3 log(Number of time steps) log(keukL2) BDF1 BDF2 BDF3 (b) CG:u. Figure 2.29: Taylor–Vortex flow: convergence of velocity for variable time stepping scheme. both CG and HDG are almost identical confirming that the spatial errors are negligible and temporal errors are dominant. 2.8.4 Error estimation and time step adaption In this section, a standard technique for estimating the local error in each time step using BDF3 scheme is considered. The local truncation errors of BDF schemes can be represented as follows, kun,a −un,1k=c1∆t2+O(∆t3), kun,a −un,2k=c2∆t3+O(∆t4), kun,a −un,3k=c3∆t4+O(∆t5), (2.32) where un,a is the analytical solution and un,µ is the numerical solution of BDF scheme of order µat nth time step. Therefore, for sufficiently small time step, ∆t, the estimation of local discretization errors for BDF1 and BDF2 using the solution of BDF3 scheme can be shown as, en,1=kun,3−un,1k ≈ c1∆t2, en,2=kun,3−un,2k ≈ c2∆t3.(2.33) Suppose, the local error in the new time step should be the order of a given tolerance, δtol, i.e., it is required that en,1< δtol or en,2< δtol. Hence, a new time step can be chosen in such a way that, en,1≈δtol, en,2≈δtol,(2.34) and the optimal new time step, ∆t, satisfies, δtol ≈c13∆t2, δtol ≈c23∆t3.(2.35)
2.9. Conclusions 53 Table 2.9: Time step values in shedding regime for CG and HDG with adaptive time scheme. Method δtol = 10−3δtol = 10−4 CG 0.0468 0.0209 HDG 0.0389 0.0173 Table 2.10: Lift, drag coefficients and Strouhal number for Re = 100 with adaptive time stepping scheme. Variable CG HDG δtol = 10−3δtol = 10−4δtol = 10−3δtol = 10−4 Cl0±0.329 0 ±0.329 0 ±0.329 0 ±0.329 Cd1.344 ±0.011 1.343 ±0.011 1.339 ±0.014 1.338 ±0.015 St 0.164 0.164 0.164 0.164 evident from the table 2.10 that the values of lift and drag coefficients are very close to the ones obtained using constant time step analysis and also, literature data. Hence, it can be concluded that the proposed adaptive time stepping scheme is verified. 2.9 Conclusions Theoretical DOF count is compared between HDG, with degree kfor all variables, and CG with degree kfor the velocity and k−1for the pressure. In the case of 2D, HDG has fewer DOFs than CG, when degree of approximation is more than 5, for both triangular and quadrilateral elements. In the case of 3D, they tend to be same only for very high degrees. However, when HDG with degree k−1is compared to CG with degree kfor velocity and k−1 for pressure, i.e., with the same theoretical rates of convergence, the ratio of number of DOFs favours HDG when k > 4for 2D and, in the case of 3D, k > 6and k > 12 for hexahedral and tetrahedral elements, respectively. The number of non-zero entries in the global system and its factor are also provided for HDG and CG Stokes problems. HDG systems leads to fewer non zero entries when the degree of approximation, k≥5. Then, Kovasznay flow, a benchmark for Stokes and Navier–Stokes problems, is considered to assess the computational efficiency between HDG and CG in 2D. It is noticed that, using a high-degree coarser mesh is computationally more efficient than using a low-degree finer mesh, with respect to CPU time for linear solver in the presence of smooth solutions. Numerical tests also show that HDG takes lesser CPU time for linear solver when compared to CG, for the same level of accuracy and for degree greater than 2. The same comparison is carried out with NACA0012 airfoil example, with the error measured in the lift coefficient value. Again, HDG is more computationally efficient than CG for a given level of accuracy. The condition numbers for HDG and CG are presented for Kovasznay flow and NACA airfoil examples. In most of the cases, HDG produces lower condition number values than CG. A comparison of stability between HDG and CG is also presented, using a manufactured solution with a boundary layer. It is concluded that HDG can exhibit superior stability
54 Comparison of HDG and CG methods for incompressible Navier–Stokes equations properties than CG in the presence of sharp fronts, which occurs at high Reynolds numbers. It is also noticed that the increase of the parameter, τu, can enhance the stability of the HDG method, thus providing smooth converged solutions for Reynolds numbers much higher than CG. The final part of the chapter deals with time discretization of unsteady Navier–Stokes equations using BDF schemes until order 3. The convergence rates in space and time are established for constant time step schemes using numerical experiments. The details of variable time stepping scheme are presented and verified using convergence tests. An adaptive time stepping scheme which estimates the local error with high-order BDF scheme to adapt the time step is presented. The example of flow around cylinder is considered to verify the adaptive time stepping scheme with both HDG and CG discretizations.
Chapter 3 Coupling of continuous and hybridizable discontinuous Galerkin methods 3.1 Overview This chapter presents the coupled CG-HDG formulation for conjugate heat transfer problem. Firstly, the HDG formulation for Navier–Stokes presented in Chapter 2 is extended to coupled Navier–Stokes/convection-diffusion equations. Following, a coupled CG-HDG formulation is developed in the framework of heat conduction equation. The ideas from first two sections are combined to present the coupled CG-HDG formulation for conjugate heat transfer problem. Numerical results are presented in each section verifying the proposed formulations. 3.2 HDG formulation for coupled Navier–Stokes/convection-diffusion equations 3.2.1 Governing equations In this section, HDG formulation introduced for incompressible Navier–Stokes equations in Chapter 2 is extended to coupled incompressible Navier–Stokes and convection-diffusion equations. Let Ωbe the fluid domain with boundary ∂Ωdivided into Dirichlet, ∂ΩD, and Neumann, ∂ΩN, boundaries. The steady state incompressible Navier–Stokes and convection-diffusion equations can be expressed as, div (u⊗u)−div (−pI+νgrad u) = f(θ) + ¯ sin Ω, div u= 0 in Ω, div (−αgrad θ+uθ) = ¯gin Ω, u=¯ uon ∂ΩD, θ=¯ θon ∂ΩD, (−pI+νgrad u)n=¯ ton ∂ΩN, (−αgrad θ+uθ)·n= ¯qnon ∂ΩN, (3.1) where u,θand pare velocity, temperature and kinematic pressure, respectively. Material properties νand αare kinematic viscosity and thermal diffusivity, respectively. f(θ)is 55
56 Coupling of continuous and hybridizable discontinuous Galerkin methods the body force, which is a function of temperature, ¯ sis an additional external body force acting on fluid and ¯gis the volumetric heat generation. ¯ uand ¯ θare the prescribed velocity and temperature on the Dirichlet boundary, ∂ΩD, and ¯ tand ¯qnare the prescribed pseudo tractions and normal flux on the Neumann boundary, ∂ΩN. As it is clear from the governing equations, this is a coupled system in u, p and θ. The convective term u·(grad θ)in the convection-diffusion equation influences the temperature distribution and the body force f(θ)in momentum equations governs the velocity of the fluid. Hence, a coupled system is established in both directions. In the present work, natural buoyancy flows are considered and Boussinesq approximation is used to compute the approximate body force, f(θ), of Navier–Stokes equations. The artificial linear variation of density with temperature is expressed as, ρ=ρ0(1 −β(θ−θ0)) ,(3.2) where βis the thermal expansion coefficient and θ0is the reference temperature. The density is assumed to be constant to that of the reference state, ρ0. The gravitational force due to the artificial variation of the density can be expressed as the following body force vector per unit of mass of the reference state f(θ) = g(ρ−ρ0) ρ0 =−gβ(θ−θ0),(3.3) where gis the gravity acceleration vector. The important non-dimensional numbers that are used in the context of natural buoyancy flows are Rayleigh number (Ra) and Prandtl number (Pr), which are defined as, Ra =gβL3∆θ να , P r =ν α,where α=κ ρ0cp .(3.4) In equation (3.4), κis heat conductivity, Land ∆θare the characteristic length and temperature difference in the domain, respectively. 3.2.2 Weak formulation Using notation, L≈grad uand q≈ −αgrad θ, the HDG formulation of the coupled Navier– Stokes and convection-diffusion equations is: find (u, p, L, θ, q,ˆ u, ρe,ˆ θ)∈[Vh k(Ω)]2×Vh k(Ω) × [Vh k(Ω)]2×2×Vh k(Ω) ×[Vh k(Ω)]2×[Λh k(Γ)]2×Rnel ×Λh k(Γ) satisfying the local problem in every element Ωe, (δL,L)Ωe+ (div δL,u)Ωe−hδLn,ˆ ui∂Ωe= 0, −(grad δu,u⊗u)Ωe−(δu,div (−pI+νL))Ωe +hδu,(ˆ u⊗ˆ u)n+τu(u−ˆ u)i∂Ωe−(δu,f(θ))Ωe−(δu,¯ s)Ωe= 0, −(grad δp, u)Ωe+hδp, ˆ u·ni∂Ωe= 0, (3.5a) 1 |∂Ωe|hp, 1i∂Ωe=ρe,(3.5b) δq, α−1qΩe−(div δq, θ)Ωe+hδq·n,ˆ θi∂Ωe= 0, (δθ, div q)Ωe−(grad δθ, uθ)Ωe+hδθ, (ˆ u·n−τθ)ˆ θi∂Ωe +hδθ, τθθi∂Ωe−(δθ, ¯g)Ωe= 0, (3.5c)
3.2. HDG formulation for coupled Navier–Stokes/convection-diffusion equations 57 for e= 1, . . . , nel, and the global problem nel X e=1 hδˆ u,(−pI+νL)n+τu(ˆ u−u)i∂Ωe=hδˆ u,¯ ti∂ΩN, hˆ u·n,1i∂Ωe= 0 for e= 1, . . . , nel, ˆ u=P2(¯ u)on ∂ΩD, (3.6a) nel X e=1hδˆ θ, (q+ˆ uˆ θ)·n+τθ(θ−ˆ θ)i∂Ωe=hδˆ θ, ¯qni∂ΩN, ˆ θ=P2(¯ θ)on ∂ΩD, (3.6b) for all (δu, δp, δL, δθ, δq, δ ˆ u, δˆ θ)∈[Vh k(Ω)]2× Vh k(Ω) ×[Vh k(Ω)]2×2× Vh k(Ω) ×[Vh k(Ω)]2× [Λh k(Γ)]2×Λh k(Γ) such that δˆ u=0and δˆ θ= 0 on ∂ΩD, where the discrete spaces are defined in (1.2). P2(¯ u)and P2(¯ θ)are the L2projections of the Dirichlet data into the approximation space on ∂ΩD. The parameters τuand τθare positive and, following Nguyen et al. (2011c, 2009b), they are usually taken as τu≈ν L+|u|, τθ≈α L+|u·n|,(3.7) where Lis the characteristic length of the problem. Even though the so-called stabilization parameter has some influence on the accuracy of the HDG solution, the method is very robust in front of variations of τuand τθ(Nguyen et al., 2009b,a). As stated in Chapter 2, these parameters can have an important effect on stability properties of the method. The numerical results in Section 3.2.4 discusses the influence of these parameters on the convergence of the solution. The discretization of local and global problems (3.5)-(3.6) leads to a discrete residual presented in (3.10). This coupled system is solved in a monolithic sense using Newton–Raphson method computing the exact Jacobian matrix (3.11). As already explained in previous sections, static condensation is used to express the local variables in terms of global variables and solve the final system in only global unknowns. The constraint in (3.5b) is applied using a Lagrangian multiplier λeon each element. These are gathered in the vector λ. The definition of elemental matrices and tangent operators are presented in Appendix C. The HDG formulation provides a numerical solution with optimal convergence of order k+ 1 (kis the degree of approximation) in L2norm for velocity, u, pressure, p, gradient of velocity, L, temperature, θ, and flux, q. As the mean of the velocity and mean of the temperature inside each element converges with order k+ 2, new approximate solutions, u∗ and θ∗, can be computed element-by-element which converge with order k+ 2. The details of the post-processing for Navier–Stokes is presented in Chapter 2. The post-processed solution of the convection-diffusion equation can be obtained by solving following equations, −div (αgrad θ∗) = div qin Ωe, −(αgrad θ∗)·n=q·non ∂Ωe, (θ∗,1)Ωe= (θ, 1)Ωe. (3.8) This induces a weak problem in a richer finite dimensional space, i.e., find θ∗∈Vh k+1(Ω) such that −(grad δθ∗, α grad θ∗)Ωe= (grad δθ∗,q)Ωe, (θ∗,1)Ωe= (θ, 1)Ωe,(3.9)
58 Coupling of continuous and hybridizable discontinuous Galerkin methods rˆu rρ rˆ θ ru rL rp rλ rθ rq = Aˆuˆu0 0 Aˆuu AˆuL Aˆup 0 0 0 Aρˆu0 0 0 0 0 0 0 0 0 0 Aˆ θˆ θ+Cˆ θˆ θ(ˆu)0 0 0 0 Aˆ θθ Aˆ θq Auˆu+Cuˆu(ˆu)0 0 Auu +Cuu(u)AuL Aup 0 Auθ 0 ALˆu0 0 ALu ALL 0 0 0 0 Apˆu0 0 Apu 0 0 AT ρp 0 0 0−1 0 0 0 Aρp 0 0 0 0 0 Aθˆ θ+Cθˆ θ(ˆu)0 0 0 0 Aθθ +Cθθ(u)Aθq 0 0 Aqˆ θ0 0 0 0 Aqθ Aqq ˆu ρ ˆ θ u L p λ θ q − ¯ t 0 ¯ qn fθ0+¯ s 0 0 0 ¯ g 0 =0, (3.10) Aˆuˆu0 0 Aˆuu AˆuL Aˆup 0 0 0 Aρˆu0 0 0 0 0 0 0 0 Cˆ θˆ θT (ˆ θ)0 Aˆ θˆ θ+Cˆ θˆ θ(ˆu)0 0 0 0 Aˆ θθ Aˆ θq Auˆu+Cuˆu(ˆu)0 0 Auu +Cuu(u)AuL Aup 0 Auθ 0 +CuˆuT (ˆu) +CuuT (u) ALˆu0 0 ALu ALL 0 0 0 0 Apˆu0 0 Apu 0 0 AT ρp 0 0 0−1 0 0 0 Aρp 0 0 0 Cθˆ θT (ˆ θ)0 Aθˆ θ+Cθˆ θ(ˆu)CθθT (θ)0 0 0 Aθθ +Cθθ(u)Aθq 0 0 Aqˆ θ0 0 0 0 Aqθ Aqq δˆu δρ δˆ θ δu δL δp δλ δθ δq =− rˆu rρ rˆ θ ru rL rp rλ rθ rq .(3.11)
3.2. HDG formulation for coupled Navier–Stokes/convection-diffusion equations 59 for all δθ∗∈Vh k+1(Ω)and i= 1, . . . , nel, where Vh k+1(Ω) must be a bigger space with one degree more than in Vh k(Ω).θ∗converges asymptotically with a rate of k+ 2 in the L2norm for a mesh with uniform degree, k. Numerical experiments in the following section show that the property of super-convergence is retained in the case of the Navier–Stokes/convection-diffusion coupled formulation for both velocity and temperature. 3.2.3 Convergence results In this section, the convergence results of Navier–Stokes equations coupled with convectiondiffusion equation are presented for HDG. The solution of Navier–Stokes equations is taken as Kovasznay flow (Kovasznay, 1948) in the domain [0,2] ×[−0.5,1.5] presented in equation (2.20). The analytical solution considered for the temperature variation is of sinusoidal form and it is given as follows, θ= sin 3πx1 4sin 3πx2 4+3π 8.(3.12) Dirichlet boundary conditions are prescribed for velocity and temperature on all the exterior boundary. The solution is computed at Re = 20 and the thermal diffusivity, α, is taken as unity. As discussed earlier, the Boussinesq approximation term couples the Navier–Stokes and convection-diffusion equations. In the Boussinesq term (3.3), βis taken as unity, g=−10e2 and θ0= 0. An appropriate body force term, ¯ sin momentum equation, and heat generation, ¯g, in the convection-diffusion equation are computed from the analytical solution. The body force term, ¯ s, has the non-zero contribution only in the convergence analysis. The stabilization parameters τuand τθare both taken as unity on all faces of each element in this example. Figure 3.1 shows the convergence of post-processed solution of velocity and temperature for triangular meshes for degree k= 2 −9and element size, h= 2/{2,22,23,24,25,26}. It is clear that the super-convergence of HDG is retained for both velocity and temperature in the coupled framework. As the extension of the work in Chapter 2, the results of computational efficiency of HDG (Tk) and CG (TkTk−1) are presented for the coupled Navier–Stokes/convection-diffusion equations. Here, only the plots of the ratio of CPU times of HDG to CG against the error are presented. Figures 3.2 and 3.3 shows the ratio of CPU times with respect to error in velocity and ratio of CPU times with respect to error in temperature, respectively. As explained in the Section 2.6, the errors values from CG are used in plots and CPU times of HDG are interpolated corresponding to the errors of CG. Note that post-processed solutions are used to compute errors in HDG for both velocity and temperature. From the results, it can be concluded that HDG outperforms CG in terms of CPU time for linear solver for a given level accuracy and k≥3. Hence, the conclusions drawn from the computational efficiency for Navier–Stokes can be extended to the present coupled Navier–Stokes/convection-diffusion analysis. 3.2.4 Rayleigh–Bénard convection flow This section presents the results of Rayleigh–Bénard convection flow at different Rayleigh numbers. This is a standard benchmark example for natural buoyancy flows. A square cavity of unit length is considered with a temperature gradient along x1−direction. The top and bottom walls are prescribed with adiabatic boundary conditions, whereas the
60 Coupling of continuous and hybridizable discontinuous Galerkin methods −1.5−1−0.5 0 −10 −5 0 3.5 3.7 3.8 3.9 4.5 4.8 4.9 4.9 5.7 5.8 5.9 6 6.9 6.8 6.9 7.6 7.9 9 9.7 11 log(h) log keu∗kL2 T2T3T4T5 T6T7T8T9 (a) u∗. −1.5−1−0.5 0 −10 −5 0 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 8 8 9.2 10 7.2 log(h) log keθ∗kL2 T2T3T4T5 T6T7T8T9 (b) θ∗. Figure 3.1: Coupled Navier–Stokes/convection-diffusion problem: convergence plots for postprocessed velocity and post-processed temperature with HDG using triangular elements. −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log keukL2 HDG(Tk) Time/CG(TkTk−1) Time k= 3 k= 4 k= 5 (a) k= 3 −5. −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h= 1 h= 0.5 h= 0.25 log keukL2 HDG(Tk) Time/CG(TkTk−1) Time k= 6 k= 7 k= 8 k= 9 (b) k= 6 −9. Figure 3.2: Coupled Navier–Stokes/convection-diffusion problem: ratio of CPU times for linear solver vs. error in velocity for triangular elements.
3.2. HDG formulation for coupled Navier–Stokes/convection-diffusion equations 61 −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h= 0.25 h= 0.125 h= 0.0625 h= 0.03125 log keθkL2 HDG(Tk) Time/CG(TkTk−1) Time k= 3 k= 4 k= 5 (a) k= 3 −5. −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h= 1 h= 0.5 h= 0.25 log keθkL2 HDG(Tk) Time/CG(TkTk−1) Time k= 6 k= 7 k= 8 k= 9 (b) k= 6 −9. Figure 3.3: Coupled Navier–Stokes/convection-diffusion problem: ratio of CPU times for linear solver vs. error in temperature for triangular elements. Table 3.1: Rayleigh–Bénard convection flow: stabilization parameters used in the analysis. Ra 103,104105106107,108 τu, τθ1 10 100 200 laterals walls are prescribed with Dirichlet boundary conditions for temperature. No-slip conditions are applied on all the boundary for the velocity. Rayleigh numbers ranging from 103 to 108, along with Prandtl number (P r) of 0.71, are considered in the analysis. The temperature difference is kept at unity with left wall at 0.5and right wall at −0.5,g=−10e2and βis chosen based on the Ra. Nusselt number at the hot wall is used to compare the HDG (Tk) solution with CG (TkTk−1) and other results from literature. Average Nusselt number is defined as, Nu =−1 θh−θcZL 0 ∂θ ∂x1 ds, (3.13) where θh,θcdenotes the temperatures on the hall and cold walls, respectively and Lis the length of the cavity. A uniform mesh with triangular elements of degree k= 5 and element size h= 1/26is chosen. All the results presented corresponds to steady state analysis. Sometimes, at higher Rayleigh number, convergence to the solution could not be achieved in a single step. In this case, Ra number is increased in a finite number of steps to obtain a converged solution. No stabilization techniques for the CG method are used. The stabilization parameters in the case of HDG discretization are critical in obtaining a solution at higher Ra. Table 3.1 provides the values of parameters used in the present work for different Ra. The analytical maximum velocity in the domain increases with increasing
62 Coupling of continuous and hybridizable discontinuous Galerkin methods Table 3.2: Rayleigh–Bénard convection flow: summary of important quantities and comparison with literature values for Ra = 103−105. The velocities of HDG correspond to post-processed solutions. Ra Quantity De Vahl Davis (1983) HDG (T5)/ CG (T5T4) 103 Nu 1.117 1.117 Max. u1along x1= 0.53.649 3.649 Max. u2along x2= 0.53.697 3.697 104 Nu 2.238 2.244 Max. u1along x1= 0.516.178 16.183 Max. u2along x2= 0.519.617 16.626 105 Nu 4.509 4.521 Max. u1along x1= 0.534.73 34.740 Max. u2along x2= 0.568.59 68.632 Ra number. In the present work, the stabilization parameters are chosen to be in the order of magnitude of the maximum velocity in the domain for a given Ra. Figure 3.4 presents the isolines of velocity and temperature at Ra of 104,106and 108. It can be noticed from the plots that as the Ra number increases, a strong boundary layer is formed at both lateral edges of the domain. The vertical isotherms denote that the dominant mechanism of heat transfer is conduction and as the isoterms depart from the vertical position, convection becomes the dominant form of heat transfer. It is evident from the velocity isolines that the velocity magnitude varies from 20 at Ra = 104to around 2200 at Ra = 108. The variation of dimensionless u1along x1= 0.5and dimensionless u2along x2= 0.5 are presented in figs. 3.5a and 3.5b, respectively, to show the evolution of boundary layer as the Ra increases. Similarly, the variation of temperature along x2= 0.5is plotted for all the Ra numbers considered in fig. 3.5c. The present numerical results are compared with Betts and Haroutunian (1983) whenever applicable and the values are denoted by circle marks in the plots. The fact that HDG could resolve the boundary layer without any refinement on boundary shows the effectiveness of using high-order elements. To validate the results obtained in the present work, various quantities of interest are compared with the results from literature. The comparison is presented in the tables 3.2 and 3.3, which shows the results of HDG, CG and the literature ones. The table presents the results of both HDG and CG with that of literature ones. The results from HDG and CG are practically similar owing to the high-degree approximations and relatively fine mesh. Nevertheless, HDG produces slightly more accurate solution than CG when Nusselt number is compared for Ra = 108. In addition, when CPU times for the linear solver are considered, HDG outperforms CG in the present example using a uniform triangular mesh with h= 1/26 and k= 5. Table 3.4 gives the details of computations for HDG and CG at Ra = 105. Even though, HDG has slightly more DOFs than CG, the CPU time for the linear solver per one non-linear iteration of HDG is less than its CG counterpart. This can be attributed towards the regular block structure of the HDG stiffness matrix in accordance with the study in Kirby et al. (2012), Yakovlev et al. (2016). This fact is more pronounced by comparing the condition numbers of the matrix, which is one order of magnitude larger for CG than for HDG, for same mesh and degree of approximation.
3.3. CG-HDG coupled formulation for the heat equation 69 ˆ θ1=P2(¯ θ1)on ΓD 1,(3.25b) where δˆ θ1= 0 on ΓD 1,P2(¯ θ1)is the L2projection of the Dirichlet data into the approximation space on ΓD 1and ˆ q1·nis the HDG numerical normal flux, which is defined as, ˆ q1·n=q1·n+τ(θ1−ˆ θ1)on ∂Ωe 1\ΓI.(3.26) Essentially, the global problem (3.25a) states the so-called conservativity condition, i.e, the weak continuity of the normal flux across all the interior faces of the mesh in Ω1. The continuity of the fluxes on the interface, ΓI,i.e., equation (3.17g), is imposed between the numerical normal flux of HDG, ˆ q1·n1, which is defined as, ˆ q1·n1=q1·n1+τ(θ1−θ2)on ∂Ωe 1∩ΓI,(3.27) and the flux on the interface from Ω2, which is −α2grad θ2·n2, leading to, −hδθ2,q1·n1+τ(θ1−θ2)iΓI+hδθ2, α2grad θ2·n2iΓI= 0.(3.28) By summing equation (3.28) to the weak form of CG (3.22) in Ω2, and using the weak formulation of HDG, (3.23) and (3.25), in Ω1, the coupled discrete problem is obtained: find (q1, θ1,ˆ θ1, θ2)∈Vh k(Ω1)2×Vh k(Ω1)×Λh k(Γ1\ΓI)×Wh k+1(Ω2)such that ˆ θ1=P2(¯ θ1)on ΓD 1, θ2= Πh(¯ θ2)on ΓD 2and (δθ1,div q1)Ωe 1+Dδθ1, τ(θ1−ˆ θ1)E∂Ωe 1\ΓI +hδθ1, τ(θ1−θ2)i∂Ωe 1∩ΓI−(δθ1,¯g1)Ωe 1= 0, δq1, α−1 1q1Ωe 1−(div δq1, θ1)Ωe 1+Dδq1·n,ˆ θ1E∂Ωe 1\ΓI +hδq1·n1, θ2i∂Ωe 1∩ΓI= 0, (3.29a) for e= 1, . . . , mel and, mel X e=1 Dδˆ θ1,q1·n+τ(θ1−ˆ θ1)E∂Ωe 1\ΓI = 0,(3.29b) (grad δθ2, α2grad θ2)Ω2−hδθ2,q1·n1+τ(θ1−θ2)iΓI −(δθ2,¯g2)Ω2= 0,(3.29c) for all (δq1, δθ1, δˆ θ1, δθ2)∈Vh k(Ω1)2×Vh k(Ω1)×Λh k(Γ1\ΓI)×Wh k+1(Ω2)such that δˆ θ1= 0 on ΓD 1and δθ2= 0 on ΓD 2, where the discrete spaces are defined in (1.2). As usual in HDG, the spaces for approximation in Ω1,Vh kand Λh k, consider polynomials of the same degree kfor all variables. Numerical tests in Section 3.3.6 show that the HDG super-convergence cannot be retained by the coupling with the CG approximation of same degree, k. However, as expected, convergence rates of order k+ 2 for the solution, and of order k+ 1 for the flux, are obtained when higher degree, k+1, is considered for the CG domain. Hence, CG approximation space, Wh k+1, spans polynomials of degree k+ 1. The discretization of the system of equations in (3.29) gives rise to a matrix equation of the form Aˆ θˆ θ0 Aˆ θθ Aˆ θq 0 Kθθ BT θθ Bθq Aθˆ θBθθ Aθθ Aθq Aqˆ θBqθ Aqθ Aqq ˆ θ1 θ2 θ1 q1 = 0 ¯ g2 ¯ g1 0 .(3.30)
70 Coupling of continuous and hybridizable discontinuous Galerkin methods The column vectors θ1,q1,ˆ θ1and θ2contain the DOFs associated to θ1,q1,ˆ θ1and θ2, respectively. Static condensation is assumed for the CG discretization, expressing the nodal values of interior nodes of the element in terms of the nodal values on the edges. The elemental matrices in equation (3.30) are defined in the Appendix C. As discussed in previous chapters, one of the attractive features of HDG is being able to express the local variables, θ1and q1, in terms of the trace variable ˆ θ1. This is done by using static condensation technique applied in an element-by-element fashion (see, for instance Sevilla and Huerta (2016)). In the present case, ˆ θ1and θ2are coupled at the interface and hence, the local variables, θ1and q1, in the HDG domain Ω1are expressed in terms of ˆ θ1and θ2. Therefore, system (3.30) can be expressed as follows, (θ1 q1)="Aθθ Aθq Aqθ Aqq#−1 (¯ g1 0)−"Aθˆ θBθθ Aqˆ θBqθ#(ˆ θ1 θ2)!,(3.31a) "Aˆ θθ Aˆ θq BT θθ Bθq#(θ1 q1)+"Aˆ θˆ θ0 0 Kθθ#(ˆ θ1 θ2)=(0 ¯ g2).(3.31b) Equation (3.31a) is the so-called HDG local solver, which can be computed element-wise owing to the fact that the equations corresponding to the local problem of an element do not involve elemental variables of other elements i.e., the inverted matrix is block diagonal. By replacing equation (3.31a) in (3.31b), θ1and q1are eliminated resulting in a system with unknowns only in ˆ θ1and θ2: "K11 K12 K21 K22#(ˆ θ1 θ2)=(f1 f2),(3.32) where "K11 K12 K21 K22#="Aˆ θˆ θ0 0 Kθθ#−"Aˆ θθ Aˆ θq BT θθ Bθq#"Aθθ Aθq Aqθ Aqq#−1"Aθˆ θBθθ Aqˆ θBqθ#,(3.33a) (f1 f2)=(0 ¯ g2)−"Aˆ θθ Aˆ θq BT θθ Bθq#"Aθθ Aθq Aqθ Aqq#−1(¯ g1 0).(3.33b) After solving the system in (3.32) for ˆ θ1and θ2, the HDG elemental local variables, θ1and q1, and the CG nodal values of the interior nodes can be computed by using equation (3.31a), and the CG static condensation. 3.3.5 Alternative CG-HDG coupled formulation with a projection operator on the interface The coupled formulation presented earlier considers the standard HDG local problem for the elements that do not share the interface, ∂Ωe 1∩ΓI=∅, and a non-standard HDG local problem imposing (3.24) in weak form for elements along the interface, ∂Ωe 1∩ΓI6=∅. In terms of implementation, additional matrices, Bθθ and Bθq, in the elements along the interface boundary ΓIare needed for the non-standard HDG local solver. An alternative coupling formulation is proposed in this section to keep the implementation changes to minimum in any existing HDG and CG codes. The main idea in this formulation is to use a projection
3.3. CG-HDG coupled formulation for the heat equation 71 to satisfy the transmission conditions. This formulation only requires the standard elemental matrices from HDG (after static condensation of local variables into trace variable) and CG domains, and a projection operation is used on the HDG elemental matrices before assembling into the global system. This requires minimal changes to the existing codes and it is noticed that, in the numerical results, this implementation gives practically the same results as the earlier one with same convergence rates. In this case, the Dirichlet boundary conditions for the local problem are defined as follows, θ1=(ˆ θ1on ∂Ωe 1\ΓI, P2(θ2)on ∂Ωe 1∩ΓI,(3.34) where in equation (3.34) the operator P2stands for the L2projection from the CG space Wh to the HDG space Vh. Hence, the trace is set to the projection of the CG solution on the faces along the interface, i.e., ˆ θ1=P2(θ2)on ∂Ωe 1∩ΓI. Consequently, the numerical normal flux along the interface is defined as, ˆ q1·n1=q1·n1+τ(θ1−P2(θ2)) on ∂Ωe 1∩ΓI.(3.35) The jump of fluxes along the interface is weighted with P2(δθ2)leading to, −hP2(δθ2),q1·n1+τ(θ1−P2(θ2))iΓI+hP2(δθ2), α2grad θ2·n2iΓI= 0.(3.36) Using (3.34) and (3.36), the weak formulation of the coupled discrete problem becomes: find (q1, θ1,ˆ θ1, θ2)∈Vh k(Ω1)2×Vh k(Ω1)×Λh k(Γ1\ΓI)×Wh k+1(Ω2)such that ˆ θ1=P2(¯ θ1)on ΓD 1, θ2= Πh(¯ θ2)on ΓD 2and (δθ1,div q1)Ωe 1+Dδθ1, τ(θ1−ˆ θ1)E∂Ωe 1\ΓI +hδθ1, τ(θ1−P2(θ2))i∂Ωe 1∩ΓI−(δθ1,¯g1)Ωe 1= 0, δq1, α−1 1q1Ωe 1−(div δq1, θ1)Ωe 1+Dδq1·n,ˆ θ1E∂Ωe 1\ΓI +hδq1·n1,P2(θ2)i∂Ωe 1∩ΓI= 0, (3.37a) for e= 1, . . . , mel and, mel X e=1 Dδˆ θ1,q1·n+τ(θ1−ˆ θ1)E∂Ωe 1\ΓI = 0,(3.37b) (grad δθ2, α2grad θ2)Ω2−hP2(δθ2),q1·n1+τ(θ1−P2(θ2))iΓI +h(P2(δθ2)−δθ2), α2grad θ2·n2iΓI−(δθ2,¯g2)Ω2= 0,(3.37c) for all (δq1, δθ1, δˆ θ1, δθ2)∈Vh k(Ω1)2×Vh k(Ω1)×Λh k(Γ1\ΓI)×Wh k+1(Ω2)such that δˆ θ1= 0 on ΓD 1and δθ2= 0 on ΓD 2. The weak form in equations (3.37) is similar to one presented earlier in equations (3.29) except for two major differences. First, θ2is now replaced by its projection, P2(θ2), in the HDG local problems (3.37a), and, second, an additional term h(P2(δθ2)−δθ2), α2grad θ2·n2iΓI appears in the last equation (3.37c). The implementation of this new term maybe cumbersome, because it requires the computation of the gradient of the CG elemental basis functions on the integration points on the interface. However, P2(δθ2)−δθ2=O(hk+1), where his the mesh size and kis degree of approximation, and therefore, this term can be safely neglected in the discrete problem without losing neither the convergence nor the accuracy of the solution.
72 Coupling of continuous and hybridizable discontinuous Galerkin methods This formulation does not require the computation of the new matrices that arise in (3.29), namely Bθθ and Bθq. The projection operation can be done in an element-by-element basis on the HDG elemental matrices for the elements along the interface boundary. For the sake of simplifying the presentation the nodal values of the CG approximation, θ2, are split into values for nodes on the interface, θI 2, and the remaining CG nodal values, θi 2. The system of equations can be then represented as, Aˆ θˆ θ0 0 Aˆ θθ Aˆ θq 0 PTAˆ θˆ θP+KII θθ KIi θθ PTAˆ θθ PTAˆ θq 0 KiI θθ Kii θθ 0 0 Aθˆ θAθˆ θP 0 Aθθ Aθq Aqˆ θAqˆ θP 0 Aqθ Aqq ˆ θ1 θI 2 θi 2 θ1 q1 = 0 ¯ gI 2 ¯ gi 2 ¯ g1 0 ,(3.38) where in equation (3.38), Pis the assembly of projection matrices on all the faces along the interface. This implementation can be easily plugged into any existing HDG solver for heat equation. Both coupled formulations (3.29) and (3.37) have been implemented and the comparison of the numerical results inferred that both are practically identical. In some tests, the first proposed formulation (3.29) gave slightly smaller errors. The difference might be due to neglecting the term P2(δθ2)−δθ2in the last formulation (3.37). However, the difference in the errors — even for the coarsest mesh — is negligible and, hence, in all the results presented in this work, the formulation with projection (3.37) is used neglecting the term P2(δθ2)−δθ2. 3.3.6 Convergence results In this section, the convergence results of the coupled CG-HDG formulation for the heat equation are presented. A square domain, Ω:= [0,1]2is considered with the analytical solution, θ= 1 + cos(πx1) cos(πx2).(3.39) Dirichlet boundary conditions are prescribed on all the exterior boundary. The domain is divided into two halves in vertical direction. The domain corresponding to HDG is Ω1:= [0,0.5] ×[0,1], the CG domain is Ω2:= [0.5,1] ×[0,1], and the interface, ΓI, is x1= 0.5. A suitable body force is computed from the heat equation with the considered analytical solution for both domains, with the diffusivity constants, α2=α1= 1. The results presented here consider a stability parameter of τ= 1 on all faces of each element in HDG domain, Ω1. Figure 3.8 shows the convergence for the coupled formulation with same degree for CG and HDG, with k= 1 −8and element size, h= 1/{21,22,23,24,25}. The error in θis measured by using L2norm of errors of the post-processed solution, θ∗ 1, in Ω1, and CG solution, θ2, in Ω2. Similarly, error in grad θis computed using L2norm of error in q1in Ω1and error in grad θ2in Ω2, that is, keθkL2(Ω) =q eθ∗ 1 2 L2(Ω1)+keθ2k2 L2(Ω2), kegrad θkL2(Ω) =qkeq1k2 L2(Ω1)+kegrad θ2k2 L2(Ω2).(3.40) When the degree of approximation kis used for both HDG and CG domains, even though HDG has superior convergence properties, errors in CG domain dominates for both θand
3.3. CG-HDG coupled formulation for the heat equation 73 −1.5−1−0.5 0 −10 −5 0 1.9 2 23 3 3 4.1 4.1 4 5 5 5 6 6 6 7 7 8 9 log(h) log keθkL2(Ω) k=1k=2k=3k=4 k=5k=6k=7k=8 (a) θ. −1.5−1−0.5 0 −10 −5 0 1 1 11.9 2 23 3 3 4 4 4 5 5 5 6 67 8 log(h) log kegrad θkL2(Ω) k=1k=2k=3k=4 k=5k=6k=7k=8 (b) grad θ. Figure 3.8: Coupled CG(Tk)-HDG(Tk): convergence plots in Ω. −1.5−1−0.5 0 −10 −5 0 2 2 23.7 3.8 3.7 4.5 4.5 4.5 5.7 5.6 5.6 6.7 6.6 6.5 7.8 7.5 8.8 7.1 log(h) log eθ∗ 1 L2(Ω1) k= 1 k= 2 k= 3 k= 4 k= 5 k= 6 k= 7 k= 8 (a) θ∗ 1. −1.5−1−0.5 0 −10 −5 0 1.9 2 22.6 2.6 2.6 3.6 3.5 3.5 4.7 4.6 4.6 5.6 5.6 5.4 6.7 6.5 7.5 6.5 log(h) log keq1kL2(Ω1) k= 1 k= 2 k= 3 k= 4 k= 5 k= 6 k= 7 k= 8 (b) q1. Figure 3.9: Coupled CG(Tk)-HDG(Tk): convergence plots in Ω1.
74 Coupling of continuous and hybridizable discontinuous Galerkin methods −1.5−1−0.5 0 −10 −5 0 3 3 3 4 4 4 5 5 5 6 6 6 7 7 6.8 8 7.5 9 7.5 log(h) log keθkL2(Ω) k=1k=2k=3k=4 k=5k=6k=7k=8 (a) θ. −1.5−1−0.5 0 −10 −5 0 1.9 2 23 3 3 4 4 4 5 5 5 6 6 5.5 7 6.8 8 6.4 log(h) log kegrad θkL2(Ω) k=1k=2k=3k=4 k=5k=6k=7k=8 (b) grad θ. Figure 3.10: Coupled CG(Tk+1)-HDG(Tk): convergence plots in Ω. grad θ. Hence, as shown in fig. 3.8a, the order of convergence of the coupled solution is k+ 1 for θ. Similarly, for grad θ, the order of convergence is k. Figure 3.9 shows the convergence of θ∗ 1and q1in Ω1for the coupled CG(Tk)-HDG(Tk) model. Sub-optimal convergence rates are observed in both variables: for k > 2,θ∗ 1converges with only k+ 1.5instead of k+ 2, and q1converges with order k+ 0.5instead of k+ 1. HDG super-convergence requires a solution of order k+ 1 for q1, and mean of θ1that converges with order k+ 2 in each element in Ω1. The elements in Ω1that share the interface, ΓI, do not possess the mentioned convergence rates because of the coupling with CG domain, Ω2. To address this shortcoming, higher degree of approximation is considered for the CG discretization. Figure 3.10a shows the convergence plots for a coupled approximation with degree kfor HDG and degree k+ 1 for CG. Optimal convergence rates of both methods are retained in this case. The post-processed solution of HDG with degree khas the same order of convergence, which is k+ 2, as the CG solution with degree k+ 1. Similarly, the flux q1of HDG converges with same order as grad θ2of CG, which is k+ 1. The same conclusions are drawn for quadrilateral elements as well and, hence, the results are omitted.
3.4. Coupled CG-HDG formulation for conjugate heat transfer problem 75 3.4 Coupled CG-HDG formulation for conjugate heat transfer problem 3.4.1 Governing equations Following fig. 3.6, the governing equations of the conjugate heat transfer problem in Ω1and Ω2are expressed as follows, L−grad u=0in Ω1, div (u⊗u)−div (−pI+νL)−f(θ1) = ¯ sin Ω1, div u= 0 in Ω1, (3.41a) q1+α1grad θ1=0in Ω1, div (q1+uθ1) = ¯g1in Ω1,(3.41b) −div (α2grad θ2) = ¯g2in Ω2,(3.41c) u=¯ uon ΓD 1∪ΓN 1∪ΓI,(3.41d) θ1=¯ θ1on ΓD 1, (q1+uθ1)·n= ¯qn1on ΓN 1,(3.41e) θ2=¯ θ2on ΓD 2, (−α2grad θ2)·n= ¯qn2on ΓN 2,(3.41f) θ1−θ2= 0 on ΓI, q1·n1−(α2grad θ2)·n2= 0 on ΓI.(3.41g) The body force, ¯ s, prescribed velocity, ¯ u, and heat generation, ¯g2and ¯g1, are zero for the conjugate heat transfer problem, per se. However, they are included in the governing equations as they have non-zero contribution in the numerical experiments considered in the convergence results. In the case of conjugate heat transfer problem, no-slip boundary condition is applied for fluid on all the boundary including the interface. Therefore, convective flux entering the solid domain is zero and the transmission conditions presented in (3.17f) and (3.17g) are valid for this example. In the numerical tests of convergence analysis, the convective flux on the interface is non-zero due to non-zero prescribed boundary velocity. However, this convective flux is assumed to be zero in order to use the same transmission conditions in (3.17g). The extension of coupled formulation presented in Section 3.3 to the conjugate heat transfer problem is straightforward and it is presented in next section. 3.4.2 Weak formulation The coupled CG-HDG formulation presented in Section 3.3.5 is used. Using (3.37) and (3.5), the weak formulation for the conjugate heat transfer problem can be stated as: find (u, p, L, θ1, q1,ˆ u, ρe,ˆ θ1, θ2)∈[Vh k(Ω1)]2×Vh k(Ω1)×[Vh k(Ω1)]2×2×Vh k(Ω1)×[Vh k(Ω1)]2×[Λh k(Γ1\ΓI)]2× Rmel ×Λh k(Γ1\ΓI)×Wh k+1(Ω2)such that u= Πh(¯ u)on ΓD 1∪ΓN 1∪ΓI,ˆ θ1=P2(¯ θ1)on ΓD 1, θ2= Πh(¯ θ2)on ΓD 2and (δL,L)Ωe 1+ (div δL,u)Ωe 1−hδLn,ˆ ui∂Ωe 1= 0, −(grad δu,u⊗u)Ωe 1−(δu,div (−pI+νL))Ωe 1 +hδu,(ˆ u⊗ˆ u)n+τu(u−ˆ u)i∂Ωe 1−(δu,f(θ1))Ωe 1−(δu,¯ s)Ωe 1= 0, −(grad δp, u)Ωe 1+hδp, ˆ u·ni∂Ωe 1= 0, (3.42a)
76 Coupling of continuous and hybridizable discontinuous Galerkin methods 1 |∂Ωe 1|hp, 1i∂Ωe 1=ρe,(3.42b) (δθ1,div q1)Ωe 1−(grad δθ1,uθ1)Ωe 1+hδθ1,(ˆ u·n)ˆ θ1i∂Ωe 1\ΓI +hδθ1, τθ(θ1−ˆ θ1)i∂Ωe 1\ΓI+hδθ1, τθ(θ1−P2(θ2))i∂Ωe 1∩ΓI−(δθ1,¯g1)Ωe 1= 0, δq1, α−1 1q1Ωe 1−(div δq1, θ1)Ωe 1+hδq1·n,ˆ θ1i∂Ωe 1\ΓI +hδq1·n1,P2(θ2)i∂Ωe 1∩ΓI= 0, (3.42c) for e= 1, . . . , mel, and, mel X e=1 hδˆ u,(−pI+νL)n+τu(ˆ u−u)i∂Ωe 1= 0, hˆ u·n,1i∂Ωe 1= 0 for e= 1, . . . , mel, (3.43a) mel X e=1 Dδˆ θ1,(q1+ˆ uˆ θ1)·n+τθ(θ1−ˆ θ1)E∂Ωe 1\ΓI =Dδˆ θ1,¯qn1EΓN 1 ,(3.43b) (grad δθ2, α2grad θ2)Ω2−hP2(δθ2),q1·n1+τθ(θ1−P2(θ2))iΓI +h(P2(δθ2)−δθ2), α2grad θ2·n2iΓI−(δθ2,¯g2)Ω2−hδθ2,¯qn2iΓN 2= 0.(3.43c) for all (δu, δp, δL, δθ1, δq1, δ ˆ u, δˆ θ1, δθ2)∈[Vh k(Ω1)]2× Vh k(Ω1)×[Vh k(Ω1)]2×2× Vh k(Ω1)× [Vh k(Ω1)]2×[Λh k(Γ1\ΓI)]2×Λh k(Γ1\ΓI)× Wh k+1(Ω2)such that δˆ u=0on ΓD 1∪ΓN 1∪ΓI, δˆ θ1= 0 on ΓD 1and δθ2= 0 on ΓD 2, where the discrete spaces are defined in (1.2). Here the coupling is made between heat equation in Ω2and the diffusive flux term of the convection-diffusion equation in Ω1. As discussed in the Section 3.3.5, the term h(P2(δθ2)−δθ2), α2grad θ2·n2iΓIcan be safely neglected without loss of neither the convergence nor accuracy. Finally, the residual and Jacobian matrices of the weak formulation (3.42) and (3.43) are presented in (3.44) and (3.45), respectively. In order to express the system in a compact form, the non-linear terms are absorbed into linear terms in (3.44) and (3.45). The matrix Auθ couples temperature to the momentum equation and the matrices Aθˆ θ(ˆu), Aθθ(u)couples velocity from Navier–Stokes to convection-diffusion equation. Following the static condensation technique, only unknowns in ˆu,ρ,ˆ θ1,θI 2and θi 2are solved in the final system and local variables are computed an element-by-element fashion. Recall from Section 3.3.5, θI 2and θi 2are the DOFs on the interface, Γ, and the interior of domain, Ω2. 3.4.3 Convergence results The convergence results of coupled CG-HDG formulation for conjugate heat transfer problem is presented in this section. The fluid domain is, Ω1:= [0,2] ×[−0.5,1.5], and the solid domain is, Ω2:= [2,4] ×[−0.5,1.5]. Hence, the interface, ΓI, lies at x1= 2. The analytical solutions considered for velocity, pressure and temperature are same as considered in (3.12). Dirichlet boundary conditions are prescribed on all the boundary of Ω1for velocity whereas, they are prescribed only for exterior boundaries of Ω1and Ω2for temperature. The body force and heat generation are computed from the analytical solutions using governing equations. All the material parameters used are same as the ones used in Section 3.2.3. The degree of approximation k= 1 −8and element size h= 2/{2,22,23,24,25,26}in each sub-domain are used in the analysis. Figure 3.11 shows the convergence of post-processed solution of velocity in Ω1and temperature in Ω = Ω1∪Ω2for triangular elements. It is clear from the plot that the optimal
3.4. Coupled CG-HDG formulation for conjugate heat transfer problem 77 −1.5−1−0.5 0 −10 −5 0 1.5 2.7 2.8 2.9 3.5 3.7 3.8 3.9 4.5 4.8 4.9 4.9 5.7 5.8 5.9 6 6.9 6.8 6.9 7.6 7.9 9 8.9 9.7 log(h) log keu∗kL2(Ω1) k= 1 k= 2 k= 3 k= 4 k= 5 k= 6 k= 7 k= 8 (a) u∗in Ω1. −1.5−1−0.5 0 −10 −5 0 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 8 8 9.1 8.5 10 log(h) log keθkL2(Ω) k= 1 k= 2 k= 3 k= 4 k= 5 k= 6 k= 7 k= 8 (b) θin Ω. Figure 3.11: Coupled CG(Tk+1)-HDG(Tk) for conjugate heat transfer problem: convergence plots of velocity and temperature. −14 −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h=0.25 h=0.125 h=0.0625 h=0.03125 log keθkL2(Ω) Ratio of CPU times k=2k=3k=4 (a) k= 2 −4. −14 −12 −10 −8−6−4−2 0 0.2 0.4 0.6 0.8 1 h=1 h=0.5 h=0.25 log keθkL2(Ω) Ratio of CPU times k=5k=6k=7k=8 (b) k= 5 −8. Figure 3.12: Coupled CG(Tk+1)-HDG(Tk) for conjugate heat transfer problem: ratio of CPU times for linear solver vs. error in temperature for triangular elements. Ratio of CPU times = CG(Tk+1)-HDG(Tk) time/CG(Tk+1)-CG(Tk+1Tk) time.
78 Coupling of continuous and hybridizable discontinuous Galerkin methods Aˆuˆu0 0 0 0 Aˆuu AˆuL Aˆup 0 0 0 Aρˆu0 0 0 0 0 0 0 0 0 0 0 0 Aˆ θˆ θ(ˆu)0 0 0 0 0 0 Aˆ θθ Aˆ θq 0 0 0 PTAˆ θˆ θ(ˆu)P+KII θθ KIi θθ 0 0 0 0 PTAˆ θθ PTAˆ θq 0 0 0 KiI θθ Kii θθ 0 0 0 0 0 0 Auˆu(ˆu)0 0 0 0 Auu(u)AuL Aup 0 Auθ 0 ALˆu0 0 0 0 ALu ALL 0 0 0 0 Apˆu0 0 0 0 Apu 0 0 AT ρp 0 0 0−1 0 0 0 0 0 Aρp 0 0 0 0 0 Aθˆ θ(ˆu)Aθˆ θ(ˆu)P 0 0 0 0 0 Aθθ(u)Aθq 0 0 Aqˆ θAqˆ θP 0 0 0 0 0 Aqθ Aqq ˆu ρ ˆ θ1 θI 2 θi 2 u L p λ θ1 q1 − ¯ t 0 ¯ qn1 ¯ gI 2+¯ qI n2 ¯ gi 2+¯ qi n2 ¯ fθ0 0 0 0 ¯ g1 0 =0,(3.44) Aˆuˆu0 0 0 0 Aˆuu AˆuL Aˆup 0 0 0 Aρˆu0 0 0 0 0 0 0 0 0 0 Aˆ θˆ θT (ˆ θ1)0 Aˆ θˆ θ(ˆu)0 0 0 0 0 0 Aˆ θθ Aˆ θq PTAˆ θˆ θT (θI 2)P 0 0 PTAˆ θˆ θ(ˆu)P KIi θθ 0 0 0 0 PTAˆ θθ PTAˆ θq +KII θθ 0 0 0 KiI θθ Kii θθ 0 0 0 0 0 0 Auˆu(ˆu) + AuˆuT (ˆu)0 0 0 0 Auu(u)AuL Aup 0 Auθ 0 +AuuT (u) ALˆu0 0 0 0 ALu ALL 0 0 0 0 Apˆu0 0 0 0 Apu 0 0 AT ρp 0 0 0−1 0 0 0 0 0 Aρp 0 0 0 Aθˆ θT (ˆ θ1) + Aθˆ θT (θI 2)P0Aθˆ θ(ˆu)Aθˆ θ(ˆu)P 0 AθθT (θ1)0 0 0 Aθθ(u)Aθq Aqˆ θT (ˆ θ1) + Aqˆ θT (θI 2)P 0 Aqˆ θAqˆ θP 0 0 0 0 0 Aqθ Aqq δˆu δρ δˆ θ1 δθI 2 δθi 2 δu δL δp δλ δθ1 δq1 =− rˆu rρ rˆ θ1 rθI 2 rθi 2 ru rL rp rλ rθ1 rq1 . (3.45)
3.5. Conclusions 85 Table 3.7: Conjugate heat transfer problem: computational details for CG-HDG and CG-CG for Ra = 105and h= 0.025. CG(Q6)-HDG(Q5)CG(Q6)-CG(Q6Q5) No. of DOFs, ndof 64 209 72 612 CPU time for linear solver 13.3 sec 25.5 sec No. of non-linear iterations 11 11 Condition number, κ(A)O(1010)O(1012) No. of non-zeros, nnz 7 377 875 11 033 375 3.5 Conclusions Optimal convergence and super-convergence rates are shown in the numerical tests for the coupled Navier–Stokes/convection-diffusion equations formulation with HDG. A study on computational efficiency is also presented for this problem and concluded that for the same level of accuracy HDG takes lesser CPU time for linear solver than CG when degree of approximation is greater than 2, which is the same conclusion drawn from study in Chapter 2. The results of Rayleigh–Bénard convection flow are presented until Ra of 108and the Nusselt numbers are compared between HDG, CG and literature values. Even though, both HDG and CG can resolve the solution at high Ra and show similar level of accuracy, it is noticed that HDG has less computational cost. CPU times for linear solver and condition numbers of HDG are lower than its CG counterpart for the same mesh and degree of approximation in the example considered. A coupled HDG and CG formulation for the heat equation is proposed and tested with numerical examples. As expected, optimal HDG and CG convergence rates are kept with the proposed CG-HDG coupled formulation for the heat equation when the degree of approximation for CG is one degree higher than HDG degree. Finally, the proposed CG-HDG coupling is merged with coupled HDG formulation for Navier–Stokes/convection-diffusion equations and optimal convergence rates are established. The relative CPU times for linear solver is compared between CG-HDG and CG-CG models and concluded CG-HDG model is more efficient. A similar study is performed between CGHDG and HDG-HDG models and inferred that both the models are very close in terms of CPU times for linear solver. The theoretical count on number of non-zero entries in CG-HDG and HDG-HDG models are also very similar. Hence, both CG-HDG and HDG-HDG models showed similar performance and memory requirements for considered examples. The benchmark problem of conjugate heat transfer is solved using CG-HDG and CG-CG models and compared to literature data. Both models give the identical results in terms of Nusselt numbers and mean temperature on interface, but, it is shown that CG-HDG model has higher computational efficiency than CG-CG model.
86
Chapter 4 Application to Glass Fiber Reinforced Polymer tubular cross-section 4.1 Overview This chapter presents the results of thermal response of a GFRP tubular cross-section subjected to fire. The problem description and corresponding governing equations are provided. The radiosity equation that governs the internal radiation is discussed in brief along its discretization details. An overview of the computation of discretization error and numerical uncertainty is presented in the context of practical application problems where analytical solution is not available. Finally, various numerical results of GFRP cross-section are presented and validated with the available experimental data. 4.2 Problem description 4.2.1 Geometry of GFRP cross-section The geometry of the GFRP tubular cross-section considered in the analysis is presented in fig. 4.1. The length of the cross-section is 0.1m with a GFRP thickness of 0.008 m. The specimen used in the experiments has rounded corners in the internal cavity with a fillet radius of 0.003 m. Most of the analysis is made with the cross-section with straight corners as shown in the fig. 4.1. This simplification in the model allows to generate structured meshes. Nevertheless, results are also provided for the geometry with rounded corners. 4.2.2 Governing equations Let Ωsrepresent the GFRP material and Ωfrepresent the air cavity inside GFRP tubular cross-section. The interface between Ωsand Ωfis designated as ΓR,i.e.,ΓR=∂Ωs∩∂Ωf. The exterior boundaries of the Ωsare divided into Γt,Γb,Γland Γr. The governing equations in both Ωsand Ωfalong with the boundary conditions are given as follows, ∂u ∂t + div (u⊗u)−div (−pI+νgrad u)−f(θf) = 0in Ωf, div u= 0 in Ωf, ∂θf ∂t + div (−αfgrad θf+uθf)=0 in Ωf, (4.1a) 87
88 Application to Glass Fiber Reinforced Polymer tubular cross-section 0.1 x1 x2 0.008 Γb ΓlΓr Γt ΓR Ωf Ωs Figure 4.1: Geometry and boundary conditions notations used for GFRP tubular cross-section All dimensions are in meters. ∂θs ∂t + div (−αs(θs) grad θs)=0 in Ωs,(4.1b) θf−θs= 0 on ΓR,(4.1c) −(κfgrad θf)·nf−(κs(θs) grad θs)·ns− 1−σ θ4 s−R= 0 on ΓR,(4.1d) u=0on ΓR,(4.1e) −(κs(θs) grad θs)·n+ha(θs) (θa−θs) + σ (θ4 a−θ4 s)=0 on Γt∪Γb,(4.1f) −(κs(θs) grad θs)·n= 0 on Γl∪Γr,(4.1g) with initial conditions θs=θf=θ0and u=0at t= 0. Equations (4.1a) are the transient incompressible Navier–Stokes equations coupled with convection-diffusion equation, where u is velocity of fluid, pis kinematic pressure, θfis the temperature of the air, νis the viscosity and αfis the thermal diffusivity of the air κf ρfcf p!. The natural buoyancy of the air is modelled using the Boussinesq approximation and the term f(θf)is defined as, f(θf) = −βg(θf−θ0),(4.2) where βis the Boussinesq term, gis the gravity force and θ0is the reference temperature. Equation (4.1b) is the heat conduction equation governing the temperature distribution in solid domain, Ωs, where, θsis the temperature of the GFRP and αsis the thermal diffusivity of the GFRP, which depends on temperature. The transmission conditions on the interface of fluid and solid domains are presented in equations (4.1c) and (4.1d) which represents continuity of temperature and equilibrium of normal component of the fluxes, respectively. In equation (4.1d), Ris the radiosity and it is discussed in the next section. No-slip boundary condition is prescribed on all the boundary of the fluid. In the case of the exterior boundary of the solid, a combination of convective and radiative boundary condition is applied on Γtand Γbin equation (4.1f), while homogeneous Neumann boundary conditions are applied on Γland Γrin equation (4.1g). In equation (4.1f), hastands for convective heat transfer coefficient, σis the Stefan–Boltzmann constant, is the emissivity and θais defined
4.2. Problem description 89 500 1,000 1,500 0 0.2 0.4 0.6 0.8 1 Temperature, θ Thermal conductivity, κs (a) Thermal conductivity, W m◦C. 500 1,000 1,500 0 1 2 3·103 Temperature, θ Specific heat, cs p (b) Specific heat capacity, J kg ◦C. Figure 4.2: Thermal properties of GFRP material as a function of temperature. as follows, θa=(θ0on Γt, θ0+ 345 log(8 t+ 1) on Γb,(4.3) where tis the time (in minutes). Equation (4.3) represents that the top face of GFRP crosssection is at the reference (ambient) temperature, while the bottom face is heated according to temperature profile given in ISO 834 (1975). 4.2.3 Material properties As stated earlier, the thermo-physical properties of GFRP are temperature-dependent. In the present analysis, the material properties proposed by Tracy (2005) are used, as suggested in the work of López (2017). Figure 4.2 shows the dependence of thermal conductivity and specific heat capacity of GFRP material with the temperature. The variation of density of the GFRP with temperature is shown in fig. 4.3. The emissivity, , of the GFRP is assumed as constant value of 0.75. The thermal properties of air are assumed to be constant throughout the analysis. The viscosity, ν, is taken as 1.67 ×10−5m2/s, thermal conductivity, κf, is 0.0256912 W m◦C, specific heat capacity, cf p, is 1004.592 J kg◦Cand density, ρf, is 1.2kg/m3. The Boussinesq parameter, β, is taken as 0.003 ◦C−1and vertical component of the gravity force vector is set to −9.81 m/s2. The convective heat transfer coefficient of air, ha, is also temperature dependent and it is computed by linear interpolation between 20◦C and 1000◦C where havaries between 5and 50 W m2◦C. The Stefan–Boltzmann constant, σ, is set to 5.669 ×10−8W m2◦C4.
90 Application to Glass Fiber Reinforced Polymer tubular cross-section 500 1,000 1,500 0 0.5 1 1.5 2·103 Temperature, θ Density, ρs Figure 4.3: Density of GFRP material as a function of temperature. x1 x2 x3 x ξ dSR(ξ) γx γξ r n(x) n(ξ) Figure 4.4: Schematic representation of radiative exchange between surfaces of a cavity. 4.3 Radiosity 4.3.1 Analytical equation The governing equations presented in (4.1) are not closed until a suitable definition for radiosity, R, is established. Figure 4.4 shows the schematic representation of the radiative exchange in a cavity between two generic surfaces in 3-D space. This radiative flux is computed using
4.4. Coupled CG-HDG formulation 91 the following equation, R=σ θ4+ (1 −)ZSR Rcos γxcos γξ πr2dSR,(4.4) where the angles γxand γξare the angles made by the vector, r=ξ−xwith the respective normals to the two surfaces and ris the norm of the vector, r. The particularization of equation (4.4) for a two-dimensional case can be expressed as follows (López et al., 2014), R=σ θ4+ (1 −)ZΓR Rcos γxcos γξ 2rdΓR,(4.5) where ΓRis a generic boundary of a surface. 4.3.2 Discretization Radiosity equation is an algebraic equation that is imposed in weak form. Using δR, which is arbitrary weighing function, the weak form of the radiosity equation can be expressed as follows, δR, R 1−ΓR =δR , σ 1−θ4ΓR +δR, DR , cos γxcos γξ 2rEΓRΓR .(4.6) Equation (4.6) is obtained by multiplying (4.5) with δR and dividing by 1−throughout. The internal radiative boundary can be discretized into several line elements along the boundary. Each line element interacts with all the other elements in absence of obstacles between them, i.e. the straight line joining two elements should not intersect the boundary. If eand kare two generic line elements, the weak form for radiosity can be rewritten as δRe,Re (1 −)Γe R =δRe, σ (1 −)(θe)4Γe R + nl X k=1 k6=e *δRe,Rk,cos γecos γk 2rΓk R+Γe R , (4.7) where γeand γkare the angles made by the line joining the elements eand kwith their respective internal normals. Here, nlis the number of elements on the interface, ΓR. 4.4 Coupled CG-HDG formulation 4.4.1 Weak formulation While presenting the weak formulation for the considered problem, the notation introduced in the previous chapters is re-defined for the mesh skeleton. The mesh skeleton, Γf, is defined as, Γf= mel [ e=1 ∂Ωe f,(4.8) where mel is the number of elements in Ωf. Similarly, pel is the number of elements in Ωs. The CG-HDG coupled weak formulation with BDF time integration scheme for the governing equations presented in (4.1) and (4.5) can be stated as: find (un+1, pn+1,Ln+1, θn+1 f, qn+1 f,ˆ un+1, ρn+1 e,ˆ θn+1 f, θn+1 s, Rn+1)∈[Vh k(Ωf)]2×Vh k(Ωf)×[Vh k(Ωf)]2×2×Vh k(Ωf)×[Vh k(Ωf)]2×
92 Application to Glass Fiber Reinforced Polymer tubular cross-section [Λh k(Γf\ΓR)]2×Rmel ×Λh k(Γf\ΓR)×Wh k+1(Ωs)×Σh k+1(ΓR)such that u0=0,θ0 s=θ0 f=θ0 and δL,Ln+1Ωe f +div δL,un+1Ωe f−hδLn,ˆ un+1i∂Ωe f= 0, δu,αµun+1 ∆tn+1 Ωe f−grad δu,un+1 ⊗un+1Ωe f−δu,div −pn+1I+νLn+1Ωe f +hδu,ˆ un+1 ⊗ˆ un+1n+τuun+1 −ˆ un+1i∂Ωe f −δu,f(θn+1 f)Ωe f−δu,un,BDFµ ∆tn+1 Ωe f = 0, −grad δp, un+1Ωe f +hδp, ˆ un+1 ·ni∂Ωe f= 0, (4.9a) 1 |∂Ωe f|hpn+1,1i∂Ωe f=ρn+1 e,(4.9b) δθf, ρfcpf αµθn+1 f ∆tn+1 !Ωe f +δθf, ρfcpfdiv qn+1 fΩe f−grad δθf, ρfcpfun+1 θn+1 fΩe f +hδθf, ρfcpf(ˆ un+1 ·n)ˆ θn+1 fi∂Ωe f\ΓR+Dδθf, ρfcpfτθ(θn+1 f−ˆ θn+1 f)E∂Ωe f\ΓR +Dδθf, ρfcpfτθ(θn+1 f−P2θn+1 s)E∂Ωe f∩ΓR− δθf, ρfcpf θn,BDFµ f ∆tn+1 !Ωe f = 0, (4.9c) δqf, α−1 fqn+1 fΩe f−div δqf, θn+1 fΩe f +Dδqf·n,ˆ θn+1 fE∂Ωe f\ΓR +δqf·nf,P2θn+1 s∂Ωe f∩ΓR= 0, (4.9d) for e= 1, . . . , mel, and, mel X e=1 δˆ u,−pn+1I+νLn+1n+τuˆ un+1 −un+1∂Ωe f = 0, ˆ un+1 ·n,1∂Ωe f = 0 for e= 1, . . . , mel, ˆ un+1 =0on ΓR, (4.10a) mel X e=1 Dδˆ θf,ρfcpf(qn+1 f+ˆ un+1 ˆ θn+1 f)·n+ρfcpfτθ(θn+1 f−ˆ θn+1 f)E∂Ωe f\ΓR = 0,(4.10b) δθs, ρs(θn+1 s)cps(θn+1 s)αµθn+1 s ∆tn+1 Ωs +grad δθs, κs(θn+1 s) grad θn+1 sΩs −P2(δθs), ρfcpfqn+1 f·nf+τθ(θn+1 f−P2(θn+1 s)) − 1−(σ(θn+1 s)4−Rn+1)ΓR − δθs, ρs(θn+1 s)cps(θn+1 s)θn,BDFµ s ∆tn+1 !Ωs −δθs, ha(θn+1 s)(θn+1 a−θn+1 s)Γt∪Γb −δθs, σ((θn+1 a)4−(θn+1 s)4)Γt∪Γb= 0, (4.10c)
4.4. Coupled CG-HDG formulation 93 nl X e=1 δR, Rn+1 (1 −)Γe R− nl X e=1 δR , σ (1 −)θn+1 s4Γe R − nl X e=1 nl X k=1 k6=e *δR , Rn+1,k ,cos γecos γk 2rΓk R+Γe R = 0, (4.10d) for all (δu, δp, δL, δθf, δqf, δ ˆ u, δˆ θf, δθs, δR)∈[Vh k(Ωf)]2×Vh k(Ωf)×[Vh k(Ωf)]2×2×Vh k(Ωf)× [Vh k(Ωf)]2×[Λh k(Γf\ΓR)]2×Λh k(Γf\ΓR)×Wh k+1(Ωs)×Σh k+1(ΓR)such that δˆ u=0on ΓRwhere the discrete spaces are defined in (1.2). Note that the term h(P2(δθs)−δθs), αsgrad θs·nsiΓR is already neglected while presenting the weak form. Equations (4.9c) and (4.10b) are multiplied by ρfcpfto be dimensionally consistent with the transmission conditions in (4.1d). The continuity in flux condition (4.1d) is stated using thermal conductivity coefficients, κsand κf, unlike thermal diffusivity coefficients, αsand αf, in the previous examples presented in this work. 4.4.2 Residual in matrix notation The matrix form of the residual vector corresponding to weak forms (4.9) and (4.10) at the time step n+ 1 can be expressed as follows, "Kgg Kgl Klg Kll #(xg xl)−(fg fl)=0,(4.11) where the suffixes gand lrepresent global and local variables, respectively and components in the residual are given in (4.12). The elemental matrices that arise from radiosity equation are provided in Appendix C. The tangent operators of the non-linear contributions are already provided in (3.45) and the only new terms in the present case are the non-linear contributions from the radiosity equation. They are also presented in Appendix C. The dependence of ρsand cs pon temperature is omitted in equation (4.12) for the ease of representation. Nevertheless, the tangent operators are computed taking the non-linear dependence of materials properties into consideration. 4.4.3 Methodology As presented in the case of conjugate heat transfer example, the present problem is solved using CG-HDG and CG-CG models. Both quadrilateral and triangular elements are considered in the analysis of the problem. Radiosity equation is discretized using 1-D high-order line elements based on Gauss–Lobatto points. The degree of approximation on radiosity elements is always the same as degree in Ωs, in both CG-HDG and CG-CG models. The time dependent terms are discretized using the BDF schemes presented earlier for Navier–Stokes equations. In the present example, results from both constant time step and adaptive time step are presented. The adaptive time stepping scheme presented in Algorithm 1 in Section 2.8.4 is used. The extension of the algorithm presented for Navier–Stokes to the present conjugate heat transfer problem is straightforward. Instead of using the estimated local error from velocity alone, local error from temperature in Ωfand Ωsare also considered in adapting the time step. The limiting constants used in this problem are the same ones that are provided in Section 2.8.4.
94 Application to Glass Fiber Reinforced Polymer tubular cross-section Kgg = Aˆuˆu0 0 0 0 0 Aρˆu0 0 0 0 0 0 0 ρfcf pAˆ θˆ θ(ˆu)0 0 0 0 0 0 ρfcf pPTAˆ θˆ θ(ˆu)Pρscs pKIi θθ 0 +ρscs pKII θθ +ρscs p ∆tMII θθ +ρscs p ∆tMIi θθ 0 0 0 ρscs pKiI θθ ρscs pKii θθ 0 +ρscs p ∆tMiI θθ +ρscs p ∆tMii θθ 0 0 0 0 0 KRR n+1 ,Kgl = Aˆuu AˆuL Aˆup 0 0 0 0 0 0 0 0 0 0 0 0 0 ρfcf pAˆ θθ ρfcf pAˆ θq 0 0 0 0 ρfcf pPTAˆ θθ ρfcf pPTAˆ θq 0 0 0 0 0 0 0 0 0 0 0 0 n+1 , Klg = Auˆu(ˆu)0 0 0 0 0 ALˆu0 0 0 0 0 Apˆu0 0 0 0 0 0−1 0 0 0 0 0 0 ρfcf pAθˆ θ(ˆu)ρfcf pAθˆ θ(ˆu)P00 0 0 Aqˆ θAqˆ θP 0 0 n+1 ,Kll = Auu(u)AuL Aup 0 Auθ 0 +1 ∆tMuu ALu ALL 0 0 0 0 Apu 0 0 AT ρp 0 0 0 0 Aρp 0 0 0 0 0 0 0 ρfcf pAθθ(u)ρfcf pAθq +ρfcf p ∆tMθθ 0 0 0 0 Aqθ Aqq n+1 , xg=nˆun+1 ρn+1 ˆ θn+1 fθI,n+1 sθi,n+1 sRn+1 oT, xl=nun+1 Ln+1 pn+1 λn+1 θn+1 fqn+1 foT, fg=n0 0 0 fI,n+1 θ(θs,R) + ρscs p ∆tMθθθI,n,BDFµ sfi,n+1 θ(θs,R) + ρscs p ∆tMθθθi,n,BDFµ sfn+1 RoT, fl=n¯ fn+1 θ0+1 ∆tMuuun,BDFµ000ρfcf p ∆tMθθθn,BDFµ f0oT. (4.12)
4.6. Numerical results 101 24.1 184 343 TemperatureFluid (230/310) 24.1 184 343 TemperatureSolid (230/310) X Y Z 24.1 184 343 TemperatureFluid (230/310) 24.1 184 343 TemperatureSolid (230/310) X Y Z 24.1 184 343 (e) Temperature isolines at t= 230 sec. 4.6e-08 0.137 0.273 Velocity_Magnitude (230/310) TemperatureSolid (385/399) X Y Z 4.6e-08 0.137 0.273 Velocity_Magnitude (230/310) TemperatureSolid (385/399) X Y Z 0 0.14 0.27 (f) Velocity isolines at t= 230 sec. 24.3 276 527 TemperatureFluid (385/399) 24.3 276 527 TemperatureSolid (385/399) X Y Z 24.3 276 527 TemperatureFluid (385/399) 24.3 276 527 TemperatureSolid (385/399) X Y Z 24.3 276 527 (g) Temperature isolines at t= 385 sec. 1.71e-07 0.176 0.352 Velocity_Magnitude (385/399) TemperatureSolid (310/399) X Y Z 1.71e-07 0.176 0.352 Velocity_Magnitude (385/399) TemperatureSolid (310/399) X Y Z 0 0.18 0.35 (h) Velocity isolines at t= 385 sec. Figure 4.7: GFRP problem: Evolution of temperature and velocity in the cavity at at t= 50,150,230 and 385 sec using coupled CG(Q2)-HDG(Q1) model. Post-processed solutions are shown in Ωf. Continuation.
102 Application to Glass Fiber Reinforced Polymer tubular cross-section 300 302 304 306 308 310 312 314 316 318 320 80 85 90 95 100 105 110 115 120 300 305 310 315 320 80 90 100 110 120 t(sec) θ∗ f(◦C)at (0.05,0.05) (a) Post-processed temperature in the cavity at (0.05,0.05). 300 302 304 306 308 310 312 314 316 318 320 2.8 3 3.2 3.4 3.6 3.8 4 4.2 4.4 4.6 104 300 305 310 315 320 4 4.5 5 5.5 6 6.5 t(sec) Nu (b) Average Nusselt number along x2= 0.008. Figure 4.8: GFRP problem: variation of temperature and Nusselt numbers with time. positions are presented in table 4.1. Thermocouples T1, T2 and T3 are present in the top flange, T4, T5 and T6 in the web and T7 in the bottom flange (Morgado et al., 2013b). Air x1 x2 T4 T5 T6 T7 T1T2T3 Figure 4.9: Locations of thermocouples in GFRP cross-section. Thermocouple x1(m) x2(m) T1 0.040 0.098 T2 0.050 0.096 T3 0.060 0.094 T4 0.004 0.075 T5 0.004 0.050 T6 0.004 0.025 T7 0.050 0.004 Table 4.1: Positions of different thermocouples. The average Nusselt number quantifies the amount of energy being added to the system with time. Since, it shows an oscillatory behaviour as shown in fig. 4.8b, the average Nusselt number is averaged in time in order to be able to compare the numerical results between different coupled models. This averaging in time is done by using method of moving average, also known as rolling mean. A simple moving average method is used in the present context and it is applied to average Nusselt number which can be expressed as follows, Numa(tj) = 1 2w+ 1 j+w X k=j−w Nu(tk),(4.25)
4.6. Numerical results 103 where Numa(tj)is the moving average value of Nusselt number at time step jand wis the length of the window on either side of jth time step. Hence, a central mean is obtained by taking the average of wtime steps in forward and backward directions of time step j. In the present work, the parameter wis chosen to cover 1 second of time and hence, for different time steps wchanges. This method is analogous to using a low-pass filter to remove the higher frequencies. This procedure is done successively until a smooth averaged variation in time obtained. It is noticed that in the present case, applying this moving average method for 5 times removes all the high frequency data and a smooth trend in time is obtained. 4.6.3 Estimation of uncertainty In this section, uncertainties in temperature of thermocouples in GFRP cross-section and average Nusselt number are computed. This study is performed for CG(Q2)-CG(Q2Q1) and CG(Q2)-HDG(Q1) coupled models which have optimal order of convergence of 3 for velocity and temperature and 2for pressure and heat flux. For each mesh M1, M2, M3 and M4, computations with four different time steps of 0.0625/{20,21,22,23}are considered. This gives 16 systematically refined solutions in space and time. However, it is noticed from the results that the meshes M1 and M2 are clearly not in asymptotic limit for the considered degree of approximation. Hence, results corresponding to M1 and M2 are discarded from the analysis, which leaves with 8 different solutions. If θc iis the temperature at any thermocouple c,Numa,i(tj)is the average Nusselt number at any time step j, then discretization errors in the corresponding quantities for any solution ican be written as, εi(θc) = θc i−θc≈ch,1hi+ch,2h2 i+ch,3h3 i+ct,1∆ti+ct,2∆t2 i, εi(Numa(tj)) = Numa,i(tj)−Numa(tj)≈ch,1hi+ch,2h2 i+ct,1∆ti+ct,2∆t2 i, (4.26) for i= 1,...,8. Since, flux is only second-order accurate, the term ch,3h3 iis eliminated in the expression for εi(Numa). Therefore, there are 6 unknowns in error equation corresponding to temperature, while only 5 in the case of Nusselt number. In any case, there are 8 different solutions, which are more than enough to compute the unknown variables from both quantities. In all the results, it is noticed that the terms corresponding to first-order in space and second-order in time, i.e.,ch,1hiand ct,2∆t2 i, are significant compared to other terms. This suggests that the convergence in space is restricted to order 1due to the presence of singularities, whereas optimal convergence order of 2is recovered in time. Firstly, the results of evolution of temperature in different thermocouples and moving average of space averaged Nusselt number, Numa, are presented for CG(Q2)-CG(Q2Q1) and CG(Q2)-HDG(Q1) coupled models for the mesh M4 and time step of 0.0625/23sec in fig. 4.10. These solutions correspond to the finest grid size and smallest time step and hence, are the most accurate solutions available for both coupled models. From the fig. 4.10, it is evident that both coupled models produced very similar results. In fig. 4.10a, a slight difference between temperatures in T1, T2 and T3 can be noticed, while the results are very similar in figs. 4.10b and 4.10c, i.e., temperatures in web and bottom flange. The temperatures in top flange i.e., T1, T2 and T3 are observed to be higher than in the web. The temperature isolines in fig. 4.7 suggest that the heat flux entering the top flange is higher compared to the web and hence, higher temperatures. It is noticed that the temperature evolution of T7 is the same for both coupled models, as presented in fig. 4.10c. This is to be expected, as both coupled models use CG to discretize GFRP part and the effect of fluid convection on this thermocouple is very small. Finally, the moving average of the average Nusselt number of
104 Application to Glass Fiber Reinforced Polymer tubular cross-section 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T1(CC) T2(CC) T3(CC) T1(CH) T2(CH) T3(CH) (a) Temperature in the top flange. 0 50 100 150 200 250 300 350 400 20 25 30 35 40 45 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T4(CC) T5(CC) T6(CC) T4(CH) T5(CH) T6(CH) (b) Temperature in the web. 0 50 100 150 200 250 300 350 400 Time(sec) 0 50 100 150 200 250 300 Temperature 0 100 200 300 400 0 100 200 300 t(sec) θs(◦C) T7(CC) T7(CH) (c) Temperature in the bottom flange. 0 50 100 150 200 250 300 350 400 Time(sec) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Temperature 104 0 100 200 300 400 0 2 4 6 t(sec) Numa CG-CG CG-HDG (d) Average Nusselt number. Figure 4.10: GFRP problem: evolution of temperature in thermocouples and average Nusselt number with time using mesh M4 and time step used is 0.0625/23. CC and CH denotes CG-HDG and CG-CG models, respectively.
4.6. Numerical results 105 Table 4.2: RMS values of errors in temperature for different thermocouples and average Nusselt number for the considered coupled models. Model Thermocouples (in ◦C) Nusselt Number T1 T2 T3 T4 T5 T6 T7 CG-HDG 0.3011 0.0519 0.1542 0.0171 0.0204 0.0205 0.0510 0.0715 CG-CG 0.0645 0.6023 3.4795 0.0573 0.0124 0.0098 0.0261 0.1221 both CG-HDG and CG-CG coupled models are in very good agreement. The kink observed in the average Nusselt number plot in fig. 4.10d around t= 225 sec coincides with the time where the instabilities appear in the convective cells and the flow becomes oscillatory. Figure 4.11 shows the estimated uncertainty in the temperature of the thermocouples and the average Nusselt number for both coupled models. The time period of t= 200 −400 sec is considered to present the uncertainty interval as solutions tend to change more with refinement after t= 200 sec. One common trend observed in most of the data points is that uncertainty is very small and most of the times, intervals from coupled CG-HDG and CG-CG models overlap. This concludes that the considered coupled models give very similar results in the present context. In fig. 4.11a, it can be noticed that the error in thermocouple T3 of CG-CG coupled model produces a larger uncertainty compared to all other quantities. This might be due to the poor non-linear least-squares fit and this error interval can be deemed to be unreliable. Figure 4.11d shows the moving average of the average Nusselt number for both coupled models and they are in good agreement. However, the largest uncertainty interval obtained in the case of average Nusselt number for both coupled models is around t= 240 sec. As stated earlier, this time instance is in transition phase, where an oscillatory behaviour starts to develop in the cavity. Once, the flow develops into oscillatory behaviour, the uncertainty interval is very small for both coupled models. The time instance at which the oscillations start depends on the numerical perturbations which depends on mesh, time step, etc. Hence, the uncertainty is larger in this phase and once the flow settles into oscillatory behaviour, both models converge to the same solution. It is very difficult to assess the quality of the solutions based on the uncertainties presented in fig. 4.11. Hence, a Root Mean Square (RMS) value of error is computed for the thermocouple temperatures and average Nusselt number to compare the average errors of both coupled models. Table 4.2 shows the RMS values of errors for different thermocouples and average Nusselt number for coupled CG-HDG and CG-CG models. It can be observed from the error values of thermocouple temperatures that CG-HDG is better in some cases, while CG-CG produces smaller errors in other cases. Nevertheless, the errors are very low, i.e., within 1% for most of the results for both coupled models. Thermocouple T3 of CG-CG coupled model has the highest RMS value of error. As stated earlier, this might be due to unreliable data fitting and hence, should be of least importance. Even in the case of average Nusselt number, the error is within 1% of maximum Nusselt number in time for CG-HDG model, while it is within 2% for coupled CG-CG model. Hence, it can concluded that both models give the results with very close accuracy. Now, it is interesting to compare the CPU times taken by the linear solvers for both coupled models. Table 4.3 shows the total time taken by the linear solver and the number of solves that both coupled models needed for the same mesh and time step. Even though,
106 Application to Glass Fiber Reinforced Polymer tubular cross-section 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 50 Temperature 200 250 300 350 400 20 30 40 50 t(sec) θs(◦C) T1(CC) T2(CC) T3(CC) T1(CH) T2(CH) T3(CH) (a) Temperature in the top flange. 200 250 300 350 400 Time(sec) 20 22 24 26 28 30 32 34 36 38 40 Temperature 200 250 300 350 400 20 25 30 35 40 t(sec) θs(◦C) T4(CC) T5(CC) T6(CC) T4(CH) T5(CH) T6(CH) (b) Temperature in the web. 200 250 300 350 400 Time(sec) 100 120 140 160 180 200 220 240 260 280 300 Temperature 200 250 300 350 400 100 150 200 250 300 t(sec) θs(◦C) T7(CC) T7(CH) (c) Temperature in the bottom flange. 180 200 220 240 260 280 300 320 340 360 380 400 Time 1 1.5 2 2.5 3 3.5 4 4.5 5 Avg Nusselt Number 104 200 250 300 350 400 0 2 4 6 t(sec) Numa CG-CG CG-HDG (d) Average Nusselt number. Figure 4.11: GFRP problem: uncertainty in temperature in thermocouples and average Nusselt number with time using mesh M4 and time step used is 0.0625/23. CC and CH denotes CG-HDG and CG-CG models, respectively.
4.6. Numerical results 107 Table 4.3: Computational details for coupled CG(Q2)-CG(Q2Q1) and CG(Q2)-HDG(Q1) models for GFRP problem with mesh M4 and time step of 0.0625/23. Model ndof nnz Total CPU time for linear solver (in hours) Number of solves CPU Time/solve (in seconds) CG-HDG 1 28 064 45 93 485 567 hr 1 74 687 11.69 sec CG-CG 1 09 028 46 03 053 854 hr 1 74 716 17.61 sec coupled CG-HDG model has more DOFs compared to coupled CG-CG model, the number of non-zero entries in the global matrix is marginally lower for CG-HDG model. Coupled CG-HDG is clearly favourable when number of solves and total CPU time for linear solver is considered. CG-HDG model is at least 1.5 times faster than CG-CG model when CPU time for solving one system is considered. In the examples presented in the previous chapters, CG-CG model is very competitive at low-degree approximations when the same mesh is considered. However, it can be concluded that CG-HDG coupled model can be competitive, even at the low-degree approximations, when highly refined meshes are used. 4.6.4 High-order results In this section, results obtained using high-order elements using coupled CG(Qk+1)-HDG(Qk) and CG(Qk+1)-CG(Qk+1Qk) are presented. The mesh size and degree of approximation are chosen in such a way that the approximate total number of nodes are constant. Following this idea, mesh M2 with elements of degree k= 4 has approximately the same number of nodes of mesh M1 with degree k= 8. Hence, mesh M1 is considered with coupled CG(Q8)-HDG(Q7) and CG(Q8)-CG(Q8Q7) models. In the same way, mesh M2 is chosen with coupled CG(Q4)- HDG(Q3) and CG(Q4)-CG(Q4Q3) models. All the results presented use a constant time step of 0.0625/23, which is the smallest time step in this analysis. Figure 4.12 presents the results of temperatures in the thermocouples and the average Nusselt number for coupled CG(Qk+1)-HDG(Qk) model for different degrees of approximations. The results from both computations are very close to each other in all the quantities. It can be observed from plots in fig. 4.12 that the computations with CG(Q4)-HDG(Q3) model slightly under predicts compared to numerical results of CG(Q8)-HDG(Q7) model. Moreover, the uncertainty estimates computed from the earlier study are used here to verify the results and it is noticed that the results of the two higher order approximations, k= 3 and k= 7, are in good agreement with the established confidence intervals. It is worth noting that these higher order results have a numerical uncertainty of their own. From the plots, it can be inferred that these uncertainties either match the computed estimates or overlap the part of the interval. Figure 4.13 presents the results of the coupled CG(Qk+1)-CG(Qk+1Qk) model with high-degree approximations. In this case, the results from both degrees of approximation practically coincide. As shown in fig. 4.13, it is very difficult to distinguish the results from the plots. The uncertainty estimates of CG-CG model from earlier study are shown in the plots to verify them. It is noticed that all the obtained results are well within the uncertainty intervals for both set of results. The notable difference in the results between two degrees of approximations in the coupled CG-HDG models can be observed in thermocouple T3 and the average Nusselt number as shown in figs. 4.12a and 4.12d. These two quantities have a strong dependence on the
108 Application to Glass Fiber Reinforced Polymer tubular cross-section 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T1(k= 7) T2(k= 7) T3(k= 7) T1(k= 3) T2(k= 3) T3(k= 3) (a) Temperature in the top flange. 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T4(k= 7) T5(k= 7) T6(k= 7) T4(k= 3) T5(k= 3) T6(k= 3) (b) Temperature in the web. 0 50 100 150 200 250 300 350 400 Time(sec) 0 50 100 150 200 250 300 Temperature 0 100 200 300 400 0 100 200 300 t(sec) θs(◦C) T7(k= 7) T7(k= 3) (c) Temperature in the bottom flange. 0 50 100 150 200 250 300 350 400 Time(sec) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Temperature 104 0 100 200 300 400 0 2 4 6 t(sec) Numa k= 7 k= 3 (d) Average Nusselt number. Figure 4.12: GFRP problem: evolution temperature in thermocouples and average Nusselt number with time with high-order elements using coupled CG(Qk+1)-HDG(Qk) model. Solid lines and dashed lines correspond to M1 and M2 meshes, respectively and time step used is 0.0625/23.
4.6. Numerical results 109 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T1(k= 7) T2(k= 7) T3(k= 7) T1(k= 3) T2(k= 3) T3(k= 3) (a) Temperature in the top flange. 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T4(k= 7) T5(k= 7) T6(k= 7) T4(k= 3) T5(k= 3) T6(k= 3) (b) Temperature in the web. 0 50 100 150 200 250 300 350 400 Time(sec) 0 50 100 150 200 250 300 Temperature 0 100 200 300 400 0 100 200 300 t(sec) θs(◦C) T7(k= 7) T7(k= 3) (c) Temperature in the bottom flange. 0 50 100 150 200 250 300 350 400 Time(sec) 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 Temperature 104 0 100 200 300 400 0 2 4 6 t(sec) Numa k= 7 k= 3 (d) Average Nusselt number. Figure 4.13: GFRP problem: evolution temperature in thermocouples and average Nusselt number with time with high-order elements using coupled CG(Qk+1)-CG(Qk+1Qk) model. Solid lines and dashed lines correspond to M1 and M2 meshes, respectively and time step used is 0.0625/23.
110 Application to Glass Fiber Reinforced Polymer tubular cross-section Table 4.4: Computational details for coupled CG(Qk+1)-HDG(Qk) and CG(Qk+1)- CG(Qk+1Qk) models for GFRP problem with mesh M1 (k= 7) and mesh M2 (k= 3) with a time step of 0.0625/23. Model ndof nnz Total CPU time for linear solver (in hours) Number of solves CPU Time/solve (in seconds) CG(Q8)-HDG(Q7) 9 188 10 48 569 62.0 hr 1 74 696 1.277 sec CG(Q4)-HDG(Q3) 17 200 10 98 805 91.4 hr 1 74 538 1.885 sec CG(Q8)-CG(Q8Q7) 10 232 14 80 905 84.3 hr 1 74 683 1.731 sec CG(Q4)-CG(Q4Q3) 17 724 13 90 933 123 hr 1 74 654 2.539 sec convection of the air inside the cavity and hence, the difference in results can be attributed to differences in the fluid solutions between both results. This could be due to the existence of singularities introduced by the geometry at the four corners of the cavity, as stated earlier in the chapter. The consequences of the singularities on the proposed CG-HDG model is not clear, as all the examples considered until this point in the work have smooth solutions. This coupled formulation needs a thorough mathematical analysis to understand the effect of the singularities in the solution. As this is out of scope of the present thesis, it can be referred as one of the future developments of the present work. Finally, CPU times for linear solvers are compared along with other important computational quantities. Table 4.4 summarises the comparison between the two sets of the results with coupled CG-HDG and CG-CG models. First, comparing within CG-HDG and CG-CG models infers that high-order computations take lower CPU time for linear solver than loworder ones. Even though, there is significant difference in ndof and the number of non-zero entries, nnz, are approximately the same for each degree of approximation of the corresponding coupled models. However, the comparison of coupled CG-HDG model with coupled CG-CG model for corresponding degrees of approximations suggest that CG-HDG is more efficient for both computations for the meshes M1 (k= 7) and M2 (k= 3) with the ratio of CPU times around 0.7 favouring CG-HDG model. Hence, the conclusion inferred from study in Chapter 2 with benchmark example holds in this present practical application problem. 4.6.5 Results with rounded corners in cavity This section presents the results performed using rounded corners in the cavity of the GFRP profile cross-section. Meshes UM1 and UM2 are used in the analysis along with the time step of 0.0625/23. This type of geometry ensures the absence of singularities and it is more realistic geometric configuration. However, unstructured meshes are considered. Since the corners are rounded, the average Nusselt number is redefined as follows, Nu =−1 θa−θ0Z0.089 0.011 ∂θs ∂x2 ds. (4.27) where the limits 0.011 and 0.089 correspond to straight edge segment of the cavity after excluding the rounded corners which have a fillet radius of 0.003 m. As done in the previous example, mesh UM1 is discretized using elements of degree of approximation, k= 7 and mesh UM2 with k= 3 for the considered coupled CG(Tk+1)-HDG(Tk) and CG(Tk+1)-CG(Tk+1Tk) models.
4.6. Numerical results 117 245 245.5 246 246.5 247 247.5 248 248.5 249 249.5 250 Time(sec) 4 5 6 7 8 9 10 11 12 13 10-4 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 Time step 104 245 246 247 248 249 250 0.4 0.6 0.8 1 1.2 ·10−3 t(sec) ∆t(sec) ∆tNuma 2.8 3 3.2 3.4 3.6 3.8 4 (a) Coupled CG(Q2)-HDG(Q1) model. 245 245.5 246 246.5 247 247.5 248 248.5 249 249.5 250 Time(sec) 4 5 6 7 8 9 10 11 12 10-4 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 Time step 104 245 246 247 248 249 250 0.4 0.6 0.8 1 1.2·10−3 t(sec) ∆tNuma 2.8 3 3.2 3.4 3.6 3.8 4 Numa (b) Coupled CG(Q2)-CG(Q2Q1) model. Figure 4.19: GFRP problem: variation of time step and average Nusselt number with time for the considered coupled models. the flow. Coupled CG-HDG model takes marginally fewer time steps to reach 250 sec than coupled CG-CG model. However, both coupled models are very similar in adapting the time step, as suggested by the various results presented in the section. 4.6.7 Experimental validation Finally, this chapter is concluded by presenting the experimental results available for this problem. Figure 4.20 shows the experimental validation of temperatures in thermocouples for the coupled CG-HDG numerical model with mesh M4 and time step of 0.0625/23sec. The experimental data is obtained from the works of Morgado et al. (2013b,a). It can be noticed from the plots that the experimental results are not in agreement with the numerical ones. The discrepancy is more pronounced in the case of T5 and T6 as shown in fig. 4.20b. This might be due to the fact that experimental data has its own uncertainty. It is observed from the experimental data that the initial temperatures in different thermocouples have values between 24◦C−29◦C. Hence, the data has uncertainty in input parameters as well. Following Vaz et al. (2016), the validation uncertainty, Uval, can be expressed as U2 val =U2 num +U2 exp +U2 inp,(4.28) where Unum is the numerical uncertainty, Uexp is the experimental uncertainty and Uinp is the input parameters uncertainty. The uncertainty in the numerical results is quantified and it is concluded that it carries a relatively small error. Therefore, the difference between the experimental and numerical results can be from uncertainties in experiments and input data. It can also be noticed that the thermocouple T6 is placed closer to the bottom face where the GFRP is exposed to fire. In the physical experiments, this is carried out in an oven by
118 Application to Glass Fiber Reinforced Polymer tubular cross-section 0 50 100 150 200 250 300 350 400 Time(sec) 20 25 30 35 40 45 Temperature 0 100 200 300 400 20 25 30 35 40 45 t(sec) θs(◦C) T1(Exp) T1(CG-HDG) T2(Exp) T2(CG-HDG) T3(Exp) T3(CG-HDG) (a) Temperature in the top flange. 0 50 100 150 200 250 300 350 400 Time(sec) 20 30 40 50 60 70 80 90 Temperature 0 100 200 300 400 20 40 60 80 t(sec) θs(◦C) T4(Exp) T4(CG-HDG) T5(Exp) T5(CG-HDG) T6(Exp) T6(CG-HDG) (b) Temperature in the web. 0 50 100 150 200 250 300 350 400 Time(sec) 50 100 150 200 250 300 Temperature 0 100 200 300 400 0 100 200 300 t(sec) θs(◦C) T7(Exp) T7(CG-HDG) (c) Temperature in the bottom flange. Figure 4.20: GFRP problem: experimental data of temperature in thermocouples and numerical results of coupled CG(Q2)-CG(Q2Q1) model with time using mesh M4 and time step 0.0625/23sec.
4.7. Conclusions 119 insulating the lateral faces with wool. By inspecting the experimental results, this insulation is not well installed and hence, an abnormal rise in the temperature in T5 and T6 is observed which are closer to exposed fire. This argument is supported by thermocouple T4, which agrees well with the numerical results. The agreement of temperature in this thermocouple can be attributed to its location, which is far away from the exposed fire and hence, better insulated. Similarly, thermocouples in the top flange show an ambiguous variation experimentally. From the fig. 4.20a, it can be observed that the temperature in thermocouple T2 is higher than in T3, even though T3 is placed closer to exposed face. This can be due to congested installation of three thermocouples in a small section of 8 mm thickness of GFRP section. The temperature in the bottom flange also shows a significant difference from numerical results, however, the slopes of the two curves are in good agreement suggesting that the numerical model could capture the solution qualitatively. 4.7 Conclusions Engineering parameters of importance, like temperature in different sections of thermocouples and average Nusselt number, are used to present the results of thermal response of GFRP tubular cross-section. Discretization errors are computed by using the results from different meshes and time steps. The computed discretization errors are used to estimate the numerical uncertainty in quantities of interest. The uncertainty estimates from both coupled CG-HDG and CG-CG models are very similar when a good fit is obtained. The intervals either match or overlap in most of the cases for both coupled models. However, it is observed that CG-HDG model takes lesser CPU time for linear solver to obtain the solution for the total considered time. It is also noticed that the number of solves between the two coupled models is very similar. The results of high-order elements are compared with the numerical uncertainty that is computed with low-order elements. It is noticed that the results are in good agreement for the most part. In both coupled models, it is observed that using coarser high-order meshes is more efficient than finer low-order mesh. Also, coupled CG-HDG model takes lesser CPU time than the coupled CG-CG counterpart when results from same mesh are compared. Results from the geometry with rounded corners in the cavity are also presented and inferred that the temperatures are in good agreement while the average Nusselt numbers show significant differences. Finally, the adaptive time stepping scheme results are provided for both coupled models. The temperature in the thermocouples and average Nusselt number are within the uncertainty intervals for both coupled models. The variation of time step is very similar for both coupled models. When the flow loses symmetry, the time step decreases to resolve the flow more accurately. It is also noticed that the time step goes into an oscillatory phase in both models. A comparison of number of time steps needed by both coupled models to reach 250 sec concludes that coupled CG-HDG model takes slightly lesser time steps than coupled CG-CG model. The chapter is concluded by comparing the experimental results with coupled CGHDG numerical results for the temperatures in thermocouples of GFRP and discrepancies between numerical and experimental data are attempted to be explained.
120
Chapter 5 Summary and future developments 5.1 Summary The first part of this thesis involved in devising the CG-CG formulation for the problem of a GFRP tubular cross-section. The weak formulations were derived and a code was successfully implemented and rigorously tested with various verification examples. Some of the crucial convergence results are presented in the thesis and the optimal rates are observed in all of the numerical tests. Previous works (López, 2017) on predicting the thermal behaviour of GFRP tubular cross-section problem indicated the presence of instabilities in the solution of fluid in the cavity. Hence, one of the main goals defined for this work was to discretize the cavity part of the same GFRP cross-section with a state-of-the-art HDG method. In the literature, HDG methods are claimed to be superior to conventional CG and some DG methods in terms of stability and convergence properties. Regarding computational efficiency, the work of Kirby et al. (2012) focused on comparison of CPU times between HDG and CG for the Laplace equation in 2-D and concluded that HDG can be as efficient as CG for high-degree approximations. However, there were no studies on the computational efficiency of HDG compared to CG for Stokes/Navier–Stokes equations were available in the literature. Hence as a preliminary study, a computational efficiency study was made between HDG and CG for Stokes/Navier–Stokes problems by implementing a HDG code on the same platform as CG. The advantage of using high-degree approximations in terms of CPU time for linear solver was demonstrated for both CG and HDG frameworks. Comparison of CPU times concluded that HDG presents a superior computational efficiency than CG for high-degree approximations. This conclusion was in-agreement with the earlier study of Kirby et al. (2012). In the NACA airfoil example, the ratios of CPU times for k≥5were observed to be around 0.5−0.6 favouring HDG, while in the work of Kirby et al. (2012), the best ratio of CPU time obtained was only around 0.8−0.9, also favouring HDG. It is to be noted that these ratios can be dependent on the choice of linear solvers. Nonetheless, this study showed that HDG can have higher gains in computational efficiency for fluid flow problems at low Reynolds numbers when compared to CG. Following this work, a comparative study on stability between HDG and CG for Navier– Stokes problem was made. With the aid of a manufactured solution that produces a sharp front near the boundary, it was concluded that HDG has superior stability properties than CG. No stabilization methods like SUPG were considered for CG in this study while, the stabilization parameter, τu, was tuned to obtain the convergence of non-linear solver in the case of HDG. It could be argued that the study is biased towards HDG because of the tuning of τu, which incorporates upwinding-like stabilisation. However, it should be noted 121
122 Summary and future developments that the stabilization parameter, τu, is inherent to the HDG formulation, without which the convergence and uniqueness of the method cannot be proved. Hence, the stabilization constant, τu, can be regarded as an added parameter in addition to mesh size, h, and degree of approximation, k, that can be tuned while seeking for a solution. Stabilization techniques like SUPG requires an additional implementation overhead for CG, while in HDG this is not the case. The second part of the thesis was to propose a coupled CG-HDG formulation for the conjugate heat transfer problem, where fluid and solid domains would be discretized by HDG and CG, respectively. The coupled variables between fluid and solid domains in this type of problem are temperature and heat flux. Hence, a coupled CG-HDG formulation was derived for the heat conduction equation. From the numerical experiments, it was understood that the CG discretization needed to be one degree higher than HDG to keep the optimal convergence in both methods. Later, an alternative coupled CG-HDG formulation was presented, which loosely based on similar idea as the first proposed model. The projection technique was used to impose the continuity of temperature and fluxes at the interface in this alternative coupled model. From the convergence tests, it was concluded that both coupled models provided similar results. The previous HDG formulation that was applied to the Navier–Stokes equations was then extended to the coupled Navier–Stokes/convection-diffusion model and the formulation was verified using convergence tests. Results of Rayleigh–Bénard convection flow are presented and results of CG and HDG methods were compared. Finally, the proposed coupled CG-HDG model was integrated with the coupled Navier–Stokes/convection-diffusion equations to solve conjugate heat transfer problems. A comparison of CPU times for linear solver for the coupled CG-HDG and CG-CG models was provided and it was observed that CG-HDG was more efficient at low and high-degree approximations. Besides, a theoretical count of number of non-zero entries was derived for both coupled CG-HDG and CG-CG models. In order to make this study a complete one, a coupled HDG-HDG model was formulated and implemented for the conjugate heat transfer problem. It was noticed that the accuracy and efficiency of HDG-HDG model, in the examples considered in this work, was very similar to proposed CG-HDG coupled model. The final part of the thesis presents the application of the developed CG-HDG formulation to the prediction of the thermal behaviour of GFRP tubular cross-section. In this problem, the internal radiation within the cavity should be taken into account in the conjugate heat transfer model. Hence, the discretization of radiosity equation, which governs internal radiation, was detailed using the Galerkin formulation. The internal radiation model was added to the coupled CG-HDG conjugate heat transfer model. Since, this problem do not have an analytical solution, a priori error estimation was not possible. Therefore, a posteriori error estimation methods were considered to present the results. Computations with different meshes in space and time were considered to estimate the discretization error. This problem demands a very small time step and finer meshes to be in the asymptotic range of the respective discretizations. This requires more computational resources and advanced implementations (like parallelization) which is outside the scope of this thesis. As non-monotonic convergence was noticed in results, the estimated discretization errors were transformed into uncertainty to establish confidence intervals. Again, the coupled CG-HDG model outperforms the coupled CG-CG model in terms of computational efficiency.
5.2. Future work 123 (a) Square domain with 8 elements. (b) Barycentrically refined mesh. Figure 5.1: Barcentric refinement for Scott–Vogelius elements. 5.2 Future work 5.2.1 Comparison between CG and HDG There are plenty of other aspects can be considered in the comparison between CG and HDG for incompressible Navier–Stokes equations. One of the important being the usage of iterative solvers to solve the linear system of equations. In very large test cases in 2-D and most of the applications in 3-D limits the usage of direct solvers because of large memory requirements. Hence, a comparative study between two methods with iterative solvers can be of significant importance to understand the relative merits of both discretizations. The work of Yakovlev et al. (2016) concluded that there is need to develop effective preconditioners for HDG to solve the linear systems arising from Laplace equation in 3-D. Extending this conclusion to linear systems arising from Stokes/Navier–Stokes equations is not straightforward as they result in saddle point systems, unlike the positive definite matrices arising in the Laplace equation problem. In this work only Taylor–Hood elements were considered for CG discretization of Navier– Stokes equations. However, there has been recent developments in divergence-free elements like Scott–Vogelius (Scott and Vogelius, 1985). This type of elements use discontinuous approximations for pressure on barycentrically-refined meshes as shown in fig. 5.1. Hence, all the pressure DOFs have local support which can be reduced to a single unknown per each element in the global system by static condensation. Cousins et al. (2013) did a comparative study between Scott–Vogelius and Taylor–Hood elements. The work demonstrated that Scott–Vogelius have potential gains in efficiency of iterative solvers in 3-D over Taylor–Hood elements. Besides, divergence-free velocity field satisfies the mass conservation equation in Scott–Vogelius elements more accurately. The importance of the mass conservation property in the context of buoyancy flows is demonstrated in the work of Keith et al. (2012). However, the apparent restrictions on the meshes of Scott–Vogelius elements limit their application to practical problems, like the one considered in the present work. Nevertheless, it would be interesting to compare the accuracy and efficiency of Scott–Vogelius elements with divergence-free HDG formulations for Navier–Stokes equations. As stated in Chapter 1, Embedded Discontinuous Galerkin (EDG) (Güzey et al., 2007) and Multi-scale Discontinuous Galerkin (MDG) (Hughes et al., 2006) methods use continuous trace approximation which results in identical number of DOFs for velocity compared to CG.
124 Summary and future developments Hence, they result in smaller number of overall DOFs compared to HDG. Even though they do not possess the super-convergence property, adding the results from EDG and MDG would improve the quality of the comparison. 5.2.2 Coupled CG-HDG formulation At the start of this work, it was assumed that using CG in the solid part of conjugate heat transfer problem is the best choice in terms of computational efficiency. The rationale behind that choice was that the solution in solid part is smooth, which does not need stabilisation and also, CG has lower number of DOFs compared to HDG for second-order elliptic operators. Hence, the present coupled CG-HDG formulation was devised for heat equation. However, during the course of the work, it was inferred that the coupled HDG-HDG formulation is very similar in terms of CPU time for linear solver and memory requirements. These conclusions hold for the examples considered in the present work using direct solvers. The computational efficiency and complexity of the proposed algorithm can be studied using problems with bigger computational domains and iterative solvers. In addition, the proposed coupled CG-HDG formulation can be extended to incompressible Navier–Stokes equations. HDG can be used in the part of the domain where discontinuities and/or boundary layers are present and CG in the part where solution is smooth. This coupled formulation enhances the computational efficiency at low-order approximations of HDG at the same time retaining the superior stability properties. Finally, the mathematical analysis of the proposed coupled formulation for second-order elliptic operators needs to be developed. In the present work, convergence is established using numerical experiments. However, there is a scope to develop the mathematical analysis of existence and uniqueness of the coupled formulation. 5.2.3 High-order time integration The BDF schemes considered in this work are not A-stable for order, µ > 2. Hence, highorder BDF schemes are not recommended. Several choices for high-order time integration are available like Runge–Kutta (RK) methods (Hairer et al., 1993), which are unconditionally stable. Let ˙ y=f(t, y)be an initial value problem with initial condition y(t0) = y0, then a s−stage RK method can be expressed as follows, yn+1 =yn+ ∆tnPs i=1 biki, ki=f(tn+ci∆tn,un+ ∆tnPs i=1 aijkj), i = 1, . . . , s, (5.1) where coefficients in equation (5.1) are usually represented by Butcher table, c1a11 . . . a1s c1a11 . . . a1s . . .. . .. . .. . . csas1. . . ass b1. . . bs =c A bT.(5.2) If ndof is the total number of DOFs of a system, a s−stage fully implicit Runge–Kutta (IRK) scheme requires to solve a non-linear system of dimension sndof. Hence, IRK schemes are rather computationally expensive. On the other hand, s−stage Diagonally Implicit Runge– Kutta (DIRK) methods are devised by keeping aij = 0 for i<jwhich require solutions
5.2. Future work 125 to snon-linear system of equations with dimension ndof. However, DIRK methods suffers from order reduction for Differential Algebraic Equation (DAE) systems (Hairer et al., 1993, Rang, 2007). The pressure can only be approximated with first or second-order using DIRK methods (Montlaur et al., 2012, Rang, 2016). A linearisation of DIRK method leads to so-called Rosenbrock–Wanner (ROW) method which can be expressed as follows, ki=f(tn+αi∆tn,un+ ∆tn i−1 X j=1 αijkj)+∆tnfy i X j=1 γijkj+ ∆tnγift(tn,yn), i = 1, . . . , s, (5.3) where fyand ftdenotes the Jacobian and time derivative of fin equation (5.3). This scheme requires only the solution of slinear systems, when s−stage ROW method is employed at each time step. This is due to the fact that left hand side matrix is independent of the stage number. This scheme can be computationally efficient as it not necessary to solve a nonlinear system of equations at each time, but only fixed number of systems. Nevertheless, this scheme has the limitation of order reduction too. There are different ROW methods proposed in the literature that can attain orders of 3 and 4 (Lubich and Roche, 1990, Steinebach, 1995, Rang and Angermann, 2005). Moreover, in the work of Montlaur et al. (2012), the author concluded that ROW method can be computationally efficient at low to moderate levels of accuracy. Hence, ROW method of time integration scheme can be beneficial in the context of present work as it practically requires only one factorisation of linear system per each time step. In addition, embedded schemes can be devised for ROW and Runge-Kutta time integration schemes to compute the local error that can be used to adapt the time step without additional computational overhead. 5.2.4 Code development The present code was implemented in FORTRAN using open-source libraries to solve the linear system of equations. As presented in Chapter 4, the solution of the considered GFRP tubular cross-section required very fine meshes with small time steps to predict the thermal behaviour. Even though several optimizations were used in the code, there is still a potential to further improve the code. In the present work, all the elemental matrices are pre-computed including the non-linear ones. This ensures that the loop in Gauss points is eliminated at each non-linear iteration to assemble the local elemental matrices. A big improvement on total CPU time was noticed, especially at high-order approximations with this implementation. However, there is still a considerable amount of CPU time spent on condensing the elemental matrices. This cost is more pronounced in the case of HDG, as the local unknowns are more than CG ones. One way to optimize this part to the code is to use shared memory computing, i.e., OpenMP. This is relatively easy to include in the code and compute the elemental matrices in parallel on several threads. More complicated parallelization algorithms can also be considered like domain decomposition methods (Li et al., 2014). However, in the context of the present work, it is not strictly necessary. Regarding the linear solvers, multi-thread supported like PARDISO (Petra et al., 2014b,a) linear solvers can also be used to improve the total run time.
126