HELP! Error in fluid-dynamic simulation (Error: arg(2nd) out of range in string-ref Error Object: 0)
November 28, 2017 at 11:05 amLucaSubscriber
Hello to everyone, I am simulating a spiral microfluidic chip with a rectangular section. It's a pressure-based driven flow in which I impose as boundary condition a pressure inlet and a pressure outlet, for simulate the flow of water inside this channel, filled with air. I use a VOF method, for simulate the multiphase system. After 150 iteration several times i encountered this error:
Error: arg(2nd) out of range in string-ref Error Object: 0
Someone could help me?? I am still blocked at this point since a week.
November 28, 2017 at 6:27 pmraul.raghavSubscriber
So to be clear, the error shows up while you are running your simulation? And this error starts after ~150 iterations? And do you setup fluent to generate any backup files after certain number of iterations?
November 28, 2017 at 7:14 pmLucaSubscriber
Thanks for your answer Rahul. Yes, I start the simulation and after 150 iterations this error appears. Few files that i save in these simulations are pressure surface integrals, velocity surface integrals, vof volume integrals and datas (every 150 iterations, cause it is a transient simulation and I would to do an animation with contour plots).
November 28, 2017 at 7:33 pmraul.raghavSubscriber
Can you check if your write directory has any special characters like "%"? Check the file-name, folder-name and directory-name. If there are any special characters, modify it and try running your simulation.
November 28, 2017 at 7:44 pm
November 28, 2017 at 8:43 pm
November 29, 2017 at 2:48 pmraul.raghavSubscriber
You're welcome Luca. Let us know if you were able to solve your problem. Good luck!
December 1, 2017 at 9:20 amLucaSubscriber
Updates: Same error at the same iteration. (I tried to change the pressure at the bc of the inlet, and also the time step, i changed also the name of the file data that i saved every 150 iterations). This nightmare is still appearing.
December 1, 2017 at 2:01 pmraul.raghavSubscriber
Luca, the error is definitely related to the saving of the backup data file. Can you attach a screenshot of the "Automatic Export" window?
Additionally, refer the following Fluent help file and the attached screenshot if it helps you in any way:
December 1, 2017 at 4:18 pm
December 1, 2017 at 4:33 pmraul.raghavSubscriber
Can you try the simulation by exporting just the important variables in the "Quantities" column to see if that is causing the error? If that doesnt work, can you also try saving the file in a different folder? Good luck!
December 2, 2017 at 12:33 pmLucaSubscriber
For sure is a problem regarding data files. I changed time steps in which i save datas to 100. Now this error appears at 100 iterations.
December 3, 2017 at 1:17 pm
December 3, 2017 at 8:14 pmraul.raghavSubscriber
I'm glad you were able to sort the issue Luca. Can you share a screenshot of the "Automatic Export" window so it might be useful for others facing the same or similar issues?
December 4, 2017 at 8:26 amLucaSubscriber
There is the screeshot of my "Automatic Export". Basically during my tests i changed rispectively: name of export, directory of saving and number of variables that will be saved. (and the number of time step when the data were saved, but this doesn't influence the problem).
Now the simulation is still running, thanks to Rahul!
- You must be logged in to reply to this topic.
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.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.