Giter Club home page Giter Club logo

cfd's Introduction

CFD

NUEN 489 GEMIX Project

run

Python script to run interFoam in parallel. Does blockMesh and decomposePar before running and reconstructPar after running. Has command line options for

  • parallel decomposition (how many processors in x, y, z)
  • number of volumes (split into x_inlet, x_mixing, y and z)
  • turbulence model (k-Epsilon or k-Omega)
  • switch for running in 3D

See ./run -h for help.

kEpsilon/kOmega

Contains fvSchemes, fvSolution, turbulenceProperties files corresponding to k-Epsilon or k-Omega. ./run copies them into their correct place in system or constant before running interFoam.

mesh

Location of blockMeshDict. Top is the top half of the blockMeshDict that is common to both 3D and 2D runs. 2D and 3D change the boundary conditions to be appropriate for 2 and 3 D geometry. simple is the blockMeshDict for 3D geometry without angled inlets.

./run alters local variables Nx1, Nx2, Ny, Nz which control the number of volumes used, concatenates top and 2D/3D and writes to system/blockMeshDict.

plotTime.py

Plots the time step output to make sure the adjustable time step isn't going too small. Run as ./plotTime.py or python3 plotTime

fRe.py

Reads in a CSV file of the axial pressure to calculate the fRe product.

Current Problems

  • boundary conditions for omega
  • boundary conditions for k
  • inlet conditions from data
  • top and bottom inlets not mixing
  • flow is currently not turbulent (Re ~ 50 for 1 m/s velocity and average viscosity)

cfd's People

Contributors

smsolivier 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.