Navier-Stokes
I'm so glad y'all can retire now that your problem is solved.
r/CFD • u/ProjectPhysX • Nov 21 '24
r/CFD
•
u/trigodil
•
25d ago
So iv been working on this project for a couple of months, I wanted to show it because I finally believe it is a bit presentable now, it is basically a gui with openFOAM, and additionally I added TENO schemes from Fu et al, I thought it was an interesting paper and I wanted to add higher order schemes to achieve higher accuracy (note that I also like swirly lines), going through this project I will be extending it to Ji, Liang & Fu 2021 for unstructured meshes when I have the time. Since most of the coding in this project is human slop, apologies in advance for any bugs that may arise (I lost sleep because of segfaults in cpp)
Source code: https://github.com/CakeCFD/cake-studio
Website: https://cakecfd.org/
I would like opinions from fellow engineers on how to improve this further and make this better, or more specifically what validation case would you trust before using the TENO schemes?
r/CFD • u/DaSnowGuy1309 • Mar 21 '26
Saddam Hussein hiding spot in simscale.
15m/s velocity
used k-omega sst turbulence model.
used automatic meshing (standard algorithm), 647k cells, 306k nodes. automatic curvature.
r/CFD • u/Amaterasu-002 • Aug 11 '26
What should I learn after Versteeg & Malalasekera?
Recently finished An Introduction to Computational Fluid Dynamics by Versteeg & Malalasekera. I went through every chapter, implemented the methods in Python, visualized and interpreted the results, and tried to understand the underlying physics.
Now I’m trying to move into advanced fluid mechanics, but I’m struggling with the introduction of tensors/tensor calculus.
Any recommendations for books/resources to build a strong understanding of tensors specifically for fluid mechanics and also aerodynamics for drone? Also, what books would you recommend for going deeper into fluid dynamics and eventually getting into research-level CFD?
I was testing my unstructured C pde solver with an incompressible cylinder flow case, and thought to share it here. Velocity magnitude is shown in the video. While the simulation is 2D, the code is 3D, here I use the same trick as openfoam for 2D simulation, using a one cell thick mesh.
This case uses a projection method for the velocity-pressure coupling, but the code is a general system-of-pdes solver. It is MPI parallel-distributed memory, handles polyhedral cells, and uses automatic numerical differentiation to compute the jacobian of the governing equations and solve the non-linear problems at each time step. It also handles coupled problems, next thing I'll do is give it the euler equations and simulate that cylinder at high mach numbers :)
I posted about my Rust cfd code before, this is another project in pure C, using PETSc for the linear solution process. Its much easier to link libraries in C, and tbh, you don't need anything else to do CFD.
I've spent about a week researching, writing and optimising this program and I am very pleased with how it turned out. My PhD requires me to run simulations fairly regularly so I thought it would be a helpful little side project to improve my understanding of CFD algorithms, and it definitely did! I recommend trying this yourself if you are interested, feel free to ask questions. I have a few resources that may be helpful.
r/CFD
•
u/leeping_leopard
•
Jun 02 '26
r/CFD • u/pixelSmuggler • Aug 31 '22
r/CFD • u/Abdullah-0X • Feb 01 '26
Evening everybody!
Nice to be alongside other CFD nerds down here :D
Just built a CFD solver using MATLAB, it allows you to browse for whatever section image of your choice, turns it into a set of points to be introduced into a flow volume and creates a mesh with a resolution based on your choice.
Still working on that to fully calculate the Cl and Cd for different shapes and flow speeds.
First simulation done on a section from the almighty F35, with FSI enabled. What do you think?
r/CFD
•
u/ibuggle
•
Mar 06 '26
Calculated with CUDA.
Looks like this wind tunnel testing : https://youtu.be/DD53Er62GrE?si=JSTRy6sP701xstmJ&t=107
Hope you will like
r/CFD • u/SomberDUDE224 • Nov 12 '25
r/CFD • u/unnecessaryellipses1 • Jan 31 '21
r/CFD • u/ProjectPhysX • Aug 01 '23
r/CFD • u/ProfessionalLet3987 • Nov 12 '25
Strange Simulation #1
please give suggestions for other strange things to simulate
r/CFD • u/Fair_Selection_5111 • Aug 30 '26
First 1.4 Mach & 3000m
Second testing hydrogen rocket engine (I forgot to turn off the walls)
r/CFD • u/tihiera • Jul 31 '26
Another test of my custom C solver. Density is shown. Inlet condition is mach 3, initial condition is mach 0.5 inside the domain (which is why there is a wave at the start). Slip wall bc used on top and bottom surfaces.
I used the HLL scheme to avoid the Carbuncle phenomena I get from 3 wave solvers like Roe or HLLC. Also, here I don't interpolate the solution, I show cell averages as constant through a cell, if you look closely you should see the triangles. The actual solver is second order and solves for cell gradients, but paraview can't handle well discontinuous data...
r/CFD • u/Crazy_Anywhere_4572 • May 13 '25
Just wanted to share some simulation results from my Final Year Project :)
Source code: https://github.com/alvinng4/hydroFV