TAGGED: #fluent-#ansys, #fluent-#cfd-#ansys, convergence, iterations, rotation, time-step, transient
-
-
March 26, 2024 at 12:52 pmJohn FarrellSubscriber
Hi,Â
Transient simulation a rotating container with fluid inside.
The radial velocity is constant for a period of time after which I am attempting to simulate a near step change in the radial velocity (0.25s decceleration to 0 [rad/s]).Â
To decrease simulation time I want to
- Have a larger timestep and less max iterations per timestep for a period before the change in radial velocity
- Decrease the timestep size and increase the max iterations per timestep during the decelleration period
- Return to the original timestep and max iterations per timestep for the remainder of the simulation.Â
I created an expression that follows the desired radial velocity profile using conditional statements.
My question is, if I were to stop the simulation before the decelleration period, restart with a much lower timestep value and increased iterations per timestep will this affect my simulations convergence? and similarly after the decelleration period, will the abrupt increase in timestep size again affect convergence?Â
Â
Thanks in advance,
-
March 28, 2024 at 2:18 pmMurari IyengarAnsys Employee
Hi John, increasing iterations per timestep will only help the solution converge better, if it isn't converging in the specified number of iterations already. As for decreasing and increasing timesteps, you also need to factor in the CFL number before doing so. CFL~1 is ideal so based on this, you can change your timestep size.Â
-
April 9, 2024 at 5:41 pmJohn FarrellSubscriber
Hi again,Â
CFL at my current timestep size is < 1 throughout the simulation beginning and end.Â
During the decelleration period I decreased the timestep size to avoid convergence issues resulting in CFL << 1, I am seeing large ocsillations in scaled residuals plot from the beginning of each timestep to the end (~1e-3 to ~1e-13 continuity, ~1e-5 to ~1e-18 y-velocity, and ~1e-8 to ~1e-18 x & z-velocity), is this indicative of a setup problem or should I only be concerned with the final value reached at the end of each timestep? The final iteration of each timestep reaches the same value as the previous ones.
Also, are there negatives to prescribing a timestep that results in CFL << 1 for simulations?
Thanks in advance,
(Sorry for the spam, I replied to thread as opposed to your comment specifically)
Â
-
-
April 9, 2024 at 5:38 pmJohn FarrellSubscriber
Â
Â
-
April 10, 2024 at 12:39 pmMurari IyengarAnsys Employee
That is normal for transient cases. The residuals will shoot up at the start of a new timestep and decrease as the iterations carry on. You need to look at the final value of the residual at the end of a timestep to see if the solution is converging. 1e-13 is very good convergence for continuity indicating a fully converged flow solution. The downside to having CFL<<1 is that your simulation will take longer to complete/use more resources than required to reach the intended flow time.Â
-
- The topic ‘Convergence varying radial velocity and timestep size in a simulation’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.