Author Archive

January 31, 2012 0

Keeping the Desktop tidy

By in Apple, General

As I lack the discipline required to keep my desktop uncluttered, I am aiming for a simple bash script, that moves old files and folders into a designated folder on my desktop. Installing a separate software to achieve that seemed to be a little bit redundant, so I tried to come up with a fancy [...]

Tags: ,

January 22, 2012 0

Parameter variation in OpenFOAM using PyFoam

By in OpenFOAM

Performing parameter variations can be stressful, especially if some parameters have to be altered in various places in an OpenFOAM case. This is where the python modules of PyFoam come in quite handy. I assume, that you have a basic knowledge on how an OpenFOAM case is structured and that you are familiar with programming [...]

Tags: , , , , ,

November 4, 2010 0

Compile VTK on Snow Leopard

By in OpenFOAM

Compiling VTK on Mac OS X 10.6 turned out to be much harder than on the Unix systems, I’ve done that on recently. Unfortunately I did not find any detailed data on how to choose the installation parameters properly. After a lot of try and error and some research, the following procedure worked for me [...]

Tags: , , ,

October 14, 2010 0

Plotting massive datasets on the fly

By in OpenFOAM

One of the hassles with working on a distant HPC is that you need to push and pull huge amounts of data back and forth. This wouldn’t be a big issue if you would have a really fast internet connection and/or if you would just need to do that once a day. Unfortunately, neither is [...]

Tags: , , , ,

September 13, 2010 1

Remove brackets from file

By in OpenFOAM

Removing brackets from a huge datafile can be done in multiple ways, but from my point of view, using the unix command sed and regular expressions is the fastest and easiest way to do that. sed -e "s/[(,)]//g" $file > output This comes in handy, if you need to plot data, that is located on [...]

Tags: , , , ,

July 14, 2010 0

Snap edges with snappyHexMesh

By in OpenFOAM

Making use of snappyHexMesh for the mesh generation polarizes, some love it and some hate it. I personally switch between love and hate, depending on the efforts that need to be taken, to get a proper mesh. The major drawback of snappyHexMesh is that it does not respect sharp edges, but creates these jagged edges [...]

Tags: ,

July 13, 2010 0

Replace Textmate by vim

By in Apple, Web

First of all, this is not going to be yet an other hot tempered discussion on which editor is the best, but a description why and how I switched my workflow from Textmate to vim. 1. Why? This is an easy one. As you might know or at least guess, I am editing files on [...]

Tags: , , , ,

July 8, 2010 7

snappyHexMesh Tutorial Part 2

By in OpenFOAM, Studies

The first snappyHexMesh tutorial is more or less a little extended listing of the information gained from the OpenFOAM User’s Guide. This tutorial gives a brief view on how to setup the background mesh and how refinement regions should be configured. As an example, a container vessel is meshed within this tutorial. No prismatic boundary [...]

Tags: , ,

July 31, 2009 0

Man gönnt sich ja sonst nichts

By in Windsurfing

Eigentlich wollte ich ja nie wieder North-Sails Segel fahren, da mir die Letzten unter anderem bereits beim dritten Aufbauen gerissen sind. Als ich dann einmal von einer relativ kleinen Welle in Wijk sanft gewaschen wurde, entschied sich das Superstar – was ich damals gefahren bin – dazu, auf Höhe der Gabel einfach zu platzen. Daraufhin [...]

Tags:

February 8, 2009 14

snappyHexMesh Tutorial

By in General, OpenFOAM, Studies

Update 26.12.2012: Download the geometry file Update 08.07.2010: Have a look to the second part of the snappyHexMesh tutorial! In order to use the automatic meshing tool snappyHexMesh, you have to create a raw background mesh. This can easily be achieved by using blockMesh of OpenFOAM. For this tutorial, I assume that you wish to [...]

Tags: , ,