Coder Social home page Coder Social logo

fv-rw-verification's Introduction

Verifying Monte Carlo simulations using a finite volume method

This repository contains the code and methods presented at the 8th World Congress of Biomechanics.

Installation

Installing the tools is as easy as calling:

addpath('classes');

Reference

Data

DOI

Conference presentation

Rose et al. Verifying Monte Carlo simulations of diffusion tensor cardiovascular magnetic resonance using a finite volume method. 2018. 8th World Congress of Biomechanics, Dublin, Ireland.

Examples

MATLAB scripts to create these graphics are located in the .examples/ directory.

Finite volume

First, we show a free diffusion case where the concentration spreads out from an initial spike in the center:

FV 1D Free

Next, we investigate the convergence of the solution with increased number of finite volumes. This example also includes permeable internal boundaries. Note that the step change in concentration across the boundaries is smeared when a too low resolution is chosen.

FV 1D Convergence

Random walk

To illustrate the random walk, we generate an arbitrary domain with some restrictions and seed walkers in the center. See the animation below:

RW 2D Animation

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.