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

1
vote
1answer
52 views

Is OPENFOAM a good idea for direction/operator splitting in parabolic equation

I would like to know if I should switch to OPENFOAM for my task. I work only with Cartesian grids, right now in 2d, rectangular domains only. If $\mathbf{w} = (w_1, w_2)$ and suppose I want to solve ...
0
votes
0answers
99 views

Problem with AMI, pimpleDyMFoam in Openfoam

I am running the centrifugal pump using pimpleDyMFoam. Case is running but it is not satisfying Mass conservation. That is flow rate at inlet and flow rate at outlet are different. Flowrate at outlet ...
4
votes
1answer
156 views

OpenFOAM precipitation/crystallisation reaction solver

This question is probably related to chemical engineers that are around this forum. I am looking into writing a solver for a precipitation reaction (struvite to be precise): A+B+C+D <=> E+F A, B, ...
0
votes
0answers
44 views

Tube with cylinder inside in OpenFoam

There is a solid irregularly shaped cylinder inside a tube. Fluid flows through the irregularly shaped tube and the cylinder. In other words, the radii of tube and cylinder are not constant. One end ...
2
votes
1answer
154 views

openfoam - Programming customized PDEs

I am looking for a method to automatically solve custom PDEs on a custom control volume. Specifically I would like to solve equations similar (but not exactly alike) to: $$\frac{\partial y}{\partial ...
1
vote
1answer
184 views

oscillating flow inlet BC

I want to do LES of an oscillating flow i.e. a sinusoidal flow without a mean component in a channel. In order to have a fully developed flow at lower mesh count without using a long channel I want to ...
2
votes
1answer
256 views

Add User-defined/custom differential equations in OpenFoam (CFD)

I am new to OpenFoam. And I am trying to add a set (user defined) of differential equations to OpenFoam. I want to solve this user defined set of equations at each time point in addition to standard ...
2
votes
2answers
147 views

Model of heat sink problem with fan

I am trying to solve this problem using advection-diffusion model and finite element method for the solution, due to the complex geometry. Basically the problem i'm trying to solve using OpenFOAM is ...
2
votes
3answers
358 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
2k 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
650 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
111 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 ...
3
votes
1answer
804 views

CFD: Can one calculate the dimensionless wall distance $y^+$ a priori?

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 (Computational Fluid Dynamics) parameters and use it as if everyone ...
2
votes
2answers
1k 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
1k 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
642 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
1k 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
528 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
389 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 ...
9
votes
1answer
2k 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
4k 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
1k 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
973 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
3k 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 ...
6
votes
1answer
5k 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
1k 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.). ...
6
votes
1answer
1k 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
3k 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 ...
16
votes
6answers
12k 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
214 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 ...