In-Situ Visualization in Computational Fluid Dynamics Using Open-Source tools: Integration of Catalyst into Code_Saturne

Author(s):  
Alejandro Ribés ◽  
Benjamin Lorendeau ◽  
Julien Jomier ◽  
Yvan Fournier
Author(s):  
Ivaylo Nedyalkov

Abstract Computational Fluid Dynamics (CFD) is widely used in industry but is not discussed sufficiently in undergraduate engineering education. In some cases, CFD is studied only from a mathematical perspective, focusing on computational partial differential equations, and in some cases it is introduced as a black-box tool. A hybrid CFD class was developed for undergraduate and graduate students at the University of New Hampshire, which combines the two approaches. The students are exposed to the mathematics and physics behind CFD, and they also utilize OpenFOAM — an open source CFD package — to work on practical problems. Since the code is open-source, the students are able to see and modify it. Although OpenFOAM is challenging due to the minimum graphical user interface, the code-base environment forces the students to learn what the code is doing. Sample assignments and project submissions from the students are presented in the paper.


2020 ◽  
Author(s):  
Richard Love ◽  
Derek. W. T. Jackson ◽  
J. Andrew G. Cooper ◽  
Jean-Philippe Avouac ◽  
Thomas A. G. Smyth ◽  
...  

<p>Wind flows on Mars are the dominant contemporary force driving sediment transport and associated morphological change on the planet’s dune fields. To fully understand the atmospheric – surface interactions occurring on the dunes, investigations need to be conducted at appropriate length scales (at or below that of any landform features being examined).</p><p>The spatial resolution of Martian Global Circulation Models (GCMs) is too low to adequately understand atmospheric-surface processes. Nevertheless, they can be utilised to establish initial state and boundary conditions for finer-scale simulations. Mesoscale atmospheric models have been used before to understand forcing and modification of entire dune fields. However, their resolution is still too coarse to fully understand interactions between the boundary layer and the surface. This study aims to examine and improve our understanding of local-scale processes using microscale (e.g., 1.5m cell spacing) airflow modelling to better investigate localised topographic effects on wind velocity and associated aeolian geomorphology.</p><p>Toward these aims, this study will simulate microscale wind flow using computational fluid dynamics software (OpenFOAM) at a series of sites containing a variety of topographies and wind regimes. A Mars GCM will provide input for baseline mesoscale modelling runs, the output of which will then be used as input for microscale airflow modelling. The sites used for the study will have excellent orbital, or preferentially, in situ data coverage. Detailed HiRISE imagery will provide high-resolution Digital Terrain Models (DTMs) which will be used by the OpenFOAM simulations. Results from model simulations will be evaluated/validated using both in situ data and geomorphic analysis of imagery.</p>


Author(s):  
Ivaylo Nedyalkov ◽  
Martin Wosnik

Computational Fluid Dynamics (CFD) has become a widely used tool in industry as the cost for simulations is usually lower than the cost for multiple experiments. CFD is an effective tool for comparing design alternatives, investigating specific flow features and in some cases it may be the only feasible option for studying engineering flows. As a result, the demand for mechanical engineers with CFD skills keeps increasing. Nevertheless CFD is still not adequately presented in undergraduate engineering curricula, which can lead to expensive mistakes, if for example it is relied on without understanding its limitations. One excellent platform for CFD, which can be introduced to fluid mechanics classes, is the open-source environment OpenFOAM, which is widely used in both academia and industry. In addition to being open-source, OpenFOAM code can be viewed and modified by the user, and a wide range of modules for OpenFOAM are available with new modules being developed constantly. One major disadvantage, however, is that OpenFOAM has a rather steep learning curve and although there are many resources available online, it is difficult to find short introductory courses. A tutorial was developed to provide a brief introduction to OpenFOAM and allow the students to perform simple simulations. Upon completing the tutorial, the students can build their own simulations. The tutorial covers geometry, mesh, boundary and initial conditions, solvers, schemes, post processing, and some additional features, such as shell scripts and parallel processing. A large portion of the tutorial is devoted to the geometry and mesh generation as this is one of the more challenging aspects of OpenFOAM compared to conventional graphical user interface CFD packages. Nevertheless, the students are exposed to the importance of properly setting the other simulation parameters through simple examples — e.g., comparing 2D channel flow simulations using potential flow and using turbulence modeling. One crucial aspect of the tutorial is that students are encouraged to experiment with deliberate modifications of the simulations to experience and understand how some of them do not provide reasonable results. Although the tutorial is rather brief and does not cover the topics in much detail, it aims to familiarize students with the basics of OpenFOAM, so that they can better understand other relevant resources. The OpenFOAM tutorial offers an alternative introduction to CFD compared to commercial CFD packages, which may not be readily available. The tutorial has already been utilized for three consecutive years at the University of New Hampshire, mostly by undergraduate students who worked/are working on senior projects involving CFD. The feedback has been generally positive.


2014 ◽  
Vol 687-691 ◽  
pp. 3183-3186
Author(s):  
Xiao Guang Ren

OpenFOAM is a widely used open source computational fluid dynamics (CFD) , and the performance of its application is critical for the CFD user, and many researchers try to optimize it from various perspectives. In this paper, we try to optimization OpenFOAM application from the compiler perspective, which is the simplest way to get the optimization affect. We compare two mainstream compilers: Intel compiler icc and an open source compiler, as well as a serious of optimization option flags. Through the experiment, we find that Intel compiler has a much better performance than gcc, which is up to 9.88%, and a suitable combination of the optimization option flags is important to the compile performance.


2021 ◽  
Author(s):  
Elizabeth Smith

Abstract Many augmented reality sandboxes use a single purpose implementation of standard numerical schemes to solve the Saint-Venant equations for shallow water in real time. This work evaluates the open-source computational fluid dynamics (CFD) package OpenFOAM as an alternative to the custom implementations traditionally used. Many sandboxes are used in educational and research settings and CFD engines with costly licensing was not desirable. The goal of this work is to identify or create an OpenFOAM solver that handles features such as dry conditions and complex topographies. The existing shallowWaterFoam solver was identified as the best candidate but required modification to handle scenarios representative of the target application. Replacing the existing custom numerical algorithm with the OpenFOAM software will more easily allow future incorporation additional phenomena.


2015 ◽  
Vol 656-657 ◽  
pp. 676-681 ◽  
Author(s):  
Panit Kamma ◽  
Chakrit Suvanjumrat

The open source code software, OpenFOAM, based on the computational fluid dynamics (CFD) was implemented to simulate the methane jet flame. The large eddy simulation (LES) of turbulence model was written using C++ language. The mixture fraction approach and infinitely-fast chemistry assumption was combined with this LES turbulence model. The results of jet flame simulation were validated with Yi Zeng etal., (2011) experiments based on flame lengths under flow rate and pressure conditions of 5.95-23.81 mg/s and 50-100 kPa, respectively. It was found that an average error of flame lengths obtained from the developed CFD model was 8.57% when referred the 1% O2 remaining was a flame shape.


Sign in / Sign up

Export Citation Format

Share Document