Skip to content

Hands-on exercises for Better Scientific Software tutorial at SC20 (2020-11-10)

Notifications You must be signed in to change notification settings

betterscientificsoftware/hello-numerical-world-sc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Hands-on exercises for Better Scientific Software tutorial at SC20 (2020-11-10)

Resources

Stars

Watchers

Forks