r/AnsysFluent

Image 1 — Help for ANSYS Fluent analysis Solution Divergence problem.
Image 2 — Help for ANSYS Fluent analysis Solution Divergence problem.
Image 3 — Help for ANSYS Fluent analysis Solution Divergence problem.
Image 4 — Help for ANSYS Fluent analysis Solution Divergence problem.
▲ 24 r/AnsysFluent+2 crossposts

Help for ANSYS Fluent analysis Solution Divergence problem.

Hi guys! I am working on a personal project of designing and analyzing air swirler of combustion chamber in gas turbine engines. I took a research paper as base, and tried to replicate their results using their values in both geometry and CFD analysis so that I can use that as validation for my own work. I would like to highlight that this is a cold flow cfd analysis.

In the first image, the results plotted for axial velocity and axial positions at each point, are from 8 blade axisymmetric vane angle air swirler. Even if we change the number of vanes or change the mass flow rate, the trend of the graph remains almost identical.

In the second image, the results are from the non-axisymmetric vane angle with the same number of blades and other geometric features. But the difference in the values of axial velocity is unfathomable.

The non-axisymmetric model simulation has a completely diverged solution and spiking residuals, due to which the calculations stop and fail, as shown in the third image.

The models used for both the simulations are the Steady-state RANS model for SST and k-ϵ. This was used for the axisymmetric vane angle model, and it gave the expected results but didn't work for the non-axisymmetric model. Then I tried with k-ϵ RNG, realizable, laminar, and Transient. The outcome was the same. The solutions diverge completely and residual spikes. Even adding a sphere of influence at the immediate downstream of the swirler and making fine mesh, which led to me to 1.9 million elements, still was not giving anything close to practical values.

I am still learning ANSYS Fluent analysis. I am still not well versed in understanding the problem and rectifying it. I have a gut feeling that this problem might be because of the non-axisymmetric vane angle, which might have caused the unsteady flow or something along the lines. I hope you guys can help me. Thank you for your time.

u/Leafy_vegie — 7 days ago
▲ 27 r/AnsysFluent+1 crossposts

cffview: a Python CLI tool to inspect Ansys Fluent .cas.h5/.msh.h5 files without opening Fluent

Hey everyone,

cffview is a lightweight Python CLI tool that reads HDF5-format Fluent case/mesh files directly.

What it does:

  • Read solver settings, materials, boundary conditions, discretisation schemes, and more directly from the HDF5 file.
  • Visualise the mesh with PyVista.

Example usage

# Install from PyPI
pip install cffview

# Show solver config + boundary conditions 
cffview case.cas.h5 --solver --bd

# Visualise the mesh interactively 
cffview case.cas.h5 --mesh 
cffview mesh.msh.h5

# Dump everything to JSON 
cffview case.cas.h5 --save

# Extract raw Scheme strings 
cffview case.cas.h5 --extract

# Check which Fluent version the file was saved with 
cffview case.cas.h5 --version

Multiple flags can be combined freely. Case-setting flags (--solver, --mat, etc.) work on .cas.h5 files.

Demo

cffview demo video

Tech stack

  • h5py for reading the HDF5 structure
  • sexpdata for parsing Fluent's embedded Scheme configuration
  • pyvista for mesh visualisation
  • Pure Python, no compiled extensions, cross-platform

BSD-3-Clause licensed, Python 3.10+.

Current status

Tested with Ansys Fluent 25R2. Other versions might work since the HDF5 schema is relatively stable.

Links

Feedback, bug reports, and contributions are welcome.

reddit.com
u/Umaybe0414 — 13 days ago