r/CFD • • 7d ago

ANSYS + Claude code experience?

Hello everyone.

I am working in a CFD project with ANSYS Fluent (more specifically, the battery model) and just recemtly decided to give Claude Code an oportunity. For now, I have only used it to verify that the model is correctly set up and gives coherent responses, based in previous iterations of the model.

For now, itt seems to be working properly (results are in line, and tries to debug and solve issues on the fly). My work method has been opening the Claude app in the computer, giving it folders to work and reorganize, and one of the full projects as a starting point. It has made new folders with geometry model, mesh, results, UDF, etc... But it doesnt work with the integrated project approach as workbench.

For the people that has experience with this approach, do you find it efficient? Is there any way of making it work while workbench is open? Right now, everything is working in the background, but i cant see fluent ACTUALLY opening in my computer, so i worry that it is not actually doing the work.

For the people that works in ANSYS and still havent tried IA. Do you have any task you would like the IA to help you with? Any other questions?

I would like this ñost, if possible, to be a place in which this kind of begginer ANSYS or AI (OR BOTH) questions can be openly discussed.

I apologize first for my english, as it is not my mother tongue, and if i missed any comunity guideline, which i will solve ASAP.

Cheers, and thank you everyone!

7 Upvotes

12 comments sorted by

6

u/ExtraAd7240 7d ago

I think an important distinction before anything is what you personally want to get out of this project?

If you genuinely are interested in learning how to use ANSYS and get a proper understanding of CFD I would strongly recommend not using AI and going through tutorials online as well as using the online learning courses ANSYS has - they are basic and foundational but give really good best practice.

For context I did my Honours thesis on vortex aerodynamics using a CFD hierarchy from RANS to IDDES and spent hours grinding meshing, solving post-processing. I was able to diagnose what was wrong because I knew what to look for. AI struggles with this because it will only be as smart as its user and if you don’t have a proper understanding of the physics or the processes going on it’s the blind leading the blind.

If you are much more focused on just getting the project done then I strongly recommend finding relevant literature papers whether conference or journal to help you understand what is good practice or ‘accurate’ solutions. Chuck it into Claude to give it more context - better yet uploading the relevant manual will do wonders!

Garbage in is garbage out!

0

u/No-Spirit8373 7d ago

Honestly, time is now more important than learning, which i have spent time trying to do at the best of my skills. Of course, i want to have full control over the model itself, that is why the fact that is "working in the background" annoys me so much.

Thank you for your honest response!

1

u/jbourne1688 2d ago

“…time is now more important than learning,…” 🙄

1

u/No-Spirit8373 2d ago

I know man, but it is what it is

8

u/ABRSreet 7d ago

Take a look at setting up an MCP server to interface with a live Fluent session. There's a github repo that works with pyFluent and allows LLMs to interface directly to Fluent through pythonic commands (assuming based on what you're saying that this is not what you're already talking about).

I don't know about workbench but there's equivalent mcp servers for mechanical and a few other products. I see mention of a (possibly independent workbench mcp setup but have no experience with it.

I've been playing around with using Claude to set up Fluent simulations through the fluent mcp and I've been impressed at what it can do - I think there is a lot of potential for using AI in this way, but as it stands it can be token-intensive and is still a long way off from replacing a competent engineer in my estimation. Of course that may change over the coming months/years depending on the data sources, interfaces, and other progress in LLMs that we've been seeing.

2

u/thirty2skadoo 7d ago

I’ve been using it to build artifacts where I can share results with a broader team. They can click through 20 different sim results in a single interface. The results take less time to load they’re mapped in a way I want and I can do secondary analysis like particle statistics that aren’t as easy to do in Fluent. I’m intrigued by the Fluent MCP in another comment I’m going to give it a go. 

2

u/LoxumovCofe 7d ago

Idk about fluent, but lets divide the workflow for better understanding the situation.

  1. Geometry stuff - can be done with claude but not as efficient
  2. Meshing - Fable 5.2 does an amazing job with raw files, but ANSYS is a bitch thus does not allow for raw command line execution for meshing, if you use claude with it it will go into scripting window and start doing its magic there, still need to have the window open as it takes screenshots for understanding what is going on.
  3. BCs ICs, physics and underlying models and all that stuff. It can do efficiently.
  4. Checking the results, it can do efficiently.

All of this said, ANSYS workbench is a tool made for humans to use, Claude and all AI excel in code so if you wanna push AI to its limits with CAE find a way to make your workflow work with coding/commands. OpenFOAM is probably your go to. I know the learning curve is steep I am not there yet myself but it will be suited better for AI integration. Also use the VScode version for claude, it has a better harness for such tasks.
I hope this helps.

1

u/OhIforgotmynameagain 7d ago

Why is it better in vscode ?

2

u/LoxumovCofe 7d ago

I can only assume as I am not a ML engineer, but claude “desktop app”
And vscode version, probably have different harnesses. As the workflow is very different in those apps it is logical to have different harnesses. The VScode app also has the “Ultracode” mode which allows you to make any workflow into an agentic one, sexy stuff.
VScode version also is way better with handling tasks like these. This is purely my experience with working with it. I experimented with some FEA rather than CFD as it is a bit more straightforward and easier to notice mistakes.

1

u/jbourne1688 2d ago

You can use claude’s cli in the absence of vscode.

1

u/jae58 5d ago

I'm using it but with openfoam. I never did CFD in my life, and now I'm running a 20,000 m3 non-newtonian biodigester (~900k cells) on 56-core GCP spot VMs for ~$1/hr. That's so awesome! Iḿ having now a true differentiator.