OpenFOAM is a free, open source CFD software package developed by OpenCFD Ltd at ESI Group and distributed by the OpenFOAM Foundation.
Questions tagged [openfoam]
57 questions
5
votes
1 answer
How to create zero thickness internal walls in a given mesh in OpenFOAM?
I know using topoSet and subsetMesh along the lines of the mesh/moveDynamicMesh/simpleHarmonicMotion tutorial, one can cut holes into a mesh and obtain new patches. How can something similar be achieved with a vanishing hole, i.e. can a set of…
Tobias Kienzler
- 321
- 6
- 22
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.).
So, is there any way to have a simulation abort…
Tobias Kienzler
- 321
- 6
- 22
2
votes
1 answer
How are dimension units on openFoam?
When I open U for example, I find:
dimensions [0 1 -1 0 0 0 0]
That means m/s
What are the other dimensions?
Vitor Abella
- 173
- 1
- 9
2
votes
1 answer
SnappyHexMesh and multi stl geometry
I am quite new in snappyhexmesh and OpenFoam world and I am trying to mesh a multi stl geometry. My geometry is a geometry which is split in 3 different stl files. Globally it is closed, but each single part is not closed. As far as each stl is not…
albiremo
- 410
- 4
- 18
1
vote
1 answer
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
Moorz
More information:
My work is to apply CFD tools…
moorz
- 11
- 2
1
vote
1 answer
Differences between openfoam and freefem/fenics
I know a little about fenics and freefem.
There exists a big difference between those and OpenFoam?
They are used in a similar way (editing a file and writing code)? or perhaps it is made for other types of problems? Is it appropriate for…
yemino
- 515
- 2
- 15
1
vote
1 answer
How to let OpenFOAM write output at fixed time intervals _and_ keep the last few steps?
As described in https://openfoam.com/documentation/user-guide/controlDict.php I can use
writeControl timeStep
writeInterval 1
purgeWrite 10
to keep the last ten timesteps while purging older ones. On the other hand I can use
writeControl …
Tobias Kienzler
- 321
- 6
- 22
1
vote
0 answers
Need suggestions about technical difficulties - Drying + Pyrolysis of coal particle
In OpenFOAM by default, the FireFOAM is well supported for solid pyrolysis modeling. With that in mind, I managed to built my solver for a modified version of pyrolysis (for dry coal - without moisture) based on FireFOAM. Now in the case of wet coal…
Kumaresh
- 11
- 2
0
votes
2 answers
Openfoam: simplefoam: command not found
I was trying to install OpenFoam exactly as mentioned on their website.
But when I run simpleFoam -help it says command not found, even after restarting my PC.
I am using Ubuntu 20.04 lts.
When I run tail ~/.bashrc, this is the output
.…
Prakhar Sharma
- 103
- 5
0
votes
1 answer
Is open foam Mac version compatible with Linux version
I am recently starting with OpenFoam. I have a Mac as my personal laptop, but I would have to use OpenFoam on linux in my lab. So my questions are:
1) Is the OpenFoam software independent of OS, so that I can use interchangeably on both Mac and…
Tyrion
- 3
- 1
-1
votes
1 answer
Open Foam User Guide Tutorial
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:
Writing polyMesh
--> FOAM FATAL ERROR:
Failed writing…
Filippo
- 1
-2
votes
1 answer
openFoam - How to create an intermediate scalar variable and output it?
For learning purposes, how do I create an scalar variable like temperature divided by 2 and outputs it on files generated?
Vitor Abella
- 173
- 1
- 9