Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
Good point Jon, but I have no idea how to script the setup. It is also not clear to me which language to use here. The following did not work:
from CFD import Setup from CFD import DSE
# design and scenario created by the geometry import are passed def main(design, scenario): DSE.UI.ShowMessage("Trigger: Geometry created for %s" % (scenario.name()))
# type your script below (indented correctly) advectionScheme = "ADV 5" turbModel = "SST K-Omega"
I had the same issue when investigating "triggers" after finding the hard copy of the API help, there were no examples of how to set solver settings using the API. I think triggers is a better place to do this than flags, since the flag would need to be deleted in order to have anything other than the flagged advection scheme and turbulence model. Triggers would have the ability to just have them as default when a new scenario is added. Templates in their current form don't have ADV5 as an option nor do they have the ability to select from the different turbulence options.