Giter VIP home page Giter VIP logo

saralenzi / convectivefoam1.0 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38 KB

Solver for the Navier Stokes equations in the infinite Prandtl and Boussinesq approximations. The model is developed on the OpenFOAM platform, based on pimpleFoam and buoyantBoussinesqPimpleFoam. See www.openfoam.org. The buoyancy term is written explicitly, no subgrid models are adopted. A tutorial folder is provided, to simulate a simplified (isoviscous, 3D) convection problem at infinite Prandtl number . BCs: fixed temperature and free slip velocity on top and bottom, periodicity along horizontal directions.

C++ 80.80% C 13.95% Shell 5.25%

convectivefoam1.0's Introduction

Solver for the Navier Stokes equations for the infinite Prandtl case in the Boussinesq approximation.

General non dimensional problem:

 

The model is developed on the OpenFOAM platform, based on pimpleFoam and buoyantBoussinesqPimpleFoam (See www.openfoam.org.) by Matteo Cerminara (https://github.com/cerminara) and Sara Lenzi.

The buoyancy term is written explicitly, no subgrid model is adopted.

 

Model equations of this code (OpenFOAM):


where n indicates the n-th PIMPLE iteration and m the m-th PISO iteration.

A tutorial folder is provided, to simulate a simplified (isoviscous, 3D) convection problem at infinite Prandtl number .

BCs: fixed temperature and free slip velocity on top and bottom, periodicity along horizontal directions.



How to use convectiveFoam1.0 :

  • Installation
  1. Download the source files
  2. Make everything executable if necessary
    1. chmod -R +x *
  3. Be sure the environment variables of OpenFoam 4.x have been loaded in your terminal window
  4.  Enter in the convectiveFoam1.0 folder and install it running the script:        
    1. ./Allwmake

 

  • Run the tutorial
  1. Enter in the PrInfRa3e6 folder and run: 
    1. ./Allclean 
    2. ./Allrun

convectivefoam1.0's People

Contributors

saralenzi avatar

Watchers

 avatar

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.