Code Monkey home page Code Monkey logo

mccarthy's Introduction

mccarthy

Copyright 2010--2024 Ed Bueler

This repository contains slides, notes, and computer programs for numerical glacier and ice sheet modeling. These materials have been used for the International Summer School in Glaciology, McCarthy, AK in years 2010, 2012, 2014, 2016, 2018, 2022, and 2024.

Download all materials by one of these methods:

The optional depth=1 setting reduces the download size by not getting the history, which most users will not need.

slides and notes

The PDF slides slides/slides-2024.pdf are new this year. I believe they cover the essential material in a better way. They are supported by Python codes in py/.

The older material is in PDF notes notes/notes-2024.pdf, previous slides slides/slides-2022.pdf, and Matlab/Octave programs mfiles/. My plan is to update the notes soon!

Python programs

The codes in subdirectory py/ solve surface kinematic equation (SKE) and shallow ice approximation (SIA) problems. Python programs surface1d.py and shallowuw.py use only the numpy and matplotlib libraries. You are encouraged to actually run and modify them! Feel free to email me about how they work.

For now the slides (slides-2024.pdf) are the documentation, along with line comments in the .py source codes. Please report any bugs, either by email or by using the issues for this repository.

The surface2d.py program uses Firedrake. Additional Firedrake codes which solve the glaciological (Glen-law) Stokes model are in the stokes/ directory. See stokes/doc.pdf for some documentation.

Matlab/Octave programs (deprecated)

The codes in subdirectory mfiles/ solve SIA and SSA problems. They should work in either Matlab or Octave; if not please report a bug, either by email or by using the issues for this repository. The current notes and the older slides document these programs, but the programs also have help files (leading comments).

Stokes solver

The Python tools in stokes/ are primarily for projects. By default they solve a 2D Glen-law Stokes flow over a bedrock step. The workflow uses the following tools: Firedrake (a finite element library), Gmsh (a mesh generator), PETSc (a solver library), and Paraview (for visualization). See stokes/doc.pdf for more information.

ancient versions

Older versions (2009, 2010, 2012, 2014) of this material lived in the repo https://github.com/bueler/karthaus

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.