GithubHelp home page GithubHelp logo

zaibinlin / cyclicamichannel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nicolasbadano/cyclicamichannel

0.0 0.0 1.0 19 KB

This repository contains the implementation of an OpenFOAM model for the case of flow old underground river with a roof supported by columns (inspired by a few running under Buenos Aires). The case implements offset cyclicAMI patches to simulate only a portion of the tunnel, allowing to quickly reach steady-state conditions.

License: MIT License

Shell 2.87% C++ 86.91% C 9.07% GLSL 1.15%

cyclicamichannel's Introduction

CyclicAMIChannel

This repository contains the implementation of an OpenFOAM model for the case of flow through an old underground river with a roof supported by columns (inspired by a few running under Buenos Aires).

The case implements offset cyclicAMI patches to simulate only a portion of the tunnel, allowing to quickly reach steady-state conditions.

Using AMI means that the mesh doesn't need to match perfectly between patches, which makes things much simpler to set up. Creating perfectly matching patches is very difficult/impossible with some meshers.

Most flow variables, such as velocity and phase fraction, can be mapped directly between patches. However, as flow steadily goes downward, the p_rgh needs to have a discrete jump between both ends. To this end, the case includes a custom boundary condition called p_rghJumpAMI which introduces the correct offset based on the density of the fluid on each face.

It uses interFoam to solve the free surface, and URANS treatment to solve the turbulence, using the kOmegaSST model.

Getting Started

  • Compile the boundary condition running wmake libso on the appropiate folder.
  • Run the prepare.sh to generate the mesh and set up the simulation.
  • Then run the case with interFoam

Results

Watch the video

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Author

Nicolás Diego Badano (https://www.linkedin.com/in/nicolas-diego-badano/)

cyclicamichannel's People

Contributors

nicolasbadano avatar

Forkers

calculix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.