In this post, I'll give a simple example of how to create curves in blockMesh. For this example, we'll look at the following basic setup: As you can see, we'll be simulating the flow over a bump defined by the curve: $latex y=H*\sin\left(\pi x \right) $ First, let's look at the basic blockMeshDict for this … Continue reading Tutorial: Creating curves in blockMesh
Tag: CFD
A cfMesh workflow to speed up and improve your meshing
Here, I'll cover the basic workflow that I implement when I am using cfMesh. First, when do I use cfMesh? I love cfMesh. I find it robust, easy to use (with this workflow), and gives high quality hex-dominant meshes for use with OpenFOAM. But there are a few cases where I do not use cfMesh. … Continue reading A cfMesh workflow to speed up and improve your meshing
Sutherland’s Law
When working on practical engineering applications, you often encounter problems where there are significant changes in temperature locally in the flow field. For instance, if you are doing a heat transfer calculation, you usually want to use the film properties (aka the properties adjacent to the wall). Doing this in any practical sense requires a … Continue reading Sutherland’s Law
BASIC kOmega-SST Boundary Conditions
kω-SST (komegaSST) Boundary Conditions Here the basic boundary conditions if you are using the kOmegaSST model in OpenFOAM: At the wall: ω (omega) - specific dissipation rate BC type: fixedValueBC value: $latex \omega_{wall}=10\frac{6\nu_\infty}{\beta_1\left(\Delta y_{wall}\right)^2}&s=3$ Note: The omegaWallFunction actually calculates this BC value for omega at the wall. Therefore, you can use it, even if you aren't … Continue reading BASIC kOmega-SST Boundary Conditions
y+ Calculator
Here's a useful little tool to estimate your wall spacing requirements to achieve a specific y+. It is based on flat plate boundary layer friction estimations. Therefore, it should only be used to put you in the ballpark for mesh sizing. If you found this useful, and have the need for more, visit http://www.stfsol.com. One … Continue reading y+ Calculator
Time-Varying Cylinder Motion in Cross-flow: timeVaryingFixedUniformValue
This post is a simple demonstration of the timeVaryingFixedUniformValue boundary condition. This boundary condition allows a Dirichlet-type boundary condition to be varied in time. To demonstrate, we will modify the oscillating cylinder case. Set-Up Instead of using the oscillating boundary condition for point displacement. We will have the cylinder do two things: Move in a … Continue reading Time-Varying Cylinder Motion in Cross-flow: timeVaryingFixedUniformValue