Tormod Landet - Codehttps://tormod.landet.net/Sat, 18 Feb 2017 14:19:00 +0100Cleaning cruft in a Ubuntu installationhttps://tormod.landet.net/2017/02/18/cleaning_ubuntu/<p>I have been running Linux on my laptops for as long as I have been owning laptops. My current one has been through quite a few versions of Ubuntu Linux. There are normally no big changes from version to version, but it steadily improves. In that process some software packages …</p>TormodSat, 18 Feb 2017 14:19:00 +0100tag:tormod.landet.net,2017-02-18:/2017/02/18/cleaning_ubuntu/CodePythonUbuntuDebianapt3D visualization in IPython notebookhttps://tormod.landet.net/2014/05/23/3d_visualization_in_ipython/<p>The <a class="reference external" href="http://www.ipython.org">IPython</a> notebook is a great tool for interactive computing. Below I show a short Python example on how to work interactively with simple 3D models in the IPython notebook.</p> <p>To begin with, we need a simple way to represent a 3D model in Python. We will here restrict ourselves …</p>TormodFri, 23 May 2014 22:18:00 +0200tag:tormod.landet.net,2014-05-23:/2014/05/23/3d_visualization_in_ipython/CodePythonIPythonthree.js3DvisualizationA linear 2D sloshing solver in FEniCShttps://tormod.landet.net/2014/01/29/laplacian_linear_tank_motion/<p>In the <a class="reference external" href="https://tormod.landet.net/2014/01/13/solving-the-laplace-equation.with-fenics/">previous blog post</a> I showed how to solve the Laplace equation in 2D with FEniCS. That example, while illustrative for how to use FEniCS, was not particularly exciting. So, I decided to show the simplest example I could think of that involves an actual example of fluid flow …</p>TormodWed, 29 Jan 2014 20:29:00 +0100tag:tormod.landet.net,2014-01-29:/2014/01/29/laplacian_linear_tank_motion/CodeFEniCSSloshingEnglishSolving the Laplace equation with FEniCShttps://tormod.landet.net/2014/01/13/solving-the-laplace-equation.with-fenics/<p>I have found that explaining something is a good way to learn. As I am currently reading some books on the finite element method to refresh my rusting memories from math courses at university I thought it would be a good idea to write a summary of some of the …</p>TormodMon, 13 Jan 2014 21:45:00 +0100tag:tormod.landet.net,2014-01-13:/2014/01/13/solving-the-laplace-equation.with-fenics/CodeFEniCSEnglishCreating a mesh in FEniCShttps://tormod.landet.net/2014/01/11/creating_a_fenics_mesh/<p>I may end up doing a large project using <a class="reference external" href="http://fenicsproject.org/">FEniCS</a> which is a collection of tools for automated, efficient solution of differential equations using the finite element method. While playing with implementing a simple solver for fluid flow in a tank by use of FEniCS to solve the Laplace equation …</p>TormodSat, 11 Jan 2014 18:00:00 +0100tag:tormod.landet.net,2014-01-11:/2014/01/11/creating_a_fenics_mesh/CodeFEniCSEnglishSorting imageshttps://tormod.landet.net/2013/05/04/picster-picture-sorter/<p>Once upon a time, back when I was using Windows at home, I had a useful small program that helped me sort through new pictures from my camera. I have forgotten the name of the program, but basically it allowed me to sort the good pictures from the bad in …</p>TormodSat, 04 May 2013 23:50:00 +0200tag:tormod.landet.net,2013-05-04:/2013/05/04/picster-picture-sorter/CodeImagesEnglishFull screen music infohttps://tormod.landet.net/2008/10/24/full-screen-music-info/<p>I've written a short program to show the currently playing song in a full screen view to avoid having to walk over to the computer when I want to know what the current song is called. The <a class="reference external" href="https://tormod.landet.net/2008/10/23/musikknedlasting/">Squeezebox</a> has mostly made this obsolete as I now just look at the …</p>TormodFri, 24 Oct 2008 21:35:00 +0200tag:tormod.landet.net,2008-10-24:/2008/10/24/full-screen-music-info/CodeMusikkEnglishSqueezebox