Skip to content

Development repository for hands-on activities for the Better Scientific Software tutorials. This repository is used as a template to create a new separate repository specifically for each tutorial event. Tutorial participants should work with the repo for their event rather than this one.

Notifications You must be signed in to change notification settings

bssw-tutorial/hello-numerical-world

Repository files navigation

Hello Numerical World

NOTE: This repo was imported from here

Build Status codecov

In this repo is a very simple implementation of an application for solving the one dimensional heat conduction equation. This is the functional equivalent of a Hello World application for HPC/CSE numerical programmers.

In general, heat conduction is governed by the partial differential (PDE)...

(1)

where u is the temperature at spatial positions, x, and times, t, is the thermal diffusivity of the homogeneous material through which heat is flowing. This partial differential equation (PDE) is known as the Diffusion Equation and also the Heat Equation.

Simplifying Assumptions

To make the problem tractable for this lesson, we make some simplifying assumptions...

  1. The thermal diffusivity, , is constant for all space and time.
  2. The only heat source is from the initial and/or boundary conditions.
  3. We will deal only with the one dimensional problem in Cartesian coordinates.

In this case, the PDE our application needs to solve simplifies to...

(2)

Currently, three different numerical algorithms are implemented

The technical details are described more fully in this ATPESC Hands-On Lesson

About

Development repository for hands-on activities for the Better Scientific Software tutorials. This repository is used as a template to create a new separate repository specifically for each tutorial event. Tutorial participants should work with the repo for their event rather than this one.

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •