r/CFD

Trying to mesh & simulate this in Ansys Fluent, I’m stuck on the rotation and sliding movement of Rotor and Vanes.
▲ 8 r/CFD+1 crossposts

Trying to mesh & simulate this in Ansys Fluent, I’m stuck on the rotation and sliding movement of Rotor and Vanes.

Hi,

I’ve been recently working on a project that demanded a vane pump.

I started with this as a first design ( it’s clearly missing many features and components ) and I’m trying to actually find the key aspects of my design before committing to one and actually build it.
I need:
- A graph of efficiency vs. Speed
- Pressure Drop inlet - outlet vs. speed
- Hydraulic Power vs. Speed
- Mechanical Power vs. Speed
- Any Cavitation
- Any Leakage

I’m stuck on how I can actually tell fluent to rotate the rotor. Not only that, I think I need more than that to actually get accurate & reliable results.

My current workflow:
Autodesk Inventor -> SpaceClaim -> Fluent

u/HaiderKingTh3 — 13 hours ago
▲ 1 r/CFD

solidworks flowsim or ansys student fluent?

i want to know which of the above is better for cfd and why and what exactly these two differ from. im a student whos got solidworks but only ansys student and i wanna know the difference in detail. help me please

reddit.com
u/glorified_id1ot — 12 hours ago
▲ 3 r/CFD+1 crossposts

Help with cavity tutorial in OpenFoam

I tried to do the cavity tutorial by following the guide on openfoam.com, documentation/tutorial-guide/2-incompressible-flow. I did blockMesh, then icoFoam for solving but when i try to use the paraFoam command i get an error(in the picture), there is no Mesh parts only Mesh regions and the file is .foam instead of .OpenFOAM. I also added the picture of what it looks like in paraview. What am i doing wrong
openfoam2412, ParaView6.0.1, Ubuntu26.04

u/DistributionShort649 — 17 hours ago
▲ 5 r/CFD

Which derived part should be used for DEM data?

Last month, I successfully used a line probe to sample the particle volume fraction. However, in yesterday’s simulation, the probe returned no simulation data, as shown in the figure, where exp:Cv represents the experimental data. Is the particle volume fraction stored in the cells, and can it be sampled using a line probe? Any help would be appreciated.

u/makabaayi — 1 day ago
▲ 1 r/CFD

Air purifier cfd simulation

Hi!! I am trying to simulate flow inside an air purifier using ansys fluent. I have not been able to achieve satisfactory results so far. Can anyone please help?

TIA!!

reddit.com
u/Obvious_Dish_5199 — 1 day ago
▲ 8 r/CFD

Which Openfoam tutorial is best for testing performance on ~500 cores?

Want to test mpi performance across a few compute nodes. Each node has 256 cpus.

All the tutorials models I test run in just a few seconds on one cpu...

reddit.com
▲ 0 r/CFD+1 crossposts

How do you handle exploring a large design space with FEA/CFD?

For engineers who have to compare many possible design variations, I'm curious how you actually handle it in industry.

For example, if you have hundreds or thousands of possible geometry/parameter combinations:

  • How do you decide which designs are worth simulating?
  • Do you actually run simulations for all of them, or use some kind of screening/optimization method?
  • What tools do you use for this?
  • What part of the process takes the most time?
  • Is computational cost the main limitation, or is setting up/running/post-processing the simulations the bigger bottleneck?
  • Do you use surrogate models, reduced-order models, optimization software, custom Python scripts, etc.?
  • What happens when the design space becomes too large to explore practically?

I'm particularly interested in how this is handled in industry and what the biggest bottleneck is in practice.

reddit.com
u/DragaClaw — 1 day ago
▲ 8 r/CFD+2 crossposts

CFD-Immersed Boundary (Ghost-Node technique)

Result of my SMAC scheme based, GPU accelarated python code using immersed boundary concept.
Any body interested to work on this project with me can drop a comment "Interested."

u/Historical-Goat9729 — 1 day ago
▲ 3 r/CFD

Doubt in design modular within ansys workbench

https://preview.redd.it/2i0w758jl4kh1.png?width=1441&format=png&auto=webp&s=6d00de476c18d9603db522fb6fe930835d285b01

Previously I have modelled big cylinder at end of the pipe or screen. Now I have seen some paper where outlet is at some upstream distance from pipe end, I am doing that now. The problem I am facing is when I drew sketch as above and extrude(add frozen), cylinder is created but there are some overlapping volumes between small and big cylinder. Due to this, when I do setup, I got to know that,

https://preview.redd.it/d40bcaotl4kh1.png?width=1072&format=png&auto=webp&s=0393db163b8cb844da05432397dac18287200b08

This is how outlet should look like, you can see hole in the middle. I hope it is right. If it is right, then see what outlet it was showing for me below,

https://preview.redd.it/vinanzgxl4kh1.png?width=1078&format=png&auto=webp&s=4c265eaf20525c31e2bff3ac79b0b8d5bfbdd3bc

I hope you understood. This blue circle shouldnt come.

One more thing, when I merge these bodies to make it one body, screen gaps are not visible since it got merged into big cylinder body. I dont want this to happen, I need to see screen gaps like below,

https://preview.redd.it/hnh3drrcm4kh1.png?width=1437&format=png&auto=webp&s=b25ceacb77deea54bbf5895b6763f8c0369e7a18

Note all are fluid modelled regions, there is no solid anywhere, so gaps represents walls of distortion screen.

  1. I have tried one more thing, I have created small cylinder in that same plane and tried "Boolean subtract" and got outlet face like below,

https://preview.redd.it/kitliwmjm4kh1.png?width=1037&format=png&auto=webp&s=704e836c1b757cb4061eb46751f406e8285b266d

But I got to have 3 different bodies as shown below, and when I merge them together, then I cant find screen walls since it got merged into big cylinder volume. I need screen walls so that I can apply inflation and face sizing in that region particularly.

https://preview.redd.it/tk1wj1zqm4kh1.png?width=1195&format=png&auto=webp&s=5cb1e71f7fecad7c1b2d66ebc8dcf50cfd21eb2a

Keeping all these in mind, any other alternative or better way to model this big outer cylinder and merge. Any suggestions would help, thanks in advance.

See below single body merged together when big cylinder was drawn at end of the screen, screen gaps are visible here,

https://preview.redd.it/r2qcj7c9n4kh1.png?width=1434&format=png&auto=webp&s=2e5d1eed3caaea020bd4f082af22141c82f5abe3

reddit.com
▲ 27 r/CFD+2 crossposts

AI/ML Implications in CFD for Aircraft Design

Hey guys, I've got about a year of experience with OpenFOAM. I've run different types of simulations — SIMPLE, PIMPLE, incompressible, compressible, laminar, turbulent — on 2D airfoils and 3D aircraft, like the NASA N2A HWB model, with decent mesh quality and case setup. The post-processed results matched the reference data pretty well. Just sharing this to give some context on where I'm at with OpenFOAM, but I'm still learning and exploring more of it.

Lately I've been seeing AI/ML being used in CFD, and since I come from a non-coding background (I'm a Mechanical Engineer), AI/ML and neural networks still feel like a black box to me. I don't really know how they work under the hood.

So I wanted to ask — how can I actually use AI/ML and neural networks in aviation-related CFD work?

For context, my future work will mostly revolve around optimization studies, detailed aircraft analysis, and static/dynamic stability analysis of aircraft. So I'm hoping to understand how AI/ML can help speed things up, and ideally how to align with whatever the industry is currently doing in this space.

reddit.com
u/Life_Calligrapher330 — 3 days ago
▲ 50 r/CFD+2 crossposts

Energy cascading and the physical meaning of TKE equation: Video 6 of the turbulence course

My previous video derived the full TKE transport equation and this one explains it more physically.

Link: https://www.youtube.com/watch?v=VVqos9V-BAA

It explains why the transport term neither creates nor destroys k, integrates to zero for a closed system, what production really represents in terms of energy exchange between the mean flow and the turbulent fluctuations, why dissipation is structurally always a sink while production can in principle act as either, and what viscous diffusion's role is compared to turbulent transport.

The second half introduces the Richardson energy cascade and talks briefly about Kolmogorov microscale. I also talk about why the cascade direction is downscale in 3D turbulence and what that implies for what sets the smallest eddy size.

u/SatanGoku — 3 days ago
▲ 0 r/CFD+1 crossposts

I am writing this tool to organise / explain a CFD workspace (at least trying to)

Hey, I’m working on a small local tool for CFD folders. In a previous project, the shared drive gradually filled up with copied and renamed cases, different meshes, logs and results. After a while, it was hard to tell which case was used, what changed, or why one version was kept.

The idea is simple: point the tool at an existing folder, and it scans everything without modifying the files. It builds a small local database so the cases and their context can be viewed together.

At the moment, you can:

  • Browse the openfoam cases it found.
  • See basic solver, mesh, boundary, numerical and run information.
  • Select two cases and see what changed.
  • Group cases that belong to the same experiment or investigation.
  • Add labels and short notes, such as why a case was kept or abandoned.

I’m currently testing OpenFOAM Foundation 9, Foundation 14 and OpenCFD v2512. I may look at Fluent later (pyfluent), and possibly add some simple orchestration (run sims or like mesh, etc).

I attached screenshots of the case list and group view. It’s still very early, though. I am trying to make it like an additional "why? where? and how?" tracker kinda thing.

u/New-Pay1536 — 3 days ago
▲ 17 r/CFD

CFD software preference

I am involved in an hypersonic CFD case with a good emphasis on combustion modelling and with the instabilities in fluent , honestly it's frustrating . Looking for some better options to learn from scratch and diversify my profile for a beginner , what are the options and how viable are they ?

reddit.com
u/boxing-your-balls — 3 days ago
▲ 9 r/CFD+1 crossposts

How does incompressible Navier–Stokes lead to the compressible form of Bernoulli?

I’m trying to understand the derivation from Navier–Stokes → Euler → Bernoulli. My confusion is about where the incompressibility assumption enters.

I start with the incompressible Navier–Stokes equation. After assuming inviscid flow, I get Euler’s equation. Then, taking the equation along a streamline and integrating gives the Bernoulli equation.

But I’ve also seen a more general Bernoulli equation for compressible flow(last equation in image). If I started from the incompressible Navier–Stokes equation, where density is already assumed constant, how can the derivation lead to the compressible form?

Also, is the differential equation along a streamline valid for both compressible and incompressible flow, with the difference appearing only when we integrate it?

https://preview.redd.it/r4z53kqw5vjh1.png?width=592&format=png&auto=webp&s=e705b4dab5db04af8456097e162c2c97f371ed6a

reddit.com
u/Dramatic_Yam8355 — 3 days ago
▲ 166 r/CFD

I made this little animation using FDM in python

I couldn't make the normal momentum equations work. I don't know why. The outlet condition in this is a bit scuffed, but despite that, it turned out well.
Do you think this is a resume-worthy project for a 2nd-year mech student?

u/OkMachine35 — 5 days ago
▲ 9 r/CFD+1 crossposts

I have some questions regarding inviscid flow past solid objects.

I am studying fluid mechanics. Right now I am on inviscid flow and I am having some difficulties in understanding certain aspects of flow past solid objects. I have tried to sketch my understanding so far along with the particular issues I have below.

So the setup is that we have uniform flow at infinity and a solid non moving finite object in the way. Now from Kelvin's theorem we can show that on streamlines which go from infinity to infinity the vorticity vanishes. If these are the only streamlines the vorticity vanishes everywhere and the flow is a potential flow. However if we solve the problem under the assumption of potential flow we encounter d'Alembert's paradox. There is no drag on the body and the solution is unphysical.

There is a loophole in the argument that shows the flow is potential namely it does not apply for streamlines which hug the solid surface. Since these don't start from infinity they also don't affect the boundary conditions at infinity. So we can create additional solutions by superimposing potential flow solutions with these ones. But we then have to relax the potential flow criteria. Here are my questions:

  1. These solutions, that include streamlines that hug the surface, have the phenomenon of separation. The streamlines lines only follow the surface partly and then partway from it. Why is speration necessary? I mean what about streamlines that go all the way around the surface of the solid body.

  2. Also there is in these cases the formation of a surface of tangential discontinuity where the tangential component of the velocity field suffers a discontinuity. I can't seem to visualize this surface. Like where is this formed on the body itself or in the fluid bulk surrounding the body. My book says the discontinuity on the surface causes part of the fluid to have vorticity. I don't understand this and I don't understand why is the formation of said surface a necessary consequence of seperation.

  3. There are multiple different solutions corresponding to the above problem if you take into account the multiple possible surfaces of discontinuities.

  4. These solutions are unstable owing to the discontinuity in velocity.

Please help me answer these questions.

reddit.com
u/Near_1751 — 5 days ago
▲ 4 r/CFD

Help regarding solution convergence

Hi all

I have now used fluent meshing which has organised workflow and convenient to use. Quality is much better compared to tetra, it has maximum skewness of 0.84 and minimum orthogonal quality is 0.15. See mesh below,

https://preview.redd.it/ywihz933kkjh1.png?width=935&format=png&auto=webp&s=d3804c3510cae43c19c94d10dbd27b23461b5c56

I have tried two cases

  1. Incompressible case- velocity inlet and pressure outlet

  2. Subsonic compressible case- total pressure inlet and static pressure outlet

See below, flow goes via pipe and screen is there and then it expands into ambient air. Downstream length is 15D, bigger cylinder diameter is 14D, where D is diameter of smaller pipe.

https://preview.redd.it/nqie3678kkjh1.png?width=1229&format=png&auto=webp&s=15121000fc24c33bf19edca3794e72a2487c2cb5

  1. For incompressible case with velocity inlet of 1m/s and outlet absolute pressure as 101325Pa, see residuals below,

I used coupled solver with second order upwind for all turbulence, pressure and momentum and reduced URF for pressure with 0.3 and 0.5 for momentum. Note energy equation is turned off and constant fluid properties were used. I am doing it for steady RANS simulation, k-e realizable is used.

https://preview.redd.it/kx8kaw0dmkjh1.png?width=1298&format=png&auto=webp&s=ab4522d8bdc11642f0703f11282468054a8c47e8

It was good upto 200 iterations but later it got diverged. I dont know why.

  1. For subsonic compressible case,

I used total pressure of 110250Pa and pressure at outlet is same 101325Pa. Residual are even more high here, energy equation is turned on, density is ideal gas, viscosity follows sutherland law, k-e is used. I used coupler solver here also.

https://preview.redd.it/0qrp0yjumkjh1.png?width=1148&format=png&auto=webp&s=229f003facea6dcba3719ddf3f0add743017ce15

For 2nd case, I just tried finding velocity range or statistics using cell register, it was showing literally all cells having very high unrealistic values, I dont know why it is happening. See below for example,

https://preview.redd.it/j602koe0nkjh1.png?width=653&format=png&auto=webp&s=e4306db2f1bd309c4424f360303b0a36aaccc4de

So my question what is the actual problem here?

(i) Mesh quality is good here-I used polyhexa in fluent meshing, it is much better than tetra, max skewness is 0.84 and min orthogonal quality is 0.15.

(ii) I tried reducing URF, then also it is not working.

(iii) Initially I tried with very less downstream length and radius, now I have increased that- I have referred paper for this.

What else are there to try? I cant find correct reason why solution is not converging and residuals are highly unstable. Is there anything wrong with boundary conditions and schemes. I hope there is no problem with mesh, since I have good quality mesh. It was any way diverging for both tetra also before. But current mesh quality is much better than tetra one. Thanks in advance. I hope I told all information required to diagnose this issue!

reddit.com
u/AmbassadorGuilty3928 — 5 days ago