Research Repository
Applications of multithreading paradigms to stimulate turbulent flows
Grossman, Igor (2017) Applications of multithreading paradigms to stimulate turbulent flows. PhD thesis, Victoria University.

Text
GROSSMAN Igorthesis_nosignature.pdf  Submitted Version Download (2MB)  Preview 
Abstract
Flow structures in turbulent flows span many orders of magnitude of length and time scales. They range from the length scale at which very small eddies lose their coherence as their translational kinetic energy is dissipated into heat, up to eddies the size of which is related to that of the macroscopic system. The behaviour of the range of flow structures can be captured by assuming that the fluid is a continuum, and they can be described by solving the NavierStokes equations. However, analytical solutions of the NavierStokes equations exist only for simple cases. A complete description of turbulent flow in which the flow variables velocity and pressure are resolved as a function of space and time can be obtained only numerically. The instantaneous range of scales in turbulent flows increases rapidly with the Reynolds number. As a result, most engineering problems have a wide range of scales that can be computed using direct numerical simulation (DNS). As the complexity of the calculated flows increases, an improvement in turbulence models is often needed. One way to overcome this problem is to search for models that better capture the features of turbulence. Furthermore, the models should be parameterised in a way that allows flows to be simulated under a wide range of conditions. DNS is a useful tool in this endeavour, and it can be used to complement the longestablished methodologies of experimental research. A large number of computational grids must be used to simulate a high Reynolds number inflows that occur in the complicated geometries often encountered in practical applications. This approach requires a considerable amount of computational power. For example, reducing the grid spacing in half increases the computational cost by a factor of about sixteen. Challenges presented by limitations imposed by computer hardware significantly limit the number of practical numerical solutions required to satisfy engineering needs. In this work, we propose an alternative approach. Rather than running an application that solves the NavierStokes equations on one computer, we have developed a platform that allows a group of computers to communicate with one another working together to obtain a solution of a specific flow problem. This approach helps to overcome the problem of hardware limitations. However, to grasp these challenges, we must devise new strategies to computational paradigms associated with parallel computing. In the case of solving the NavierStokes equations, we have to deal with significant computational and memory requirements. To overcome these requirements, software should be able to be run on many highperformance computers simultaneously, and network communication may become a new limiting issue that is specific only to parallel environments. Translating to parallel environments triggers several scenarios that do not exist when developing software that executes sequential operations. For example, "racing conditions" may appear that result in many threads that attempt to use different values of a shared variable, or they simultaneously attempt to overwrite it. The order of executions may be random as the operating system can swap between the threads at any time. Attempts to synchronise the threads may result in "deadlock" when all resources become simultaneously locked. Debugging and problemsolving in parallel environments is quite often difficult due to the potentially random nature of the orders in which threads run. All of these features require the development of new paradigms, and we must transform our way of envisioning the development of software for parallel execution. The solution to this problem is the motivation for the work presented in this thesis. A significant contribution of this work is to strategically use the ideas of thread injection to speed up the execution of sequential code. Bottlenecks are identified, and thread injection is used to parallelise the code that may be distributed to many different systems. This approach is implemented by creating a class that takes control over the sequential instructions that create the bottlenecks. The challenge to engineers and scientists is to determine how a given task can be split into components that can be run in parallel. The method is illustrated by applying it to Channelflow (Gibson, 2014), which is opensource Direct Numerical Simulation software used to simulate flows between two parallel plates. Another challenge that arises when approaching representations of real geometries is the scale and magnitude of the data samples. For example, Johns Hopkins Turbulent Database (JHTB) contains results of the solution of direct numerical simulation (DNS) of isotropic turbulent flow in the incompressible fluid in 3D space and only requires 100 TB data. Much more data needed to perform a simulation, and this is just a straightforward model. A natural answer to this challenge is to exploit the opportunities offered by contemporary applications of ‘database technology’ in computational fluid dynamics (CFD) and turbulence research. Direct numerical solution of the NavierStokes equations resolves all of the flow structures that influence turbulent flows. Still, in the case of Large Eddy Simulation, the NavierStokes equations are spatially filtered so that they are expressed in terms of the velocities of largerscale structures. The rate of viscous dissipation is quantified by modelling the shear stress, and this process can lead to inaccuracies. A means of rapid testing and evaluation of models is therefore required, and this involves working with large data sets. The contribution of this work is the development of a computational platform that allows LES models to be dynamically loaded and to be rapidly evaluated against DNS data. An idea permeating the methodology is that a core is defined that contains the ‘knowhow’ associated with accessing and manipulating data, and which operates independently of a plugin. The thesis presents an example that demonstrates how users can examine the accuracy of LES models and obtain results almost instantaneously. Such methods allow engineers or scientists to propose their own LES models and implement them as a plug in with only a few lines of code. We have demonstrated how it can be done by converting the Smagorinsky model to a plugin to be used on our platform.
Item Type:  Thesis (PhD thesis) 

Uncontrolled Keywords:  turbulent flows; NavierStokes equations; direct numerical simulation; thread injection; Johns Hopkins Turbulent Database; computational fluid dynamics; Large Eddy Simulation 
Subjects:  Current > FOR Classification > 0802 Computation Theory and Mathematics Current > FOR Classification > 0915 Interdisciplinary Engineering Current > Division/Research > College of Science and Engineering 
Depositing User:  VUIR 
Date Deposited:  22 May 2020 06:21 
Last Modified:  22 May 2020 06:21 
URI:  http://vuir.vu.edu.au/id/eprint/40454 
ePrint Statistics:  View download statistics for this item 
Repository staff only
View Item 