Coder Social home page Coder Social logo

quentinjamet / croco-nh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ducousso/croco-nh

0.0 0.0 0.0 30.23 MB

a non-hydrostatic incompressible ocean model based on CROCO

Shell 7.35% C++ 2.32% Python 0.19% Perl 0.03% C 15.38% Objective-C 0.15% Fortran 58.10% MATLAB 2.12% Makefile 1.81% M4 0.25% Roff 12.33%

croco-nh's Introduction

CROCO-NH: a non-hydrostatic version of CROCO

CROCO-NH relaxes the hydrostatic assumption in CROCO

CROCO is the regional
circulation model formerly known as ROMS/AGRIF. It does relax the H assumption by integrating in time the vertical component of the velocity and by computing the pressure via a Poisson equation. The Poisson equation is solved with a multigrid solver. The solver is parallelized, even for large number of cores. It handles sigma coordinates and realistic topographies.

Changes relative to CROCO

  1. The third component of the velocity is prognosed. Because CROCO momentum equation is written in flux form, it is easier to prognose the 'vertical flux' (as opposed to the strict vertical velocity). Changes are in the OCEAN folder
  2. The multigrid solver has been developped specifically. It sits in the NHMG folder. It can be compiled and tested as a standalone. See the NHMG/README and use the NHMG/configure.

Tips

  • The multigrid has many tunable parameters. The user may access them via the NHMG/nhmg_namlist
    • the user is advised to monitor the performances of the multigrid (e.g. output_freq = 10 in the nhmg_namelist).
    • set surface_neumann = .true. in nhmg_namelist this will set a Neuman boundary condition (BC) type for pressure at surface. Note that the proper BC is of Dirichlet type but activating it imposes to shorten the time step, thus making the NH code much more computationally expensive.
  • A NH experiment should take roughly 120% more time than a
    Hydrostatic version
  • A NH experiment can be run with the exact same time step than the Hydro version
  • The multigrid imposes some constraint on the grid size and the number of cores that can be used
    • grid dimensions (nx, ny, nz) should be in the form 2**p or 3*2**p
    • number of cores in x and y should be in the form 2**p
  • The NH physics is activated with the cpp key NHMG (see Run/cppdefs.h)

Announcement

A workshop on Non-Hydrostatic​ ​ Ocean​ ​ Modeling is organized in Brest (France) in October 2018.

croco-nh's People

Contributors

pvthinker avatar ngrigri avatar nmolem 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.