August 22, 2023 at 7:35 pmRohit KanchiSubscriber
I want to know if there is a way to save the Volume Fraction of a particular phase each time step, because I am saving the other variables for a physical time interval of 0.1s. I used chatgpt and got the following code:
/file/write-data glass-granular phase-volume-fraction yes "Volume_Fraction_Step_%d.dat"
The idea is to save this every time step with a different filename so that it does not end up overwriting the same file again the next time step. (The code line works up until "yes". Adding the filename then causes error because the syntax is not right.
Can someone please provide me the syntax and a reference guide/pdf where I can learn to do this. Searched a lot but get all pointless information.
Thanks in advance.
August 23, 2023 at 8:16 amRobAnsys Employee
Are you wanting to save the volume average value or the like? If so have a look at monitors (and reports).
The first part of the command makes sense, /file/write-data myfile.dat should give you a Fluent data file. I don't recognise %d, but use %i, %t & occasionally %f The glass-granular phase-volume-fraction yes "Volume_Fraction_Step_%d.dat" part looks like ChatGPT has stuck two or three different options together to make up a result: the parts are correct in their own menu levels but not in the way it's written.
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.