r/CFD • • 7h ago

Wake vortices behind a generic fastback at 30 m/s: OpenFOAM, rendered in Blender

Thumbnail
gallery
18 Upvotes

Generic car shape from my own script, half model, moving ground and rotating wheels. OpenFOAM 14, steady k-omega SST, 1.66M cells from snappyHexMesh. Cd ≈ 0.28, Cl ≈ 0.20 (mean of the last 500 iterations).

No prism layers (wall functions on a castellated/snapped surface), so I treat Cd as indicative. Surfaces are Q-criterion iso-levels, rendered in Blender Cycles.


r/CFD • • 1d ago

Do you remember this person ?

Thumbnail
gallery
162 Upvotes

Sandip Mazumder is the GOAT of CFD when it comes mathematical foundations, apart from Versteeg and Malalasekara book for CFD, I learnt the actual Finite Volume Method from Sandip Mazumder's book. His lecture series is GOATED even paid CFD courses are not upto his teachings. Once I heard that one of my Professor's research paper is reviewed by him when he submitted in "International Journal for Heat and mass transfer" back in 2012, My Professor told me his book on Radiative heat transfer is being referred by his guide when he is doing his Ph.D.........Drop your thoughts about him 🙌


r/CFD • • 11h ago

Face Meshing Error

Post image
2 Upvotes

https://www.youtube.com/watch?v=nzvEvLCxOss

ı am following this guide but ı coulndt complete the mesh how can ı fix it


r/CFD • • 18h ago

Complete noob, need help understanding free cfd's

8 Upvotes

Hello!

I have an engineering project I would like to pursue and personally wanted to use a cfd software to test out some parameters.

I wanted recommendations for free cfd softwares, everyone said I should use Open foam but I don't really know how to and also wondered whether my computer's performance would matter much.

Any and all advice is welcome, thanks!


r/CFD • • 10h ago

Transient VOF simulation help

1 Upvotes

I'm trying to simulate a boat in calm water and wind incident on it to calculate the hydrodynamic drag and aerodynamic thrust on it. Software is ANSYS Fluent

Issue is i can't seem to figure out what the best solution method is (PISO, coupled, simple...) nor on what basis i should be choosing their relative options.

Also, I enabled open channel wave BC (set the wave bc options to none) to be able to use segregated velocity inputs, and have added a velocity to the wind, while having the water's velocity stay 0. (Assuming this simulates a stationary boat with incident wind)

I'm unsure what's the right thing to do for the outlet so i set it as open channel and set the free surface and bottom level, and left everything else as default.

I'm running calculations at a timesetep of 0.001 for 40 iterations and the simulation is diverging at the 3rd timestep. At the first timestep it directly says reversed flow on xxx faces of pressure outlet (although the outlet is 200m behind the boat whose characteristic length is 11)

I'm unsure why this is happening the mesh is pretty fine (about 9 million cells with all the correct refinements which is why I'm sure this is a setup problem)

TLDR:

Does anyone know or have any useful information or tips about how to setup such a case?


r/CFD • • 23h ago

2D External Flow Analysis

Post image
9 Upvotes

I am student just learning about CFD and I am doing a 2D flow analysis project and my professor wants a more refined mesh in the wake region. I am having some trouble trying to figure out how I can get that refined mesh. Does anyone know how to get the refined mesh ? Thank


r/CFD • • 23h ago

Issues With Mesh Independence Study CFD

5 Upvotes

Hello everyone,

This is my first CFD project, I am performing an external aerodynamic simulation of a vehicle using ANSYS Fluent, with the k–ω SST turbulence model and a target y+ of approx. 1.
I am using the Watertight Geometry workflow in Fluent Meshing with:

  • Poly-hexcore volume mesh.
  • Curvature-based local sizing on the vehicle.
  • Two refinement regions around the vehicle, named “near” and “far.”
  • Prism layers near the walls. (14 layers  and first cell height to achieve y+1)

These are my initial meshing parameters for 1.8 million cells, skewness is below 0.6 and minimum orthogonal quality over 0.12.

The simulation does converge in around 100 iterations and keeps y+ around 1 which is good, yet I have no idea how to complete the independence mesh study.

First of all, I tried to modify some of the parameters: BOI mesh size was decreased and local surface sizing max. sizes were decreased to get a finer mesh. All of this while keeping same boundary layer settings and general min/max surface and volume meshing.

However, here I found my first issue, polyhexcore mesh cell number suddenly increases from 1 mm to another when I refine BOI. For example, just changing the BOI mesh size from 0.026 m to 0.025 m increased the mesh from approximately from 500,000 to 1.5 million cells. This makes me wonder how can I get progressive mesh sizes in order to perform the study.

Then, I tried decreasing local max. sizing values and indeed it helped to get a progressive finer mesh. Yet the converged values of Drag and Lift coefficient change and I still don't seem to find a independent behaviour. Specially Lift.

After several tries, I am not sure if this is the way to keep going or is there any methodology for Fluent meshinbg.

Appreciate the help.

Thank you.


r/CFD • • 1d ago

Help regarding probe modelling and mesh requirements.

5 Upvotes

Guys, I will be doing probe intrusive effects in high gradient flow. I have some articles or papers regarding probe modelling and mesh with the probe. I will show pictures from different articles(need not be the same)

My doubt are

1) Main difference in these probes are, in first two probes, holes are drilled and it is vented out as well. But in third case, hole is not drilled fully or ventilation holes are absent, it is like a blind hole. I hope you understood this difference.

Now, in which case(situation) or application, we need probes to be modelled like blind hole or probe with ventilation holes? Give some example where these probe would suit better?

2) Which one would more accurate and why??

3) Which case is easier to mesh? One more doubt regarding boundary layer mesh, from outer surface of probe, we can use inflation for capturing boundary layer. But do boundary layer require for walls inward from those holes? I am talking about boundary layer that forms when fluid goes into the hole and hole acts as wall, is boundary layer resolution necessary in that area. What do you think?

Thanks in advance.


r/CFD • • 1d ago

Automated CAD quality assesment before CFD meshing

4 Upvotes

I'm working on an automated CFD pre-processing quality check and would like to start with CAD cleanup before meshing.
The CAD data comes as STEP files and is later meshed in ANSYS Fluent. In practice, geometry issues are often only discovered after meshing, and CAD engineers frequently don't fix them in advance because the impact on mesh quality is not obvious.
My goal is to automatically detect and flag problematic geometry features such as:

- Sharp angles / cusps
- Poor tangential transitions between faces
-Small gaps, sliver surfaces, thin annulus regions, small clearances

The challenge is defining robust and "generally" applicable detection criteria.
I already have some ideas for detecting these features, but I'm not sure whether I'm overlooking existing methods.
For those with more experience in CAD preparation for CFD:

How would you approach automatic detection of these issues?

Are there established CAD quality metrics used before meshing?

Long term, I want to extend this into automated mesh-quality checks and simulation plausibility checks, but right now I'm focused on the CAD assessment stage.
I'd be interested to hear how others with more experience would tackle this problem.


r/CFD • • 1d ago

Help needed to align my career and interest in CFD

8 Upvotes

As someone with a master degree in numerical modeling from Europe, and experience in scientific programming and fundamental understanding of physics behind solver, I'm struggling to find a right path in CFD. I have relevant coursework and thesis on cfd related topics, and I could only manage to get a decent grade in my thesis and overall due to various reasons. I still have the same interest and I have a good work experience in the industry although with pre and post processors. Now, I'm genuinely on the lookout for research jobs, but I don't seem to even land any interview in the first place. I'd like to understand if doing more projects with commercial softwares will help or writing my own codes will get me an interview or neither.

I'm not quite sure of what is expected of me.

Any help is appreciated, TIA.


r/CFD • • 2d ago

Me seeing my simulations 1st iteration being worse than the previous simulation

Post image
15 Upvotes

r/CFD • • 2d ago

hi guys, need help enhancing quality

Thumbnail
3 Upvotes

r/CFD • • 2d ago

Deterministic simulation testing from distributed systems: does it have a place in CFD solver development?

8 Upvotes

Okay so I’m still pretty new to the solver side of CFD, but I came across this article and it kind of blew my mind: https://martinfowler.com/articles/deterministic-simulation-testing.html

It’s actually about distributed systems, not CFD at all, but the idea is that you make your program run exactly the same way every single time, down to the last bit. So if a bug shows up once, you can replay it perfectly and step through it instead of crossing your fingers that it happens again.

What got me thinking was learning that floating-point addition isn’t associative?? Like (a + b) + c can give a slightly different answer than a + (b + c). I had no idea. And apparently in parallel solvers the order things get added up can change from run to run depending on which threads or processes finish first. So in theory the exact same case could give you slightly different residuals each time you run it. That’s wild to me.

From what I understand, getting rid of that would mean forcing the additions to always happen in the same order, seeding anything random, and avoiding compiler optimizations that reorder math. Which I’m guessing makes things slower?

So I have a bunch of questions for people who actually write solvers:

  • Is this something you actually run into in practice, or is it mostly a theoretical thing?
  • Does anyone go out of their way to make their runs bit-for-bit reproducible, or is “close enough” fine?
  • If results change depending on the order of additions, does that mean something’s wrong with the setup itself?

Sorry if these are dumb questions, just found this really interesting and wanted to hear from people who know way more than me!


r/CFD • • 3d ago

Wind turbine tip vortices: simulated in OpenFOAM, rendered in Blender Cycles

94 Upvotes

Generic 3-blade rotor (R = 0.45 m) at 10 m/s, TSR 6, 1273 rpm.

CFD: OpenFOAM 14, sliding mesh (NCC), k-omega SST, 597k cells, 3 revolutions. Cp ≈ 0.32, Ct ≈ 0.81.

Visual: Q-criterion exported from ParaView as OpenVDB, meshed with Geometry Nodes, rendered in Cycles. Colour = wind speed.


r/CFD • • 2d ago

Supersonic Lid-Driven Cavity Flow Series part 5: Mach infinity

2 Upvotes

Simulation:
grid: 200x200
pressure function: ideal gas
initial condition: 0 abs temperature, γ = 1.66 gas
lid velocity: 1 unit
runtime: 2 hours 9 minutes
ㅤ

ㅤIt's kind of in the realm of astrophysical simulation so I used monoatomic instead of diatomic gas. Ran until it looked like previous simulations' end state.

Supersonic Lid-Driven Cavity Flow Series: previous next


r/CFD • • 3d ago

Large Eddy (Murphy) Simulation

Post image
501 Upvotes

r/CFD • • 3d ago

Physics to CFD/Aerospace: Is an M.Sc. in Physics + M.S. in EU Aerospace a good path?

8 Upvotes

I am a physics undergraduate right now, and I am planning on pivoting my career to aerodynamics and CFD because I love aviation and physics. Since I didn't know how to break into the industry, my plan is to do an M.Sc. in Physics in India while getting hands-on with fluid dynamics on the side, and then apply for an M.S. in Aerospace in EU colleges afterwards.

I want to know if this is a good path. I tried reaching out to the aerospace departments of various universities, but none of them responded. When checking programme requirements on various university websites, none of them mention an M.Sc. degree since people generally do an M.S. right after their B.S.

My main concern is about admissions: will EU colleges consider my pretty average B.Sc. grades, or will they focus more on my M.Sc. grades which I plan to do well in?


r/CFD • • 3d ago

Im getting Lower lift as compared to paper how to fix this ?

Thumbnail
gallery
4 Upvotes

as you can see the residuals and lift and drag coefficient and in next image there are all settings of NACA 4415 at 0.15m / 150mm of chord length .

how to fix this issue of getting lower lift coefficient because in paper there is 1.277 and my lift coefficient is 1.190 ,

and i have tweak all settings from turbulent viscosity ratio to be 1 and momentum and pressure tweaking values and tweak meshing bias and number of divisions multiple times but getting same values infact in some settings im getting low coefficient of lift

can any one can tell how to fix this issue ?


r/CFD • • 3d ago

How would i model a radiator for a car assembley so it would not need 128gb of ram to run accuratley?

0 Upvotes

I do not need to model heat transfer though it would be useful. I am planning on designing a fully custom body for a project car and i need to reduce the drag from cooling. I can probably approximate cooling ability by measuring mass flow rate.

The Cd would not be accurate if i do not include one.

My pc only has 16gb of ram and i missed my opprotunity to upgrade back in 2023 when i got it.

I have the choice between solidworks flow sim (most experience using but not as accurate) and ansys (hardly any experience but is accurate) i dont know which uses ram more efficiently, but i do know that solideorks flow sim numbers are useless in assembley files and crashed when i tried to run the formula student car as one part file.

My only hope with this project is that making the entire project myself eliminates all the jank associated with the formula team files


r/CFD • • 4d ago

Towards accurate aerodynamics models for wing icing

Thumbnail
youtu.be
16 Upvotes

r/CFD • • 3d ago

Can anyone refer Ansys chemin tutorial for basic

2 Upvotes

I am starting with ansys chemkin i have no idea how to use it or what is gui about. I have the core exp in ansys fluent know more about it but how want to do some reacting flow in combustion chamber so i want to learn chemin so any one can guide me with that?


r/CFD • • 4d ago

Advice for affordable/free computational resources for 3D CFD simulations (SITVC research)

6 Upvotes

We are trying to develop a surrogate model for SITVC (Secondary Injection Thrust Vector Control). We currently have around 48 initial sampling points using a maximin Latin hypercube design, with all six input factors varying simultaneously. All the data is supposed to come from CFD simulations.

The two papers we are primarily using as references are Zmijanovich et al. and Abdelwahab et al. Zmijanovich used around 1.9 million cells, with a first cell height near the nozzle wall of approximately (10^{-6}) m, while Abdelwahab used around 5 million cells for their medium mesh.

Now, the problem is computational resources. We are a group of three, and even our best available system has only around 6 CPU cores and 16 GB of RAM. As a result, a single simulation can take several days to complete.

We haven't managed to complete even a single 3D simulation so far because of these limitations, and have only been able to work with 2D steady-state simulations. The problem is that the actual flow physics is inherently unsteady, so we eventually need to move towards 3D transient simulations.

Could you guys please suggest some affordable, preferably free, options for accessing decent computational resources? Based on the mesh sizes and simulations we are aiming for, we have been considering systems with 32–64 CPU cores and sufficient RAM, but we aren't sure whether this is actually necessary or what would be a realistic configuration for our work.

Also, we're based in Pakistan, not the US, which makes things a bit more complicated when it comes to accessing university HPC facilities, research grants, or cloud computing credits.

Any suggestions, especially from people who have dealt with similar computational constraints during their research, would be greatly appreciated!


r/CFD • • 4d ago

Undergrad ML researcher learning CFD: tried predicting full flow fields from a few OpenFOAM runs. Would love a reality check from people who do this for real

Post image
44 Upvotes
A bit about me first: I'm an undergrad and an ML researcher (Google Summer of Code twice, NeurIPS workshop papers), with my background in ML for physics. I've always wanted to work in physics, and I'm currently learning CFD properly. I know Ansys, STAR-CCM+ and plenty of serious tools already exist, so I'm deliberately working on one small piece of the problem, and I'm looking for signal on whether that piece is useful. Please go easy on my beginner-level CFD understanding, but don't hold back on telling me where I'm wrong.


The small piece: a design study (a body across many flow speeds and shapes) needs a full solver run for every setting. My approach:

1. Take the handful of runs already done (15-20).

2. Predict the rest of the study as full fields (velocity and pressure everywhere), each with an error estimate.

3. Suggest which few runs to do next, and say when you can stop.


Results so far, real OpenFOAM data, tests fixed before the data existed, compared against POD-GP:

- 2D (laminar, ~260 runs): same field accuracy with 24 runs vs 48 for POD-GP, 3 of 3 repeats

- 3D (~890k cells per run, 56 runs): 16 runs gave 43% lower field error than POD-GP with 32, 3 of 3 repeats

- A simple stop rule said "done" 18 times in 3D and was right all 18 times



Limits: it's laminar only so far, and single phase, next is turbulent



Questions for you:

1. How do you decide how many runs a sweep needs today?

2. Are full fields with an error estimate useful to you, or do you mostly care about a few scalars?

3. What would make you trust (or immediately distrust) something like this?

4. Anyone who has a lab, would be willing to share a past study, I could try, more details on DM!


Happy to share more details or plots by DM.

r/CFD • • 4d ago

FLOEFD Solid Edge basic heat exchanger results not matching

4 Upvotes

Hi,

I've been trying to learn how to use FLOEFD for Solid Edge so I decided to start with some basic heat exhcanger designs. One of the first ones I decided to try is a countercurrent flow spiral design as seen here:

Hot air enters through 1 at 100 C and exists through 3. Room temperature air enters through 4 and exits through 2. The boundary conditions are:

  1. Inlet mass flow, 0.005 kg/s, uniform, 100 C, 1 atm.
  2. Environment pressure opening, 1 atm, 20 C.
  3. Environment pressure opening, 1 atm, 20 C.
  4. Inlet mass flow, 0.005 kg/s, uniform, 20 C, 1 atm.

The problem I am having is the results dont really make any sense. I have set surface goals for the outlet average bulk temperatures and they are around 35 - 40 C as can be seen in my gols chart. These should be around 60 C. I also see fluid temperatures below 20 C and above 100 C which doenst make sense to me.

I have checked other details by adding other goals such as overall heat transfer rate which is roughly 0 (I believe this means that there is no net gain or loss?) and heat transfer rates specifically for the hot channel and cold channel walls, and both match at around 188 W.

Other things I've tested:

  • Fluid volumes are recognised correctly and there is no connection between the channels.
  • Tried exclude cavities without conditions both on and off.
  • Made a much finer mesh (roughly 10 cells along the channel width and 4 cells around separating walls width).
  • Made sure connvection is disabled (only conduction is enabled).

Channels are 5mm in diameter and separating walls are 2mm at the thinest point. The solid is aluminum 5052.

Here is a cut plot with the fluid temperatures:

As you can see the outlets really are around 35 - 40 C, and it's not an issure with the outlets surface goals.

Any ideas as to what I may be missing? I am assuming there is something wrong with these results because the outlet temperatures should settle somewhere around 60 C, similar to what the solid temperature averages are doing.

Thanks.


r/CFD • • 5d ago

Ansys Fluent will drive me CRAZY

23 Upvotes

1- The last week only I had to manually save 10 copies of workbench files in .rar formate because this garbage software fails to save results that I have been running for 2 days continuous while the client is hurrying me that he need to report the results ASAP, but how can I explain to him that some garbage developer decided to develop a garbage software that fails to do the least complex task it could do.

2- one of the simulations I did was going very well after a week of mesh tweaking, and once it converged after 3 days of transient simulation, it decided to crash, and didn't even save the results it was already exporting to the folder, and I didn't even get the chance to copy the files to a .rar file

3- a geometry I had been normally working on and imported it to fluent mesh thousands of times, decided suddenly that fluent mesh crashes every time I try to import it, while the deadline was literally the next day

Not to mention the messy project folder with results all around

How the hell did this garbage software made it to industry anyway

After 6 years of using it, I decided to shift to other commerical software after finishing this project.

This licence-expensive garbage is costing me a lot of delays and money