r/CFD • u/ProjectPhysX • Nov 21 '24
Largest CFD simulation ever on a single computer: NASA X-59 at 117 Billion grid cells in 6TB RAM - FluidX3D v3.0 on 2x Intel Xeon 6980P
4
184
u/gyoenastaader Nov 21 '24
And I bet it’s still wrong 😂
16
u/granoladeer Nov 22 '24
It's wrong, but it's useful
6
u/ProfHansGruber Nov 24 '24
What use do you reckon can be made from this? From a computer science perspective it’s fantastic, from a fluid dynamics perspective not so much.
10
2
u/findlefas Dec 01 '24
I mean with that many cells your sub-grid scale model doesn’t have to model much of these small scale turbulence eddies so I’d imagine it’s fairly accurate. DNS results demonstrate they are analogous to experiments. What I’m wondering is how long this took with only 2cpus
0
22
u/Elementary_drWattson Nov 21 '24
I wish LBM could do compressible flows. At least low speed stuff makes pretty images. Very cool.
6
u/ustary Nov 22 '24
Comercial LBM codes very much can do compressible flows. Up to transonic speeds, results can be very good, with very low numerical dissipation, and going into super-sonic speeds, it is still possible to get good aerodynamics, but numeric dissipation creeps in a bit.
3
u/Elementary_drWattson Nov 22 '24
More interested in aerothermodynamics. I’ll have to look into the entropic formulation that u/NoobInToto brought up.
24
5
u/NoobInToto Nov 21 '24
It can. However, and this is a dealbreaker, freely available AND validated solvers are far and few between. For the theory, look up entropic LBM and cumulant LBM.
0
Nov 22 '24
[deleted]
2
u/NoobInToto Nov 22 '24
Interesting. I was looking at compressible but low subsonic methods for my research. Do you know any freely available and validated solvers?
→ More replies (2)
23
u/RoRoRoub Nov 21 '24
To put that into perspective, Elon musk has ~twice the money than the number of cells here.
14
1
0
8
u/Elkesito36482 Nov 21 '24
Can you estimate lift and drag coefficient with and LBM simulation?
15
u/Less-Term-4320 Nov 21 '24
With LMB you can estimate everything and nothing in the same time (hope it helps (sorry))
11
u/IComeAnon19 Nov 21 '24
In this case, yea, if you're okay with being ruinously wrong.
6
u/Navier-gives-strokes Nov 21 '24
Could you elaborate on this? A lot of people throwing shit at LBM over here.
17
u/IComeAnon19 Nov 21 '24
His specific method uses uniform cartesian grids. As a result he has really bad stair-stepping artifacts and it takes an obscene number of grid points to get a useful solution. As large as his cases are, looking at his y+ of 512 (apparently according to other commenters) he needs approximately 100M times more nodes to get a decent y+. Suffice it to say this grid is not sufficient.
3
8
u/ncc81701 Nov 22 '24
LBM aside his simulation stopped before the starting vortex haveeven cleared the tails. Ideally you want the starting vortex to have completely converted out of the computational domain before you can claim you have a valid solution. Sometimes having it just a few chord length or a span length is sufficient.
But in this case the starting vortex is smack in mid chord of the tail plane when the simulation stops. He probably needs to have run his simulation for 5x longer before you’d have even reasonable data.
1
u/AutoModerator Nov 21 '24
Somebody used a no-no word, red alert /u/overunderrated
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
7
6
9
u/hotcheetosandtakis Nov 21 '24
With all those cells, what was the y+ range and cell Reynolds number range? What turbulence model is used and is it valid within your y+ ranges?
What is the smallest mesh that could be used to obtain adequate resolution in measured design variables?
What type of license is this code under to enable aerospace and automotive industry to use this code for commercial purposes?
0
Nov 21 '24
[deleted]
11
u/hotcheetosandtakis Nov 21 '24 edited Nov 21 '24
I can read the repo and in another post there was a y+ stated of 512. So extreme overall resolution but still lacking near the wall.
I wanted the OP response because why look at this if it can't be used outside of pretty pictures?
0
Nov 21 '24
[deleted]
9
u/Keldan_Zonal Nov 21 '24
It is still relevant if you are doing turbulence stuff. So DNS (if turbulence) and LES still should respect some criteria in respect to y+
0
Nov 21 '24
[deleted]
3
Nov 23 '24
~80% of the cells need to be near (by near I mean so close you can't even see the near wall region without zooming in) the wall for DNS where everywhere meets the local grid requirements. This is why the wall is generally the focus.
3
u/Keldan_Zonal Nov 21 '24
It's not really a question of wall distance but a criterion to ensure that you have enough point in the viscous sublayer of your turbulent boundary layer. It's only a criterion to ensure that your wall condition is sufficiently refined to be accurate.
If you use any RANS model this is definitely not DNS. Even if you refine until the finest scales that does not make sense since this scales are already model by your turbulence model
And effectively the y+ is absolutely not a criterion for the size of the cells to resolve the different scales. Most of the case there is criterion for Deltax+ Deltay+ and Deltaz+ to respect for both LES and DNS
1
u/hotcheetosandtakis Nov 21 '24 edited Nov 21 '24
This is why I was also asking about cell Reynolds number and if/how well the local turbulence is resolved.
6
4
u/lilpopjim0 Nov 22 '24
Concorde flew in the 70s without this.
Not that it isn't helpful, but it still amazes me.
2
u/Dankas12 Nov 21 '24
Is there a way to see the mesh and conditions this was run at? What’s the point eg what’s the y+ and skewness and how large does the mesh go out from the body and how did the residuals look?
2
u/theholyraptor Nov 22 '24
It's sad how many granite rapids I've seen but I don't get any for my own pc.
1
u/PG67AW Nov 23 '24
Define "single computer" lol. What the hell kind of title is that?
2
u/ELS Nov 23 '24
To distinguish it from an application scaled to multiple nodes using something like MPI
1
-8
u/singlecell00 Nov 21 '24
well, I was thinking if they use AI to learn from real world data, they could essentially make this very accurate and then designs of aircraft for all conditions would be done in days by a super computer.
7
→ More replies (1)5
28
u/ProjectPhysX Nov 21 '24
Video in 4K on YouTube: https://youtu.be/K5eKxzklXDA
This is the largest computational fluid dynamics (#CFD) simulation ever on a single computer, the #NASA X-59 jet at 117 Billion grid cells, fitting in 6TB RAM. This video visualizes 7.6 PetaByte (7.6 Million GB) of volumetric data.
As a little gift to you all: FluidX3D v3.0 is out now, enabling 31% larger grid resolution when running on CPUs or iGPUs, by fusing #OpenCL host+device buffers as zero-copy buffers. This optimization reduces memory footprint on CPUs/iGPUs from 72 to 55 Bytes/cell: https://github.com/ProjectPhysX/FluidX3D/releases/tag/v3.0
Intel Xeon 6 with 8800MT/s MRDIMMs brings a new era of HPC, where the memory capacity of a computer is measured in TeraByte, not GigaByte, with the massive 1.7TB/s memory bandwidth to back that up. Now such super large simulations are feasible on a single compact, energy-efficient CPU server, without having to change a single line of code thanks to OpenCL. No GPUs required!
Simulation Stats:
FluidX3D CFD software: https://github.com/ProjectPhysX/FluidX3D
Lattice Boltzmann (LBM), D3Q19 SRT, FP32 arithmetic, FP16C memory compression
4062×12185×2369 = 117 Billion grid cells, 1 cell = (3.228 mm)³
6.15 TB memory footprint (55 Bytes/cell, or 19M cells per 1GB)
51627 time steps = 0.2 seconds real time
5400 4k images rendered, velocity-colored Q-criterion isosurfaces visualized
300 km/h airspeed, 10° angle of attack
Reynolds number = 51M
Runtime = 30d23h23m (total) = 18d06h23m (LBM compute) + 12d16h59m (rendering)
Average LBM performance = 3836 MLUPs/s
Hardware Specs:
2x Intel® Xeon® 6980P Prozessor (Granite Rapids), 2x 128 P-Cores, 2x 504MB Cache: https://ark.intel.com/content/www/us/en/ark/products/240777/intel-xeon-6980p-processor-504m-cache-2-00-ghz.html
24x 256GB 8800MT/s MRDIMMs (Micron), for 6TB total RAM at 1.7TB/s bandwidth
0x GPUs
NASA X-59 model: https://nasa3d.arc.nasa.gov/detail/X-59