skip to main content


Title: Teaching Modeling Turbulent Flow Around Building Using LES Turbulence Method and Open-source Software OpenFOAM
In our earlier work (https://github.com/rpsuark/ASEE21-OpenFOAM-Introduction), it was reasoned that open-source software OpenFOAM would be a cost-effective and more accessible alternative for teaching Computational Fluid Dynamics (CFD) than commercial software. Commercial software like Ansys Fluent costs more than $10k per year for one user. The above-mentioned work models wind flow around a building for smooth flow, whereas extreme winds, which tend to be irregular, can cause various structural failures of buildings. These kinds of irregular wind flows are called turbulent flows. Thus, in this contribution, an additional three-week class module is provided for the ‘CFD for Wind Engineering’ class which includes hands-on material on modeling turbulent wind flow around a building using open-source software OpenFOAM and ParaView. To model the turbulence, Large Eddy Simulation (LES) is considered with a logarithmic inlet profile. To connect the log profile in a coarse grid, the law of the wall condition is also introduced in the OpenFOAM environment. To illustrate the application, the wind flow around a cubic building is considered. The current study’s case files and the extended report are provided at https://github.com/rpsuark/ASEE21-OpenFOAM-LES.  more » « less
Award ID(s):
1762999
NSF-PAR ID:
10335528
Author(s) / Creator(s):
; ;
Date Published:
Journal Name:
2021 ASEE Midwest Section Conference
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. To train future engineers and to equip them with necessary tools and skills for real-world problem solving, it is important to provide exposure to real-world problem solving by incorporating a software lab module while teaching engineering courses such as Computational Fluid Dynamics (CFD) and/or related Fluids courses. High cost of commercial software packages and limited number of licenses available for course instruction creates several challenges in incorporating commercial software packages in the instructional workflow. To circumvent such limitations, open-source software packages could be a good alternative as open-source software packages can be downloaded and used free of cost and thus provides a wider accessibility to students and practitioners. With the same motivation, in this contribution, an outline for implementing a two-week course module by incorporating open-source software in the instructional workflow is proposed and demonstrated by considering an example of wind flow around a building. The course module outlined in this work can also be extended to formulate a full-fledged CFD course for instructional purposes. Besides the information provided in this paper, authors have also shared an extended report based on current work and the relevant case files via Github repository (https://github.com/rpsuark/ASEE21-OpenFOAM-Introduction) for a hands on learning experience. With the help of information contained in this paper along with the extended report and uploaded case files, readers can install the open-source software packages - ‘OpenFOAM’ and ‘ParaView’, make their own simple case files, run simulations, and visualize the simulated results. 
    more » « less
  2. This work aims at comparing the accuracy and overall performance of a low-Mach CFD solver and a fully-compressible CFD solver for direct numerical simulation (DNS) of nonequilibrium plasma assisted ignition (PAI) using a phenomenological model described in Castela et al. [1]. The phenomenological model describes the impact of nanosecond pulsed plasma discharges by introducing source terms in the reacting flow equations, instead of solving the detailed plasma kinetics at every time step of the discharge. Ultra-fast gas heating and dissociation ofO2 are attributed to the electronic excitation ofN2 and the subsequent quenching to ground state. This process is highly exothermic, and is responsible for dissociation of O2 to form O radicals; both of which promote faster ignition. Another relatively slower process of gas heating associated with vibrational-to-translational relaxation is also accounted for, by solving an additional vibrational energy transport equation. A fully-compressible CFD solver for high Mach (M>0.2) reacting flows, developed by extending the default rhoCentralFoam solver in OpenFOAM, is used to perform DNS of PAI in a 2D domain representing a cross section of a pin-to-pin plasma discharge configuration. The same case is also simulated using a low-Mach, pressure-based CFD solver, built by extending the default reactingFoam solver. The lack of flow or wave dominated transport after the plasma-induced weak shock wave leaves the domain causes inaccurate computation of all the transport variables, with a rather small time step dictated by the CFL condition, with the fully-compressible solver. These issues are not encountered in the low-Mach solver. Finally, the low-Mach solver is used to perform DNS of PAI in lean, premixed, isotropic turbulent mixtures of CH4-air at two different Reynolds numbers of 44 and 395. Local convection of the radicals and vibrational energy from the discharge domain, and straining of the high temperature reaction zones resulted in slower ignition of the case with the higher Re. A cascade effect of temperature reduction in the more turbulent case also resulted in a five - six times smaller value of the vibrational to translational gas heating source term, which further inhibited ignition. Two pulses were sufficient for ignition of the Re = 44 case, whereas three pulses were required for the Re = 395 case; consistent with the results of Ref. [1]. 
    more » « less
  3. Abstract. In this paper, a three-dimensional two-phase flow solver, SedFoam-2.0, is presented for sediment transport applications. The solver is extended from twoPhaseEulerFoam available in the 2.1.0 release of the open-source CFD (computational fluid dynamics) toolbox OpenFOAM. In this approach the sediment phase is modeled as a continuum, and constitutive laws have to be prescribed for the sediment stresses. In the proposed solver, two different intergranular stress models are implemented: the kinetic theory of granular flows and the dense granular flow rheology μ(I). For the fluid stress, laminar or turbulent flow regimes can be simulated and three different turbulence models are available for sediment transport: a simple mixing length model (one-dimensional configuration only), a k − ε, and a k − ω model. The numerical implementation is demonstrated on four test cases: sedimentation of suspended particles, laminar bed load, sheet flow, and scour at an apron. These test cases illustrate the capabilities of SedFoam-2.0 to deal with complex turbulent sediment transport problems with different combinations of intergranular stress and turbulence models.

     
    more » « less
  4. View Video Presentation: https://doi.org/10.2514/6.2022-3218.vid The ability to accurately and rapidly assess unsteady interactional aerodynamics is a shortcoming and bottleneck in the design of various next-generation aerospace systems: from electric vertical takeoff and landing (eVTOL) aircraft to airborne wind energy (AWE) and wind farms. In this study, we present a meshless CFD framework based on the reformulated vortex particle method (rVPM) for the analysis of complex interactional aerodynamics. The rVPM is a large eddy simulation (LES) solving the Navier-Stokes equations in their vorticity form. It uses a meshless Lagrangian scheme, which not only avoids the hurdles of mesh generation, but it also conserves the vortical structure of wakes over long distances with minimal numerical dissipation, while being 100x faster than conventional mesh-based LES. Wings and rotating blades are introduced in the computational domain through actuator line and actuator surface models. Simulations are coupled with an aeroacoustics solver to predict tonal and broadband noise radiated by rotors. The framework, called FLOWUnsteady, is hereby released as an open-source code and extensively validated. Validation studies published in previous work by the authors are summarized, showcasing rotors across operating conditions with a rotor in hover, propellers, a wind turbine, and two side-by-side rotors in hover. Validation of rotor-wing interactions is presented simulating a tailplane with tip-mounted propellers and a blown wing with propellers mounted mid-span. The capabilities of the framework are showcased through the simulation of a tiltwing eVTOL vehicle and an AWE wind-harvesting aircraft, featuring rotors with variable RPM, variable pitch, tilting of wings and rotors, non-trivial flight paths, and complex aerodynamic interactions. 
    more » « less
  5. UPS (Uninterruptible Power Supply) units and batteries are essential subsystems in data centers or telecom industries to protect equipment from electrical power spikes, surges and power outages. UPS units handle electrical power and dissipate a large amount of heat, and possess a high efficiency. Therefore, cooling units (e.g., CRACs) are needed to manage the thermal reliability of this equipment. On the other hand, battery operating conditions and reliability are closely related to the ambient temperature according to battery manufacturers; reliability increases when the ambient room temperature is around 25ºC. This study analyzed different room configurations and scenarios using the commercial CFD software 6Sigma Room DCXTM. As a first approach, we evaluated the thermal behavior and cooling degradation using standard thermal performance metrics SHI (Supply Heat Index) and RHI (Return Heat Index). These are frequently implemented in data centers to measure the level of mixing between cold and hot air streams. The results from this evaluation showed that standard cooling practices are inefficient, as values for the two metrics differed considerably from industry recommendations. We also considered a metric from the second law of thermodynamics using exergy destruction. This technique allowed us to find the mechanisms that increase entropy generation the most, including viscous shear and air stream mixing. Reducing exergy destruction will result in lessening lost thermodynamic work and thus reduce energy required for cooling. Typically, UPS and batteries are located in different rooms due to the hydrogen generation by the batteries. The integration of both equipment in the same room is a new concept, and this study aims to analyze the thermal performance of the room. Adding controllability showed improvements by reducing the exergy destruction due to viscous dissipation while slightly increasing thermal mixing in the rooms. Ducting the return flows to avoid flow mixing increased pressure drop, but reduced heat transfer between the hot and cold air streams, which in turn, improved the thermal performance. In the study, we determined the optimal configuration and possible strategies to improve cooling while maintaining desirable battery temperatures. 
    more » « less