Code Monkey home page Code Monkey logo

periodic_heat's Introduction

periodic_heat

Semi analytical anisotropic heat solver for thin materials radiated periodically by a Gaussian intensity (laser).

A usual 3D heat solver uses 6 FFTs. This one uses 2. Only the x and y dimensions need to be inverse transformed, that's it. The x and y dimensions have analytic forward Fourier transforms. The z dimension is evaluated fully analytically based on analytic frequency decomposition of the periodic intensity. This allows the temperature field at any depth to be evaluated using only 2D memory, giving this method O(n^2) memory complexity for an n by n by n grid.

This code stores a 3D temperature field in a VTK image file by looping over various z. A single z evaluation is a full solution to the 3D heat equation however; it only loops to obtain 3D data.

Not everything about this solver works perfectly the way it should, as described in the thesis (KU Leuven undergrad physics).

Some old python code is included too, which has more functionality but is less refined.

Renders

Sinusoidal intensity.

sine 1 sine 2

Periodic heaviside intensity.

step 1

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.