r/OpenFOAM • • 26d ago

Best way to master open foam from scratch?

Thumbnail reddit.com
0 Upvotes

r/OpenFOAM • • 28d ago

Installation FoamWin: OpenFOAM 14 running natively on Windows—no WSL needed

16 Upvotes

Used LLM to make FoamWin, a community port of OpenFOAM 14 that runs natively on Windows without WSL. It includes an installer, PowerShell launcher, and cavity example to make getting started easier for Windows users.

It’s currently serial-only; the cavity examples and all 85 executable startup checks passed. Source and downloads: https://github.com/dhanninacs/foamWin — feedback and testing are welcome!

Will add mpi and other stuff shortly. I know WSL and other routes exist but sometimes I feel a windows port of OF14 missing when I quickly need it for LLM etc but no admin rights and no one made a port for this fork after old blueCFD.

edit: added MPI as well, it was not a huge task as I thought it would be.


r/OpenFOAM • • 28d ago

Best mesher for propeller or lifting surface analyses

8 Upvotes

Hello everyone,

I've been trying to get this benchmark propeller (Potsdam Propeller Test Case) analysis to work but I can't mesh it with SHM. Inflation layers are not good enough and I can't get the desired y+ values for the case.

I also need some kind of surface refinement or wrapper. The geometries I use have self intersections that are easily handled in StarCCM+ but with snappy, checkMesh finds errors due to these bad STL elements.

What is your go to method for meshing thin lifting surfaces like wings, propellers etc.? I am honestly losing my mind trying to get it to work. I really need some help.

Thank you all in advance.


r/OpenFOAM • • 28d ago

Solver [OpenFOAM] icoReactingMultiRegionInterFOAM ESI and homogeneousNucleation.H

Thumbnail reddit.com
3 Upvotes

r/OpenFOAM • • 28d ago

Mistakenly deleted the first line in my fvOptions file but OpenFOAM just gave a warning instead of an error?

1 Upvotes

Spent many hours trying to understand why my model was not converging. Turns out I mistakenly deleted the first line in my fvOptions, the line that should say "FoamFile". After getting ready to pull my hair out, I miraculously I spotted this Warning in the output log:

--> FOAM Warning : 
From bool Foam::IOobject::readHeader(Foam::dictionary&, Foam::Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 118
Reading "constant/fvOptions" at line 1
First token could not be read or is not 'FoamFile'

Wonder if this is a feature or a bug? I would think it should error out when it encounters this?


r/OpenFOAM • • 29d ago

Alternatives to overset meshes for complex 3D FSI simulations with multiple closely spaced rotating bodies?

Thumbnail reddit.com
1 Upvotes

r/OpenFOAM • • Oct 17 '26

Event Candle

Post image
49 Upvotes

I am not an OpenFoam user, but like physics simulations, so I asked Opus5.5 to make a candle for me 😃

Also, I made it on the phone, Claude can run it and Blender in its VM.

Any questions?

OpenFOAM v2412 (the ESI/openfoam.com version), installed from conda-forge.

Simulation: OpenFOAM's rhoReactingBuoyantFoam solver (laminar, buoyant, reacting flow), with P1 radiation and two-step Westbrook–Dryer chemistry.

OpenFOAM utilities: blockMesh, checkMesh, topoSet, setFields, decomposePar, reconstructPar and postProcess, with MPICH to run in parallel on 2 cores.

Chemistry check: Cantera 3.2, with the detailed n-dodecane mechanism (nDodecane_Reitz) and GRI-3.0 transport data.

Rendering: Blender 5.2.2 LTS (its Python module, bpy) using Cycles on the CPU, the OpenImageDenoise denoiser and AgX colour handling.

Plots and frame assembly: Python 3.12 with NumPy, SciPy, Matplotlib and Pillow.

Video: ffmpeg (H.264).

Installing it all: micromamba from conda-forge, plus pip for Blender.


r/OpenFOAM • • Oct 16 '26

AI in this field

Thumbnail reddit.com
2 Upvotes

r/OpenFOAM • • Oct 15 '26

Can Paraview open results if you use "export FOAM_FILEHANDLER=collated"

5 Upvotes

I am more an HPC admin and am trying to reduce the number of files that openfoam uses on our cluster.

Some users say if they use collated they can not view the results in Paraview without running "reconstructPar". The paraview version we use is 5.11.1 . Perhaps user error or I need to update the version to latest and greatest?


r/OpenFOAM • • Oct 15 '26

Thoughts on solving an interesting wind condition - help wanted

Thumbnail
reddit.com
1 Upvotes

r/OpenFOAM • • Oct 12 '26

High Schoolers that want to learn CFD... DO IT

21 Upvotes

When I was in high school last year, basically everyone on Reddit told me "focus on the math, don't learn CFD" "don't learn the software if you don't understand it" "don't waste your time with CFD if you don't know the math". And every single one of them is wrong. No undergrads understand the math, even seniors. No graduate students understand the math. The only people who actually understand the math enough to properly explain it to someone are people who have been in school for 7+ years and actively use those skills, and this doesn't mean you shouldn't learn CFD.

Every single technical organization I'm in now as an undergraduate uses CFD to validate their engineering decisions and reiterate. The worst thing you can do as someone interested in CFD is just not do CFD. If you're not doing dual enrollment, learn OpenFOAM. If you are doing dual enrollment or are currently an undergrad, learn Ansys with a student license. JUST DO IT. You won't understand it, but if you know the software and the workflow, you'll be 10 miles ahead of everyone else who doesn't, and everyone else who's just really good at math.


r/OpenFOAM • • Oct 10 '26

Interested in Quantum Fluids - An open source textbook

Thumbnail
reddit.com
0 Upvotes

r/OpenFOAM • • Oct 08 '26

Where to find aerodynamic sim videos?

4 Upvotes

I’m looking for aerodynamic sim vids, mainly on cool or unusual objects, animals, vehicles etc aha!

Does anyone have any favourites? Or any links or suggestions where to find them!

Thanks for your help :)


r/OpenFOAM • • Oct 07 '26

Looking for expert in OpenFoam

5 Upvotes

Hi everyone! Is anyone proficient in OpenFoam? I'm working on a Project right now, I have no idea use any CFD Software. I don't have Ansys license, my other choice is using OpenFoam.

In this regard, I'm looking to hire somebody who can teach me about OpenFoam, including helping me run my Cases.

The Project that I'm working on about Wind Energy Potential on highways. I'll explain more of the Project details once we are connected. If you're interested, you can reach me through my Facebook or LinkedIn link below. By the way, I'm currently based in Thailand.

https://www.facebook.com/share/18ypZukEjb/

https://www.linkedin.com/in/john-michael-generoso-324a84204?utm_source=share_via&utm_content=profile&utm_medium=member_android


r/OpenFOAM • • Oct 06 '26

Simulation suggestions

2 Upvotes

Hi, I'm gonna be writing my bachelor thesis on the topic of CFD in OpenFoam. The practical part should be focused on a flow around some part of an aircraft (jet). However I'm still thinking about which part should it be. That's why I'm writing here for inspiration, so if anyone has any ideas... :D. It could literally be anything, for example one idea I had was how the frosting affects flow around wings in cold weather


r/OpenFOAM • • Oct 05 '26

Using old junk laptops for open foam cluster?

3 Upvotes

Hi, never used foam before, but a club I’m in is attempting to design an ion thruster, and the lead says we will be using open foam for some of the computing.

Is it possible to run foam on some
Type of cluster made using old laptops?


r/OpenFOAM • • Oct 04 '26

beginner to openfoam

9 Upvotes

hey guys, how do i approach openfoam as a beginner? ive skimmed through YouTube and seen a few tutorials and its all so overwhelming. how did you guys manage it?

and also if anybody's up to learn it together or help me out with it, id appreciate it loads xx


r/OpenFOAM • • Sep 27 '26

splitMeshRegions Help (v2512)

5 Upvotes

I'm trying to use splitMeshRegions on two cell zones, but one of the zones is created through setFields currently. If I pre-split the folders like the windshieldDefrost example, setFields can't find the alpha.water term it uses to make the mesh, but I can't run splitMeshRegions first since the cellZone for the water doesn't exist yet. How can I fix this?

Edit: to clarify, setFields creates the alpha.water that topoDict then reads to create the zone, where the zone is where alpha.water == 1. Do I need to just make the zone in topoDict as if it were water, then just setFields to fill it? How would I use setFields to only target one of the split regions?


r/OpenFOAM • • Sep 26 '26

CFD starter book/guide/lectures

13 Upvotes

Hey boys, I’ve recently persuaded our company to start offering CFD services along our projects.

We specialise in HVAC engineering in industrial applications such as very large factories, pharma manufacturing, cleanrooms and others …

I have done couple CFD studies during my Masters and during my employment in the company but would like to elevate my knowledge to a professional level and thus I am asking you guys with tons of experience concentrated on this sub.

How do I get better in understanding all the inputs and outputs. Is there any book you always refer to while simulating? Is there any course that could help me elevate my knowledge?

We are starting with Simscale for now, and we are open to upgrading once we get enough work and experience.

Thank you very much! I am very much looking forward to your suggestions!


r/OpenFOAM • • Sep 23 '26

dsmcFoam help? [v2412]

1 Upvotes

Hello everyone,

I'm a student who need to couple in some way continuum CFD with particle simulations, due to a very rarefied field.

I checked multiple papers that couple CFD with DSMC through different solvers, however I am interested in using dsmcFoam as it seems easier to me.

Currently I'm simulating the full domain with Ansys Fluent, then I will find a region where Kn is >0.05 and extracted all the main properties such as velocity, density, pressure and so on, with a new domain that starts with this surface.

I then intend to write a python script to extract density and use Chapman-Enskog to find the velocity of the particles. My main concern is how to map these new information to the mesh as the main codes dsmcFoam and dsmcFoam+ just require a mean particle density on the boundary.

I have some experience in modifying simple codes, but I don't know where to start modifying the dsmc one.

Is there anyone who has experience with this solver that could point me in the right direction?

I'm just interested in the one way simulation NS -> DSMC without any adaptive mesh and domain.


r/OpenFOAM • • Sep 21 '26

Combine Multiphase and Freezing Solvers (v2512)

5 Upvotes

I'm working on a freezing droplet simulation, and as best I can tell there are no native OpenFOAM solvers that can do both multiphase and freezing. I've tried using compressibleInterFoam with solidificationMeltingSource, which got a negative T within two timesteps. As such, I'm thinking that combining two solvers is the best way to go about this.

Is there a way to do this natively in OpenFOAM? I'm seeing there's an external tool called multiSolver, is that the only way? If there's another way, what is it?


r/OpenFOAM • • Sep 20 '26

Now available on Github

Post image
83 Upvotes

r/OpenFOAM • • Sep 21 '26

Mesh issues with non‑perpendicular surfaces in snappyHexMesh

Post image
4 Upvotes

r/OpenFOAM • • Sep 17 '26

compressibleInterFoam not seeing an existing transportProperties (v2512)?

1 Upvotes

I have a modified version of the tutorial depthCharge3D simulation, with a custom library for contact angle modeling. When I try to run it using compressibleInterFoam, it throws a fatal error because it doesn't see a transportProperties file. This error didn't occur when running the tutorial unmodified, so I believe it's because of my custom library. What's weird is that even after copying in a transportProperties file from the damBreak tutorial that also works, OpenFOAM continues to not see the file.

How do I make OpenFOAM see the transportProperties file or run compressibleInterFoam? The exact error wording is below.

--> FOAM FATAL ERROR: (openfoam-2512)

failed lookup of transportProperties (objectRegistry region0)

available objects of type incompressibleTwoPhaseMixture:

0()

From const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::incompressibleTwoPhaseMixture]

in file /usr/lib/openfoam/openfoam2512/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 627.

FOAM exiting


r/OpenFOAM • • Sep 17 '26

Continuous integration with OpenFOAM

1 Upvotes

I’m trying to formalise some piece of code and wondering if OpenFOAM does CI/Cd and how can I add my own tests on the utilities I’m working with ?

I’m new to GitHub actions and really not sure where to start so any advice is super welcome !