January 16, 2023 at 10:56 amNiclas RohdeSubscriber
I am currently writing my master's thesis and am investigating, among other things, the effects of network parameter changes on the computing time and quality of the results in a plastic melt.
Is there a way to define the total calculation time as an output parameter?
I would like to start an optimisation that varies, for example, the element size and thus the number of elements. The calculation time would be a good quality criterion to find an optimum.
Thank you very much.
January 16, 2023 at 1:20 pmDrAmineAnsys Employee
If you require that information as output parameter then probably you will to write a small Scheme or Python code to extract that out of (in the ribbon) Time->Usage.
January 16, 2023 at 2:30 pmNiclas RohdeSubscriber
The parameter I'm interested in is "Wall Clock-Time". So am I able to add my own code to ANSYS? Or is there a developer menu like e.g. Excel VBA?
January 16, 2023 at 2:48 pmDrAmineAnsys Employee
You need to write a scheme routine to extract that information and put it into a parameter.
I think it is better to write a C routine like DEFINE_ADJUST / DEFINE_REPORT_DEFINITION_FN where you can track the time required and store that in output parameter.
Or you in Journal/Scheme you create a first placeholder for time, you run you create a second helper to store end time and then do end-time - start-time and put that in a scheme driven output parameter. The User's Guide does provide insights on how to define Scheme driven Output Parameters.
- 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.