Giter Club home page Giter Club logo

dwr-psandhu / dsm2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cadwrdeltamodeling/dsm2

0.0 1.0 0.0 683.5 MB

Delta Simulation Model 2

Home Page: https://water.ca.gov/Library/Modeling-and-Analysis/Bay-Delta-Region-models-and-tools/Delta-Simulation-Model-II

License: Other

Shell 0.12% C++ 10.75% Python 4.36% C 9.31% Java 12.63% Fortran 60.44% R 0.61% Assembly 0.02% Makefile 0.12% HTML 0.02% CMake 0.89% Inno Setup 0.03% Batchfile 0.11% Yacc 0.33% Lex 0.15% NASL 0.12%

dsm2's Introduction

DSM2

DSM2 is a one-dimensional mathematical model for dynamic simulation of tidal hydraulics, water quality, and particle tracking in a network of riverine or estuarine channels. DSM2 can calculate stages, flows, velocities, transport of individual particles, and mass transport processes for conservative and non-conservative constituents, including salts, water temperature, dissolved oxygen (DO), and dissolved organic carbon (DOC)

HYDRO

The partial differential equations of mass and momentum in the DSM2 hydrodynamic model component (HYDRO) are based on an implicit finite difference scheme. As a one-dimensional formulation, the channel length is divided into discrete reaches and the partial differential equations are transformed into finite difference forms for the discrete reaches by integrating numerically in time and space. The resulting equations are then linearized over a single iteration in terms of incremental changes in unknown variables (flow rate and water level) using approximations from truncated series, representing a function as an infinite sum of terms calculated from the values of its derivatives at a single point. When the discretized equations are written for all computational cells at the current time and the next time lines, it forms a system of equations which are solved simultaneously using an implicit algorithm

QUAL

The DSM2 water quality numerical solution (QUAL) is based on a model in which advection dispersion equation is solved numerically using a coordinate system where computational nodes move with the flow

PTM

The DSM2 particle tracking component (PTM) computes the location of an individual particle at any time step within a channel based on velocity, flow and water level information provided by HYDRO. The longitudinal movement is based on transverse and vertical velocity profiles computed from mean channel velocity provided by HYDRO. Mean channel velocity is multiplied by a factor which depends on particle’s transverse location in the channel resulting in a transverse velocity profile resulting in slower moving particles closer to the shore. Mean channel velocity is also converted to vertical velocity profile using a logarithmic profile to account for slower particles closer to the channel bottom. The longitudinal movement is then the sum of transverse and vertical velocities multiplied by time step. Particles also move across the channel and in vertical direction along the depth due to mixing. A random factor and mixing coefficients and the length of time step is used to compute the movement of particle in transverse and vertical direction.

dsm2's People

Contributors

abrishamchi avatar dougjack avatar dwr-psandhu avatar dwr-yzhou avatar eahmedali2005 avatar enching avatar fishatbdo avatar hanskimdwr avatar kjnam avatar lianwuliu avatar water-e avatar zhenlinzhang 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.