Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

How to stop a transient simulation when a User defined “Report Definition” reaches certain value?

TAGGED: 

    • shivareddy
      Subscriber

      I am simulation a centrifuge to see how much fluid is moved out of a column. My goal is to move 95% of the fluid out of the column and see how much time it takes to reach that. I already defined an expression in report definition (say, with name 'percentage-fluid'). I want to stop the transient simulation if the value reaches 95% or more. Is there a way for me to execute this? I believe I can write a command under "Execute Commands" in "Calculation Activities" but I can't find a resource on how I can write such a command. Thanks in Advance!

    • Rob
      Forum Moderator
      Much the same approach as suggested here /forum/discussion/32782/how-to-define-convergence-criteria-based-on-temperature#latest However in your case you can just monitor (plot) the report and see what the time is when the report hits a set value.
    • shivareddy
      Subscriber

      Thanks for the reply! I was plotting the variable and keeping an eye on it but the relation between the variable and time is exponentially decaying and I can't accurately calculate the approximate time at which it would reach the required value just by looking at the plot. Thought I would run for higher number of time steps and make Fluent stop when the monitor reaches a certain value. However, I believe the post you linked should work for me.
    • DrAmine
      Ansys Employee
      If you can incorporate your report in as Convergence Monitor you can avoid writing schemes/UDF for that.
    • shivareddy
      Subscriber
      Thanks for the reply, I now incorporated it into convergence conditions. I hope it works.
Viewing 4 reply threads
  • The topic ‘How to stop a transient simulation when a User defined “Report Definition” reaches certain value?’ is closed to new replies.
[bingo_chatbox]