Email - info@sourceflux.de

Laminar flow around a cylinder

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

conversion

Convert label to word

I frequently use a Foam::label to access container values, such as HashTable. The main difference between a HashTable and a List is that a List uses consecutive numbers as keys to access values, whereas a HashTable (generally) uses strings to access values. The problem is, that the types are incompatible and one needs to convert [...] Read More

box barge mesh perspective

Box Barge: A basic Validation Case

The box barge: a basic validation case for OpenFOAM solvers that deal with solid body motions. Even the case by Jung et al. [1] has been presented briefly in “Validation Cases for Naval Hydrodynamics”, a more extensive description of this case is to be provided by this post. We have prepared a blockMeshDict for this case, [...] Read More