Email - info@sourceflux.de

OpenFOAM source code testing

tumbler-snapper-test

OpenFOAM source code testing

The photo above shows a snapshot of  the  Tumbler Snapper atom bomb test – this happens to the source code that has low test coverage, much sooner than the tested code, it goes BOOM, when you least expect it. OpenFOAM source code testing doesn’t have to be tedious, it can be a crucial and dynamic [...] Read More

honey-siona-karen

A shear rheometer using OpenFOAM

In some special cases it is possible to solve the the Navier-Stokes equation system exactly. The flow of a viscous fluid between two rotating cylinders is a good example of such a case. The Navier-Stokes equation system can be derived in cylindrical coordinates, and together with the appropriate boundary conditions, it is reduced to two [...] Read More

laminar flow around a cylinder

Laminar flow around a cylinder

Introduction The two dimensional laminar flow around a cylinder is one of the cases everyone starts with when learning CFD, so in this post we show how to set up this simulation case in OpenFOAM. The icoFoam OpenFOAM solver implements the mathematical model for unsteady laminar flow, and the OpenFOAM native blockMesh mesh generator will [...] Read More

door-to-hell

fvOptions : Solver modifications

This entry is part 2 of 2 in the series fvOptions

This entry is part 2 of 2 in the series fvOptionsIntroduction The image above shows the “Door to hell”, a burning natural gas field – a heat source. In this post, we cover the design of fvOptions, modify a Laplacian (diffusion) equation solver, and add a heat source to a tutorial case at run-time. In [...] Read More

san-diego-comp-center-mousepad

fvOptions : Adding source terms to equations at run-time

This entry is part 1 of 2 in the series fvOptions

This entry is part 1 of 2 in the series fvOptionsIntroduction to fvOptions Since the version 2.2.0, OpenFOAM supports fvOptions – a flexible framework that allows users to add source terms to equations of the mathematical model. The source terms can be predefined and there is a set of existing fvOptions to choose from. Additionally, [...] Read More

bookCover04

Book ready for pre-ordering

Over the last couple of months, we have been working on the final steps of the book release. Now we are happy to announce that we are ready to release the book on the 30.9.2014, but the book will only be available over our website for now. This has to do with some administrational issues, [...] Read More

books

101 Things to read when starting with OpenFOAM

This isn’t actually a list of “101 things to read when starting with OpenFOAM”, but we found the title name catchy. OpenFOAM is an Open Source software for Computational Fluid Dynamics (CFD) implemented using the C++ programming language. Looking at this definition, it is easy to see what needs to be learned in order to [...] Read More

transformPoints_rotation

Transforming Surfaces with surfaceTransformPoints

Similar to transformPoints for the mesh, surfaceTransformPoints can translate, rotate and scale a surface mesh. This is particularly helpful, when the geometry in question is located in an undesirable position in space and must be moved accordingly. #!/bin/bash export FILE=”geometry.stl” surfaceTransformPoints -translate “(1 1 1)” $FILE surfaceTransformPoints -scale “(10 10 10)” $FILE The above illustrate the most basic functionalities of surfaceTransformPoints: [...] Read More

gears

Run-time type selection in OpenFOAM – implementation

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

This entry is part 3 of 3 in the series Run-Time Type SelectionThe image above has been borrowed from here. Please answer this survey, to improve the quality of this post-series. Introduction Following up on Run-time type selection in OpenFOAM – the type name system, this post addresses the implementation of the run-time type selection [...] Read More

choices

Run-time type selection in OpenFOAM – selecting objects

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

This entry is part 2 of 3 in the series Run-Time Type SelectionThe image above has been borrowed from here. Please answer this survey, to improve the quality of this post-series. Introduction The previous post on run-time type selection (run-time selection or RTS) in OpenFOAM describes how the type name system works. This information will [...] Read More