Fluids

Fluids

scheme command to change time step size after a given number of timesteps

    • desouzadacosta
      Subscriber

      Hello All,

      Wondering if some fluent experts could help with this issue :

      In a single line, what is the scheme command sequence to change the time step size after a given number of timesteps

      is reached ?

      Any guidance is very welcome

      Alex

    • DrAmine
      Ansys Employee
      You will require a procedure to do that: so no direct "line". You will need to create an if condition, begin statement, a time step size change statement then close the procedure :)
    • Rob
      Ansys Employee
      Can you use the solution steering? At the desired time (check it's time and not time step) alter the time step to whatever the new one is. Note, this is different to the Execute Commands option in that the command is called once at the set point and not every some iterations/timesteps/time.
    • desouzadacosta
      Subscriber
      Thanks DrAmine and Rob for the outputs I am going to place the scheme sequence in the Execute Commands section (every timestep).
      About the time step size change, what is the variable or Should I use a TUI command ?
      Thanks.
      Alex
    • DrAmine
      Ansys Employee
      You will need to use TUI command but enveloped in Scheme. The scheme procedure containing the TUI command to change the time step will be executed every time step and if the condition is fulfilled it will change the time step.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.