OpenFOAM is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation.

learn more… | top users | synonyms

2
votes
3answers
120 views

How to get discretization coefficients of matrix A in Finite Volume Method (FVM)?

First we have Discretization of the Transport Equation $$ \frac{\partial \rho \phi}{\partial t} + \nabla(\rho U \phi) - \nabla (\rho \Gamma_\phi \nabla \phi) = S_\phi (\phi) $$ In Finite Volume ...
1
vote
1answer
365 views

Modelling rotating machinery other than AMI rotating meshes

I have case of a rotating fan at Low- speed ie about 300-400 rpm. I have successfully carried out RAS simulations using cyclicAMI approach where, the motion of the fan is modeled as rigid body ...
1
vote
0answers
179 views

A Simple Standard Test Case for Pipe Flow

Original Question I am familiarising myself with OpenFOAM and want to run a simple pipe flow case. I would like to be able to compare my computational pipe-flow results to a well established case ...
1
vote
0answers
63 views

a reverse of foamToVTK tool?

my question is simple, in openfoam we have the function foamToVTK which creates vtk files for each timestep of the solution. Now I have a huge VTK tar file (has atleast 100 timesteps), i have system ...
2
votes
0answers
135 views

can we calculate y+ apriori?

perhaps the most idiotic question I ever asked. people throw around the parameter $y^+$, as if it is the be all and end all of CFD parameters and use it as if everyone and their dog know how to ...
1
vote
2answers
162 views

openFOAM RAS to LES

I successfully ran a RANS simulation of industrial fan with all wall BCs, pimpleDyMFoam solver and spallart-almaras RAS model. I got results upto some time, I would like to continue that simulation ...
0
votes
1answer
306 views

how to specify an arbitrary surface for field average in openfoam?

So, I am running this openfoam simulation and I need areaAverage velocity and pressure on a surface,currently the entire plane is being read, I wan't to specify my own in sampleSurfaceDict, ...
0
votes
2answers
140 views

mesh spatial dimension in OpenFOAM

My default mesh geometry length is in 80 mm. For OpenFoam, I scaled the mesh in meters as 0.008 m. Once I import the mesh in OpenFOAM, it is a collection of point coordinates. Now, the location of ...
5
votes
0answers
482 views

What is the best OpenFOAM RAS turbulence model for a motorbike/vespa problem?

I am learning OpenFOAM as a hobby and using my Vespa racing as the topic to apply it to. The objective is to produce modifications that improve the top speed (as well as getting some values such as ...
-1
votes
1answer
249 views

Open Foam User Guide Tutorial [closed]

I am trying to follow the Openfoam user guide but I'm stuck at the first tutorial 1. In fact, when I try to run the blockMesh command (using the administrator account), the following appears: ...
1
vote
1answer
303 views

OpenFOAM-CFD, human body grid

I am new user of OpenFOAM, I have to generate a grid of a human body to calculate the convective heat transfer between the body and the environment. Can someone guide me please? Thanks in advance ...
8
votes
1answer
1k views

OpenFoam vs FiPy

I need to learn and utilize a finite volume automated solution package for a project I'm working on and have narrowed it down to these two packages. I was wondering if anybody has experience of both ...
3
votes
1answer
2k views

Adjusting the time step dynamically in OpenFOAM?

I'm experimenting with OpenFOAM. In my simulation of a time-dependent, transitional flow the Courant number remains well below 1 for a certain period but then rises, eventually leading to a floating ...
5
votes
2answers
655 views

Transitional flow in OpenFOAM

Is it possible to simulate transitional flow in OpenFOAM? Or, alternatively, does it make sense to use k-epsilon or k-omega model with low Reynolds number? If not, why? What kind of errors would ...
2
votes
0answers
565 views

Can post-processing use topoSet and createPatch without screwing up the results?

I would like to use patchAverage to obtain the average pressure on an object that consists of multiple patches (due to different boundary conditions), however ...
5
votes
1answer
2k views

How to create zero thickness internal walls in a given mesh in OpenFOAM?

I know using topoSet and subsetMesh along the lines of the ...
5
votes
1answer
3k views

How to set up the dynamic mesh for a piston moving through a tube of variable diameter?

The tutorial case incompressible/pimpleDyMFoam/movingCone describes a cone moving through a "tube" (if you change the far-field patch into a wall) of constant ...
3
votes
2answers
580 views

How to let OpenFOAM abort a simulation when values exceed a given range?

When the absolute pressure becomes negative or $U$ exceeds the speed of light, things have pretty obviously gone wrong (be that bad boundary conditions, a too coarse mesh, a too large timestep etc.). ...
5
votes
1answer
498 views

What are the strategies for local Adaptive Mesh Refinement (local AMR) on unstructured meshes?

I am interested in local AMR on unstructured meshes. Currently, I'm working with the OpenFOAM library - it supports completely unstructured local AMR: cell refinement criteria determine a list of ...
5
votes
2answers
2k views

Specifying boundary conditions for imported mesh in OpenFOAM

I have a mesh produced from scanning a real 3D object (I don't have a geometry). What is the most convenient way to specify inlets, outlets, etc. for CFD in OpenFOAM? The mesh consists of thousands of ...
12
votes
3answers
6k views

How to get started with OpenFOAM for CFD

I'm looking at using OpenFOAM for solving basic internal flows in CFD. What is the best way to get started, and could anyone please point me to a good online reference to go to with any questions I ...
9
votes
1answer
189 views

Why do we have to rerun the CFD solver for higher Reynolds number?

I started to learn OpenFOAM from the Cavity tutorial which is provided at the web-site. When experimenting with different Reynolds numbers, in section "2.1.8.2 Running the code", tutorial says to ...