Git Product home page Git Product logo

amrwind_ransbc's Introduction

Development & Validation of the RANS ABL BC in AMR-Wind

This repo will include documentation, checklist, and validation of the RANS ABL boundary condition for AMR-Wind. Initial implementation will be for the k-omega RANS model.

Documentation

Check out the docs section for notes and literature.

Branch merging

For bleeding-edge testing

Branch with complete contributions (RANS ABL + mesh stretching):
https://github.com/lawrenceccheung/amr-wind/tree/ransabl_kitchensink

Note: additional changes may still be needed to improve stability/fix bugs.

For PR review

RANS ABL k-omega model merged branch for PR review: https://github.com/lawrenceccheung/amr-wind/tree/mesh_map_k_omega_merge

Branches to merge in:

Do not merge this one (yet):

Things to do

Things to do for implemention

  • Implement ABL stretching function

    • Blended stretching function defined in ABLScaling_function_blended.ipynb
    • Implement in ABLScaling.cpp
  • Make a copy of KOmegaSST called KOmegaSSTABL

  • Implement ABL initial condition

    • Edit ABL::initialize_fields to account for mesh mapping, sdr/tke init
    • Edit ABLFieldInit::operator() -- include mesh mapping
    • Edit ABLFieldInit::perturb_temperature for temperature
    • Edit ABLFieldInit::operator() -- initialize with M.O. profile?
    • Fill in ABLFieldInit::init_tke() -- use a profile?
    • Fill in ABLFieldInit::init_sdr() -- use a profile?
  • Make changes to wall function BC

    • Add ABLTKEWallFunc/ABLSDRWallFunc infrastructure in ABLWallFunction.cpp
    • Edit ABL constructor to include RANS ABL inputs/capability
      • Cmu is now linked to beta_star in RANS variables
    • Register TKE/SDR wall functions in ABL::post_init_actions()
    • Edit ABLWallFunction::init_log_lawHeight()
    • Add phi calculations in MOData.H, MOData.cpp.
    • Add mu, epsilon, tke calculations in ShearStress.H.
    • Fill in ABLTKEWallFunc::wall_model()
    • Fill in ABLSDRWallFunc::wall_model()
  • Make changes for k-epsilon model

    • Fill in ABLFieldInit::init_eps() -- use a profile?
    • call init_eps() in ABL::initialize_fields()
    • Register EPS wall functions in ABL::post_init_actions()
    • Create ABLEPSWallFunc() in ABLWallFunction.H & fill in wall model

Things to do for testing

Basic testing

  • Create test harness for KOmegaSSTABL+wall model (proper inputs for 1 iteration test case, no mesh mapping)

  • Create test harness for KOmegaSSTABL+wall model+mesh mapping (proper inputs for 1 iteration test case, with mesh mapping)

SWIFT test cases

Neutral ABL case set up to match measured conditions from SWIFT test facility.

amrwind_ransbc's People

Contributors

lawrenceccheung avatar ndevelder avatar neilmatula avatar

Watchers

 avatar  avatar

Forkers

neilmatula

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.