r/CFD 7h ago

CFD of a (almost) no rules time attack car

Thumbnail
gallery
31 Upvotes

I used Simsale for CFD and Onshape for CAD. Because these images are mostly for show, feel free to loot at my CFD documentation. There you can find: the documentation of the first 29 design iterations, slices, animations, 3d visualisation, and some non aero renders of the project. You can find the documentation here:

https://www.mediafire.com/file/vwr1cthzv2emeoz/VFR_CFD_documentation.zip/file

i am open to constructive criticism


r/CFD 4h ago

[OpenFOAM 13] crash when simulating this frequency inverter

Thumbnail gallery
4 Upvotes

r/CFD 10h ago

Residual behavior after increasing DPM interval – is this normal?

3 Upvotes

Hi everyone,

I'm currently simulating a spray roaster reactor for my master's thesis. Pretty much everything I've learned about Fluent has been through trial and error and a lot of learning by doing. 😄

I started by simulating only the continuous phase (injected through the burners). After that, I enabled two-way coupling and implemented the DPM. For most of the project, I used a DPM interval of 1. Later, I also implemented my UDFs.

Simulation setup:

  • Pressure-based coupled solver
  • Steady-state simulation
  • Pseudo-transient with CFL control
  • Started with a CFL of 2 and gradually increased it to 17

Recently, I asked an AI how I could improve convergence because increasing the CFL any further caused divergence and instability. It suggested increasing the DPM interval from 1 to 30.

Surprisingly, this actually improved the convergence of my continuity residual. It dropped from around 9.8e-03 to somewhere between 4e-03 and 5.6e-04 (sawtooth pattern).

However, the residual curve now has a clear sawtooth pattern. It's stable (it doesn't diverge), but it is no longer as smooth as it was before, when the continuity residual stayed at a higher level. (see screenshot)

The AI told me that this behavior is expected and generally acceptable because the DPM source terms are only updated every 30 iterations, which naturally produces this pattern.

Is that correct? Is this kind of sawtooth residual behavior normal and acceptable when using a larger DPM interval?

For what it's worth, my two monitoring quantities remain stable throughout the simulation.

I'd appreciate any insights or experiences from people who have dealt with steady DPM simulations.

Thanks in advance 😊


r/CFD 1d ago

VOF simulation of R-134a evaporation

5 Upvotes

Hi everyone, I have been trying to run VOF simulation of R-134a in a pipe to simulate the evaporation process in ANSYS.

So far, the simulation is running but producing wrong temperature results.

Input: mass flow inlet - R-134a liquid 0.0038296 kg/s; R-134a vapor - 0.00019148 kg/s

Outlet: outflow

Wall: constant heat flux 18.5 kW.

Multiphase model - VOF (implicit body forces ON), Formulation Explicit, Interface modeling - Sharp;

surface tension coefficient set to constant (0.00796 N/m), surface tension modeling on (CSF), Mass transfer - Liquid to Gas; chosen the evaporation - condensation option and under it - LEE model currently using From Phase - To phase frequency 2000/s.

Energy is ON, Turbulence is ON.

Methods: PRESTO, volume fraction - Geo Reconstruct.

Initialization: From inlet, and Patching with: mixture phase with pressure; Vapor - with volume fraction. Patch zones the whole geometry (geom_solid).

Mesh: Fine mesh, with inflation layers.

Please help. Thank you.


r/CFD 1d ago

CHEAP laptops for students

2 Upvotes

hey i’m a student with a macbook at the moment and im gonna sell it to get a laptop that’ll work with ansys without trying to blow up but like all students i have zero money. what are my options? looking at a dedicated graphics card and at least 16GB RAM. please help a girl out


r/CFD 1d ago

Any public benchmarks for calculating pumping flow rate of a fan?

3 Upvotes

I am using openfoam and know how to setup a moving reference frame ( MRF ) to simulate fan rotation. I can calculate the flow rate through the fan in paraview. But I am not sure if my results make sense. Is there a benchmark I can try and reproduce?

Surely I am not the first person to want to know how efficient a spinning fan is!


r/CFD 1d ago

Need help in meshing

5 Upvotes

The above one is my computational domain, it consists of pipe upstream, screen(thats why you can see holes because I have modeled fluid regions) and open fluid volume. All are merged into one body.

I have used tetrahedrons method- patch conforming method, it was giving good quality mesh. The moment I introduced inflation for boundary layer, mesh quality got poor. I will attach below image, please let me know what can be done. My global element size is 3mm and I have used 20 no of divisions with growth rate 1.2.

Check generated mesh below,

When I looked at bad cells, most of the cells are from screen region. Please tell me how to improve mesh quality from here. See below

Any help would be useful. I have tried both edge sizing and face sizing on screen, it is taking lot of time to mesh, way longer time, it shouldnt take much time. There is a problem but I cant identify where it is.


r/CFD 1d ago

DPM based Erosion Query

Post image
3 Upvotes

hi everyone.

I am trying to simulate a erosion inside a pipe manifold via DPM but . i am facing a problem , that my contuinuity wont converge past 10e-2 when i am trying to converge my continuous phase

I am using k-epsilon model with realizable wall standard equations. my inlet velocity is 5m/s.

inlet dia is 27 mm and the two outlets dia is 20mm. All other settings were default . My mesh quality is under othgonality and skewness standard range.

picture for referance


r/CFD 1d ago

Experience with boiling in horizontal pipe

4 Upvotes

Hi everyone,

I have a few questions on how to get a boiling simulation to work in ansys fluent with a horizon pipe. My boundary conditions is a mass flow for the inlet and a set pressure at the outlet.

I am trying to do this with ammonia (I have my own property tables from refprop)

I tried to run it, however is crashed. Can anyone lend assistance?


r/CFD 2d ago

1D Pipe Network Solver - FluidNetworkStudio (Developing CFD Coupling)

15 Upvotes

I do industrial CFD for a living, about 9 years now, and I often use 1D network calcs around it. Inlet boundary conditions, pressure drop checks, quick sizing. The maths is straightforward but the commercial network tools charge stupid prices for something so simple.

I often just coded each network up myself rather than pay for a licence and I haven't been able to find open source ones that aren't a pain to deal with, especially if it's something simple. So me and an engineering friend have been working for a few months on developing a browser based one with a simple UI.

The interesting part is that we've been working on coupling it with CFD solvers to transfer inlet and outlet boundary conditions. It's still in beta but if you'll find something like that useful, send me a DM and I'll bump your account to the advanced tier and keep it there. If you really like it and would like to get involved with extending it to Fluent using UDFs, that would be fantastic.

Otherwise, the free version is probably also the most generous 1D network solver available as well and useful for all those basic piping calcs.


r/CFD 2d ago

ANSYS roadmap

5 Upvotes

What is the best roadmap to learn ANSYS from beginner to advanced for mechanical engineering students?


r/CFD 2d ago

X,Y grids generated by MSET or ISET

5 Upvotes

Hi,

Does anyone happen to have the XY GRID coordinate points (2D X and Y points ideally in text format) for any multi-element configuration generated by MSET or ISET (including blade coordinates)?.

Doesn't really matter what airfoils the grids are generated on—anything generic like NACA would do.

Basically, I am just searching for 2 cases (a cascade with a vane and one slotted foil) to test a small program I was working on.

Thanks much.


r/CFD 2d ago

Is the angle of this rear diffuser correct?

Thumbnail gallery
0 Upvotes

r/CFD 3d ago

Seeking advice: PhD vs Industry job offer after MSc in CFD

22 Upvotes

I would like to seek advice on a subject that has kept me thinking for a while.

Background

I recently graduated with a Master's, researching CFD simulation of thermal sprays, using OpenFOAM. In the process, I made modifications to one of the OpenFOAM solvers and tailored it to my project's needs.

After graduation, I started applying for jobs and PhD positions. Now I have multiple offers, and choosing between them has become really hard.

My options

  1. A PhD admission from my Master's university, same research group.
  2. A job offer from a company making heat exchangers and coolers specialized for data centers. The company is around 20 years old, established with 4 HQs around the world and over 1,000 employees. My role would be R&D on CFD simulation of heat exchangers, aiming to improve efficiency.
  3. A PhD offer from a top 20 university, planning to work with a group that includes collaborators from Stanford, Caltech, and Imperial College, developing a high-order GPU solver for combustion simulation.

My thinking so far

I really enjoyed my Master's, but I feel it's time to change and expand my knowledge and network, so I'm not considering option 1.

Choosing between options 2 and 3 is really hard. Although the pay for option 2 is higher, I have some concerns after researching the company: its Glassdoor score is 3.1, and there are some Reddit comments mentioning a toxic environment.

Additionally, I did a lot of teaching assistantships during my Master's and was recognized for teaching excellence. I really enjoy teaching too. But I worry that if I pursue a PhD, it will get harder for me to move into industry afterward if I couldn't find any university position.

I'd really appreciate any relevant experience or perspective that could help me decide on the best option.


r/CFD 2d ago

Mismatch between design modular and meshing tab

1 Upvotes

Hello guys,

I cant able to find why there is extra edge appearing in meshing tab shown in 1st picture, see 2nd picture of geometry in design modular, I hope you can find the difference, that extra edge is not coming in design modular, I dont know why. Can anyone help me in this please? How to get rid of this?? This is appearing only in downstream section where there is big cylindrical open fluid volume, no such edges are visible in upstream part.


r/CFD 3d ago

CFD as a experimentalist- suggestions?

9 Upvotes

Hi, I have written before for my trouble and people were surprisingly nice so hope again for some nice discussions!

So I have studied two degrees till 26 but simultaneously fought with personal issues so I went to industry as a Process Engineer and Commission. I managed thought with this profile now at 29years old to get an experimental PhD in a strong university and group.

The project is awesome, the prospects after are very good as well and honestly I shouldn't complain. BUT I love the math behind my CFD. My first thesis contained some (COMSOL - custom PDEs) but unfortunately I was very passive and didn't try to pursue my dreams on my own and learn more.

I am wondering if it's worth to pursue (there is a strong possibility due to one of the supervisors being sim) a10-20% to do some open foam or Linear stability analysis depending on how the project develops and IF it actually is beneficial for the PhD.

Also another thought is to entertain myself on some of my free time to learn coding more deeply. Can this somehow help someone end up in a more hybrid role in industry or academia. Also because of my age finishing my PhD (33-34) I have a specific profile in my mind that would boost my chances on finding work and that doesn't include much cfd as I know people generally are worry of late CFD learners. I am planning to learn some for my own fun but it would be amazing if i could use ot in my work even a bit.

Any suggestions or personal experiences would be appreciated.


r/CFD 4d ago

LES of flow past a backstep - Rust solver

Post image
73 Upvotes

Tried my custom rust CFD code on a LES case. Smagorinsky turbulent viscosity with van driest wall damping. This is on a somewhat coarse grid of 1M cells. Visualization using q-criterion isosurface in Paraview. This ran for a couple of hours yesterday's afternoon on a single 8-core cpu using 6 mpi processes.


r/CFD 4d ago

Career Advice: Aerospace Graduate → Application Engineer → CFD or Master's?

27 Upvotes

Hello everyone,

I recently graduated with a Bachelor's in Aerospace Engineering and have received an offer for an Application Engineer role at a company that is a Siemens channel partner.

I'm genuinely interested in the role and plan to stay there for at least 2 years to gain solid experience.

After that, I'm wondering which path would make the most sense:

Transition into a CFD Engineer role.

Continue as a Senior Application Engineer (either at the same company or another one).

Pursue a Master's degree.

Financially, I can afford a master's, but I'm not sure if it's the best use of my time.

My long-term goal is simple: earn a high income while working on something I genuinely enjoy.

For those who've taken similar paths:

Which option has the best long-term career growth?

Is Application Engineering a good stepping stone into CFD?

Would industry experience first be more valuable than doing a master's immediately?

I'd really appreciate hearing from people who've worked in CAE, CFD, or Application Engineering. Thanks!


r/CFD 3d ago

Has anyone here created a PINN model for non-Newtonian fluid droplet impact ?

1 Upvotes

r/CFD 4d ago

Equations of Motion for Particles

Post image
3 Upvotes

Hi everyone,

Does Section "Inclusion of the Gravity Term" state that if I have already defined gravity (z = -9.81 m/s^2) in Setup - General, I can/must omit the term g·(ρ_p−ρ)/ρ_p (Eq. (12–1)) in my UDF, or how should this be understood?

PS: I am using Ansys Fluent 2025 R1.
PPS: My Source: Ansys Theory Guide

Thanks in advance :))


r/CFD 4d ago

AVL Eigenmode Issues

2 Upvotes

Hello everyone!

I am currently working on creating a small aircraft design and assessing its stability using AVL. I am having some issues with the eigenmode calculations in AVL. I am able to successfully load the geometry, mass, and run files without issue. I can then run the case by typing OPER then X. To get the eigenmode calculations I hit enter to leave the OPER menu then M and N to perform eigenmode calculations (it doesn't prompt me for anything after this it just runs automatically). The very first time I run this command, it works as intended and the plot pops up and shows results that seem to make sense, and I can export a .eig file to get the numerical values of each eigenmode. I then quit out of AVL by hitting enter, then typing QUIT, which to my knowledge should properly close the eigenmode plot and quit out of AVL. When I try to rerun the exact same model and case without making any changes, everything works fine except for the eigenmode calculations, this time around the plot pops up completely blank (pure black screen) and the .eig file is blank. I have no idea why it is doing this or what I am doing wrong and any help would be appreciated. For reference I am running AVL through Aero Console which uses the 3.27 version of AVL, but I am also experiencing the same issues running newer versions of AVL.

Edit: I figured out the issue, for some reason loading the mass files gives the correct mass moments of inertia, but it does not properly load them into the case parameters when using MSET, and they are still zero when I check them in the OPER menu. This isn't a huge problem, I can manually update the fields, but what is a possible fix for the future?


r/CFD 5d ago

S2S radiation with periodic boundaries in 2D RVE — corner/edge zones behaving inconsistently

Post image
11 Upvotes

TLDR: 2D RVE (brick matrix + circular air holes), ~650 K, radiation matters. S2S doesn't support periodic BCs, so I used adiabatic top/bottom + fixed T on left/right instead. The half/quarter circles cut at domain boundaries ended up in a default adiabatic zone (not in my named selections), and I'm unsure if radiation is handled correctly there. Main question: is this adiabatic corner treatment acceptable for effective conductivity, or should I switch to DO (which supports periodic)?

Edit: i added new images to the comments

Full details: I'm running a 2D steady-state conjugate heat transfer analysis on an RVE (representative volume element) for a thermal energy storage material for my master's thesis. The geometry is a rectangular brick matrix (alumina firebrick, k=1.8 W/m·K) with circular air holes arranged in a regular pattern. Operating temperature is around 650 K, so radiation is significant.

Setup:

Fluent 2022 R2, 2D planar, pressure-based, steady

Energy equation on, Viscous: Laminar

Radiation: S2S (surface-to-surface)

Left edge: fixed T = 655 K, Right edge: fixed T = 645 K

Top/bottom edges: adiabatic (I originally wanted periodic, but S2S is incompatible with periodic BCs, so I switched to adiabatic)

Air holes are Fluid zones (no gravity, so essentially stagnant — pure conduction + radiation)

Surface emissivity = 0.85 for all walls

The problem:

The circular holes are cut at the domain boundaries (half-circles at edges, quarter-circles at corners). During meshing, some of these boundary arc segments were not assigned to my named selections, so Fluent grouped them into a default zone ("part_3-air") with a shadow pair, set as adiabatic.

In my temperature contour, most of the domain looks physically correct (smooth gradient from hot to cold side, isotherms bending around the low-conductivity holes). However, I'm concerned about how radiation is being handled at these corner/edge arc zones, since they are not part of a proper periodic or continuous boundary.

My questions:

Since S2S doesn't support periodic BCs, what is the recommended way to handle radiation in an RVE where the physical situation should be periodic?

How should the boundary-cut arc segments (half/quarter circles at domain edges) be treated for radiation? Should they participate in S2S or be excluded?

Would switching to the DO (Discrete Ordinates) model — which supports periodic BCs — be more appropriate for this type of RVE radiation problem? Any drawbacks for a 2D case with many radiating surfaces?

Is the adiabatic assumption at these corner zones acceptable given that the net heat flux through them appears negligible, or does it introduce significant error in the effective conductivity calculation?

I can share screenshots of the mesh, contour, and boundary condition setup if helpful. Thanks in advance.


r/CFD 5d ago

SU2 File conversion

4 Upvotes

Hey Guys, I'm using ansys 2026r1 and I need to take the mesh and use SU2, to get the su2 File, I tried converting the ansys mesh to .cgns and then used the in-built SU2-Def( didn't work), I tried to create my own converter using claude, still didn't work!

Tried gmsh too, no luck!!

Any guidance would be much appreciated!


r/CFD 5d ago

[ Removed by Reddit ]

0 Upvotes

[ Removed by Reddit on account of violating the content policy. ]


r/CFD 6d ago

Why is Delta t / 2 in the denominator of the finite difference approximations of the time derivatives?

Thumbnail
gallery
26 Upvotes

This is from Hoffman's CFD Volume I. As part of Problem 3.7, I was coding the fractional step method in Python. Problems 3.5 and 3.6 require you to solve the same problem, but with the FTCS and ADI schemes, respectively. I noticed the results from FSM differed significantly from the FTCS and ADI results. When compared to ADI, FSM yields peak percent error of ~100% and is distributed all throughout the wall.

When I changed the Delta t / 2 to just Delta t, the results of FSM were significantly closer to that of FTCS and ADI. When compared to ADI, percent errors peak around 10% and is limited to small regions near the left/right walls.

The only other textbook I could find that has a section on the FSM was Chung's CFD book, which also has Delta t / 2 in the denominator. However, Hoffman and Chung's sections on the FSM are almost identical (compare the first image with the last), and I don't think they can be considered independent resources.

Is there a mistake in their equations, or is it likely that there is an error in my code.