r/CFD • u/No-Spirit8373 • 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!
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!
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.
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/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.