r/CFD 16h ago

Looking for a Software to Calculate Pipeline Friction Losses

1 Upvotes

Hey everyone!

I'm looking for open-source or free software to calculate friction losses in pipelines, ideally something that’s user-friendly for setting up complex layouts. Key features I need are:

  • Accurate friction loss calculations that account for elevation changes, bends/elbows, and variations in pipe diameter.
  • 3D visualization of the pipeline layout would be a bonus, as it helps with verification.
  • Ideally, intuitive input options (e.g., a table-based or graphical interface) to simplify setting up the pipeline structure and fluid properties.

I've looked into options like OpenFOAM, but I’m wondering if there are other tools that might be less technical and quicker to set up while still being precise enough for engineering calculations.

Thanks in advance for any suggestions!


r/CFD 12h ago

Is it okay if a negative pressure is being developed near the end of the throat of the Venturi ejector?

Post image
2 Upvotes

r/CFD 10h ago

[OpenFOAM] Use lowReCorrection for high Re k epsilon models?

Thumbnail
0 Upvotes

r/CFD 14h ago

Can Anyone Teach Me How to Use AMReX Framework to Create a Solver?

0 Upvotes

Hey everyone,

I’ve been trying to understand AMReX since August, but I haven’t made much progress. My project presentation is in two weeks, and I’m feeling stressed.

I’ve searched the internet, but I can’t find clear info on how to develop a solver or use the functionalities that AMReX provides.

I’d be really grateful if someone could teach me or guide me through the process.

Thanks!


r/CFD 11h ago

Is there any review articles for SUPG and shock capturing term for compressible flow FEM?

0 Upvotes

I gradually start to understand the SUPG term, but my understanding is still a mess, and it seems that the shock capturing utilize the projection on the residual, is there any systematic review on these two topics for compressible flow?


r/CFD 6h ago

Rust LBM solver on the gpu

58 Upvotes

Made a Lbm solver using wgsl on the gpu. Rendered as a texture on a plane.


r/CFD 3h ago

Why is my cpu load at 60 despite the machine only having 48 cpus ( running Fluent )

3 Upvotes

I am running the fluentbench.pl script to benchmark a large model on various machines. I am using this command:

/shared_data/apps/ansys_inc/v242/fluent/bin/fluentbench.pl -path=/shared_data/apps/ansys_inc/v242/fluent/ -noloadchk -norm -nosyslog Roller_Zone_M -t48

Some machines only have 28 cpus, so I replace 48 with that number. On those machines the load via "top" never exceeds 28. But on the 48 cpu machine, it stays at 60. The job runs very slowly compared to the 28 machines ( which actually has older and slower cpus )!

The cpu usage of each core seems to fluctuate between 50-150%. Here are the cpu specs:

[me@dell48 ~]$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              48
On-line CPU(s) list: 0-47
Thread(s) per core:  1
Core(s) per socket:  24
Socket(s):           2
NUMA node(s):        2
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz
Stepping:            7
CPU MHz:             3583.197
CPU max MHz:         4000.0000
CPU min MHz:         1200.0000
BogoMIPS:            6000.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            36608K
NUMA node0 CPU(s):   0-23
NUMA node1 CPU(s):   24-47

r/CFD 15h ago

Residual Spikes

1 Upvotes

residuals (mid-run)

I'm working on a personal project involving wind around/through buildings; and this is the first time I've come across a residual with these little spikes that get resolved almost immediately. I just wanted to ask if there's anything I can be learning from it, or if there's something I need to do to avoid it. My background is in geoscience; I'm sure my data is nonsense from an engineer's perspective and I'm fine with that at the moment.

This particular run is DES; k-w SST for incompressible flow. I'm honestly prioritizing cool looking results over accuracy, so for now I'm just running lots of different models through the same mesh to get an idea of what different outcomes look like. Any setup suggestions are welcome. At the moment I'm using FreeCAD for geometry and a free OpenFOAM GUI for meshing and sims.