As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [openfoam]

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

Filter by
Sorted by
Tagged with
6 votes
1 answer

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 ...
Tobias Kienzler's user avatar
3 votes
2 answers

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.). ...
Tobias Kienzler's user avatar
9 votes
1 answer

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 ...
tmaric's user avatar
  • 1,916
5 votes
2 answers

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 ...
Igor F.'s user avatar
  • 333
20 votes
6 answers

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 ...
prrao's user avatar
  • 303
10 votes
1 answer

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 " Running the code", tutorial says to ...
danny_23's user avatar
  • 501