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   
                    
                            
                            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
- PAR ID:
- 10335528
- Date Published:
- Journal Name:
- 2021 ASEE Midwest Section Conference
- Format(s):
- Medium: X
- Sponsoring Org:
- National Science Foundation
More Like this
- 
            
- 
            A novel formulation of the vortex particle method (VPM) is developed for large-eddy simulation (LES) in a meshless scheme that is numerically stable. A new set of VPM governing equations are derived from the LES-filtered Navier–Stokes equations. The new equations reinforce the conservation of angular momentum by resizing vortex elements subject to vortex stretching. In addition to the VPM reformulation, a new anisotropic dynamic model of subfilter-scale (SFS) vortex stretching is developed. This SFS model is well suited for turbulent flows with coherent vortical structures, where the predominant cascade mechanism is vortex stretching. The mean and fluctuating components of turbulent flow and Reynolds stresses are validated through the simulation of a turbulent round jet. The computational efficiency of the scheme is showcased in the simulation of an aircraft rotor in hover, showing our meshless LES to be 100 times faster than a mesh-based LES with similar fidelity. The implementation of our meshless LES scheme is released as open-source software, called FLOWVPMmore » « less
- 
            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
- 
            Computational Fluid Dynamics (CFD) models are being rapidly integrated into applications across all sciences and engineering. CFD harnesses the power of computers to solve the equations of fluid dynamics, which otherwise cannot be solved analytically except for very particular cases. Numerical solutions can be interpreted through traditional quantitative techniques as well as visually through qualitative snapshots of the flow data. As pictures are worth a thousand words, in many cases such visualizations are invaluable for understanding the fluid system. Unfortunately, vast mathematical knowledge is required to develop one’s own CFD software and commercial software options are expensive and thereby may be inaccessible to many potential practitioners. To that extent, CFD materials specifically designed for undergraduate education are limited. Here we provide an open-source repository, which contains numerous popular fluid solvers in 2 D (projection, spectral, and Lattice Boltzmann), with full implementations in both MATLAB and Python3. All output data is saved in the . v t k format, which can be visualized (and analyzed) with open-source visualization tools, such as VisIt or ParaView. Beyond the code, we also provide teaching resources, such as tutorials, flow snapshots, measurements, videos, and slides to streamline use of the software.more » « less
- 
            Abstract Dispersion processes in the ocean surface boundary layer (OSBL) determine marine material distributions such as those of plankton and pollutants. Sheared velocities drive shear dispersion, which is traditionally assumed to be due to mean horizontal currents that decrease from the surface. However, OSBL turbulence supports along-wind jets; located in near-surface convergence and downwelling regions, such turbulent jets contain strong local shear. Through wind-driven idealized and large-eddy simulation (LES) models of the OSBL, this study examines the role of turbulent along-wind jets in dispersing material. In the idealized model, turbulent jets are generated by prescribed cellular flow with surface convergence and associated downwelling regions. Numeric and analytic model solutions reveal that horizontal jets substantially contribute to along-wind dispersion for sufficiently strong cellular flows and exceed contributions due to vertical mean shear for buoyant surface-trapped material. However, surface convergence regions also accumulate surface-trapped material, reducing shear dispersion by jets. Turbulence resolving LES results of a coastal depth-limited ocean agree qualitatively with the idealized model and reveal long-lived coherent jet structures that are necessary for effective jet dispersion. These coastal results indicate substantial jet contributions to along-wind dispersion. However, jet dispersion is likely less effective in the open ocean because jets are shorter lived, less organized, and distorted due to spiraling Ekman currents.more » « less
 An official website of the United States government
An official website of the United States government 
				
			 
					 
					
 
                                    