Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency
碩士 === 國立臺灣海洋大學 === 河海工程學系 === 103 === In this study, we use the generalized finite difference method (GFDM) to simulate the two-dimensional fluid fields of incompressible viscous fluid. In order to accelerate the computational speed, we parallelize our program on a multithreading computer which has...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2015
|
Online Access: | http://ndltd.ncl.edu.tw/handle/xdb9qq |
id |
ndltd-TW-103NTOU5192036 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-103NTOU51920362019-05-15T22:18:02Z http://ndltd.ncl.edu.tw/handle/xdb9qq Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency 以廣義有限差分法求解二維速度—渦度方程式及其平行化效率評估 Chang, Chien-Chung 張建忠 碩士 國立臺灣海洋大學 河海工程學系 103 In this study, we use the generalized finite difference method (GFDM) to simulate the two-dimensional fluid fields of incompressible viscous fluid. In order to accelerate the computational speed, we parallelize our program on a multithreading computer which has shared memory architecture. To validate the feasibility, accuracy and the parallel efficiency of the meshless method proposed in this article, we provided three numerical examples. The velocity-vorticity formulation are solved in this study and it is another form of the standard Navier-Stokes equations. The problem of the pressure term and the pressure boundary condition in the primary-variable formulation of the Navier-Stokes equations can be overcame. In addition, the number of the unknown variables in the velocity-vorticity formulation is the same as the primary-variable formulation in two-dimensional fluid fields. Therefore, the velocity-vorticity formulation has great potential to be used in engineering applications. The methods, used for flow fields, usually require grids in the computational domain, such as the finite difference method and the finite volume method. Instead, we adopt the GFDM, a novel meshless method. It can get rid of mesh generation and numerical quadrature as well as construct a sparse matrix by introducing the localized concept. Moreover, we used the parallelizable non-symmetric sparse matrix direct solver to solve the resultant linear algebraic system. The GFDM is based on the moving-least-square method to approximate the derivatives at every node in computational domain by linear summation of nodal values. Therefore, the programming by using the GFDM is quite easy and convenient and can reduce the probability of ill-conditioned matrix. On the other hand, we use the implicit Euler method on the time quadrature, so we can adopt larger time step to acquire the stable result. To apply the above methods will result in non-linear algebraic equations. We solve it by the Newton’s method because its convergence is at least quadratic. In this paper, we analyze the two-dimensional flow fields of incompressible viscous fluid, described by the velocity-vorticity formulation, by using the GFDM, the implicit Euler method and the Newton’s method. To verify the accuracy and the stability of our model, we simulated some examples include cavity flow, rectangular cavity flow, and staggered double cavity flow. The results of these examples are very similar to previous work, so we can deduce that our model has the ability for accurately solving flow-field problems. We also examine the influence of the variables in our model, such as, the number of total nodes, the number of nodes in the sub-domain and the length of time steps. All these results and comparisons can verify the accuracy, consistency, and stability of our model. We also parallelized the developed model by OpenMP and test the efficiency on a shared memory computer. According to the results, our parallelized model provided a satisfying efficiency when four threads are used. Fan, Chia-Ming 范佳銘 2015 學位論文 ; thesis 122 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立臺灣海洋大學 === 河海工程學系 === 103 === In this study, we use the generalized finite difference method (GFDM) to simulate the two-dimensional fluid fields of incompressible viscous fluid. In order to accelerate the computational speed, we parallelize our program on a multithreading computer which has shared memory architecture. To validate the feasibility, accuracy and the parallel efficiency of the meshless method proposed in this article, we provided three numerical examples. The velocity-vorticity formulation are solved in this study and it is another form of the standard Navier-Stokes equations. The problem of the pressure term and the pressure boundary condition in the primary-variable formulation of the Navier-Stokes equations can be overcame. In addition, the number of the unknown variables in the velocity-vorticity formulation is the same as the primary-variable formulation in two-dimensional fluid fields. Therefore, the velocity-vorticity formulation has great potential to be used in engineering applications.
The methods, used for flow fields, usually require grids in the computational domain, such as the finite difference method and the finite volume method. Instead, we adopt the GFDM, a novel meshless method. It can get rid of mesh generation and numerical quadrature as well as construct a sparse matrix by introducing the localized concept. Moreover, we used the parallelizable non-symmetric sparse matrix direct solver to solve the resultant linear algebraic system. The GFDM is based on the moving-least-square method to approximate the derivatives at every node in computational domain by linear summation of nodal values. Therefore, the programming by using the GFDM is quite easy and convenient and can reduce the probability of ill-conditioned matrix. On the other hand, we use the implicit Euler method on the time quadrature, so we can adopt larger time step to acquire the stable result. To apply the above methods will result in non-linear algebraic equations. We solve it by the Newton’s method because its convergence is at least quadratic.
In this paper, we analyze the two-dimensional flow fields of incompressible viscous fluid, described by the velocity-vorticity formulation, by using the GFDM, the implicit Euler method and the Newton’s method. To verify the accuracy and the stability of our model, we simulated some examples include cavity flow, rectangular cavity flow, and staggered double cavity flow. The results of these examples are very similar to previous work, so we can deduce that our model has the ability for accurately solving flow-field problems. We also examine the influence of the variables in our model, such as, the number of total nodes, the number of nodes in the sub-domain and the length of time steps. All these results and comparisons can verify the accuracy, consistency, and stability of our model.
We also parallelized the developed model by OpenMP and test the efficiency on a shared memory computer. According to the results, our parallelized model provided a satisfying efficiency when four threads are used.
|
author2 |
Fan, Chia-Ming |
author_facet |
Fan, Chia-Ming Chang, Chien-Chung 張建忠 |
author |
Chang, Chien-Chung 張建忠 |
spellingShingle |
Chang, Chien-Chung 張建忠 Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
author_sort |
Chang, Chien-Chung |
title |
Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
title_short |
Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
title_full |
Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
title_fullStr |
Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
title_full_unstemmed |
Generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
title_sort |
generalized finite difference method for two-dimensional velocity-vorticity formulation and the assessment of its parallel efficiency |
publishDate |
2015 |
url |
http://ndltd.ncl.edu.tw/handle/xdb9qq |
work_keys_str_mv |
AT changchienchung generalizedfinitedifferencemethodfortwodimensionalvelocityvorticityformulationandtheassessmentofitsparallelefficiency AT zhāngjiànzhōng generalizedfinitedifferencemethodfortwodimensionalvelocityvorticityformulationandtheassessmentofitsparallelefficiency AT changchienchung yǐguǎngyìyǒuxiànchàfēnfǎqiújiěèrwéisùdùwōdùfāngchéngshìjíqípíngxínghuàxiàolǜpínggū AT zhāngjiànzhōng yǐguǎngyìyǒuxiànchàfēnfǎqiújiěèrwéisùdùwōdùfāngchéngshìjíqípíngxínghuàxiàolǜpínggū |
_version_ |
1719128816356425728 |