Email: info@sourceflux.de - Phone: +49 (0)170 9693585 - Support: +49 (0)175 8707292

Scheme selection

math-wall

Scheme selection

This entry is part of 5 in the series Run-Time Type Selection

This entry is part of 5 in the series Run-Time Type SelectionFeatured Image: Math Wall by João Trindade A question popped up during the Programmer training on calculating gradients using alternative schemes to those automatically chosen by the gradient operator from the system/fvSchemes file. In OpenFOAM, the operators rely on the RTS mechanism to select […] Read More

interFoam

The codedFixedValue boundary condition

This entry is part 2 of 2 in the series Boundary conditions

This entry is part 2 of 2 in the series Boundary conditionsInformation on the coded fixed value BC is available in the official release notes, in various forum threads like here and here, etc. There still seems to be some confusion about the boundary field assignment operator==(const fvPatchField&) as well as the availability of other […] Read More

dst

OpenFOAM Stammtisch West

The next Stammtisch on OpenFOAM will be held on 30.10.2015 at the DST in Duisburg. The DST is mainly a towing tank, that performs practical and theoretical investigations of ship behaviour (put very generally). The Stammtisch will start at 9:00h at the DST (Oststr. 77, 47057 Duisburg). Lunch will be served. We will meet on […] Read More

Test well

Google Test and OpenFOAM

This entry is part 3 of 3 in the series source code testing

This entry is part 3 of 3 in the series source code testing Featured image: Test Well by Doran. Let’s adress the first obvious question that comes to mind when reading “Google Test and OpenFOAM”: why use Google Test or any other testing framework, when OpenFOAM already has an error reporting system? The error/warning system […] Read More

forkbomb

Enabling C++14 in OpenFOAM by hacking options

This entry is part 2 of 2 in the series C++ standards

This entry is part 2 of 2 in the series C++ standardsA question came up about the need for re-compiling OpenFOAM/foam-extend when working with the C++11/14 standard. Since the answer is too long for a comment, I’ve decided to write it up as a (very) short post. In this post, we will be enabling C++14 […] Read More

tesla-voronoi

A changing cell set in OpenFOAM

OpenFOAM cell sets can be used for different stuff. For a project I am working on, I needed to modify a cellSet during run-time, store it and visualize it. The task seemed simple – maybe it still is if I have missed something really obvious – but I came across enough pitfalls to write this […] Read More

previewImageS01E01

Sourceflux TV Season one – snappyHexMesh Tutorial Part 1

We have announced the first season of  “sourceflux TV” last week and it is now time to release the season’s premiere. In this first episode, we deal with snappyHexMesh and how to set things up. Due to the required length, the tutorial is split into multiple parts, that will be released over the next months.

building-blocks-library

Building an OpenFOAM library

In the following posts, we’ll code some things that should be implemented as libraries. So as a preparation, this post covers how to build an OpenFOAM library. The library doesn’t do much – basically, this post shows how to build an OpenFOAM “Hello World.” library. A previous post already covers programming applications in OpenFOAM. Whenever […] Read More

shell-script-wants-your-job

Extending the BASH PS1 variable for OpenFOAM

When would extending the BASH PS1 variable for OpenFOAM be useful? If you have a lot of different configurations of the OpenFOAM platform that you are using/testing/programming, you might want the BASH Command Line Interface (CLI from now on) to let you know what is the current status. Otherwise you might wonder why doesn’t valgrind […] Read More