November 10, 2020 at 11:02 amLuigi0SubscriberHi,nI have to make a fluid-structure analysis with system coupling. During the analysis I have to change the timestep, but I know that the timestep must be fixed during the run in system coupling.nSo I made 2 analysis in succession, when I have to change the timestep, the analysis is stopped and then restarted with a new timestep.n1) To avoid the stopping and the restarting, is there a way to define the change in the timestep before the analysis begins?n2) A discrete phase is present in my analysis. After the restart it seems that also the trajectories related to the first part of the analysis are recalculated, but now based on the new flow field. Do you have any advice on how to manage the dpm solutions when the analysis is restarted?n
November 10, 2020 at 6:03 pmSteveAnsys EmployeeHi Luigi,nI recommend taking a look at the following tutorial run with the System Coupling GUI or Command Line Interface that is run outside of Workbench: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/sysc_tut/sysc_tut_oscplate_cli_fluent.htmlnWith this, you can use Python logic in the run.py script to prescribe a variable timestep. For example the following will change the timestep to 0.2s then run for 10 timesteps.nDatamodelRoot().CouplingControl.AnalysisType.StepControl.TimeStepSize = '0.2 [s]'nStep(Count = 10)nYou could even add more complex Python logic to read data from a Fluent output file (Courant number for example), then base the new timestep on that data. You can read more about the Step() function here: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/sysc_ref/sysc_ref_commands_step.html?q=step()nSteven
November 12, 2020 at 9:04 amLuigi0SubscriberThanks,nso I have to use use command line interface? Is it not possible with system coupling GUI?n
November 12, 2020 at 3:06 pmSteveAnsys EmployeeThat's correct, you'll need to use the Command Line Interface (CLI).n
- 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
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- Suppress Fluent to open with GUI while performing in journal file
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.