In different projects I have to calculate the conductance at different strokes.
Usually I move a plate by using of the selection memorize and facet move. The conductance is calculated by the formular editor.
I have seen the scripting possibilies and i wonder if it is possible with the scripting interface to perform a sweep over the valve hub and calculate the conductance. A calculation of x minutes per step should be also set. Afterwards saving the conductance in text file.
Can someone help me or give me an hint how to solve this?
Since you can’t move facets programmatically, indeed your only option is to toggle their opacity with the script, see details here.
The formula editor is not accessible, so you can do two things:
Once your sweep is over, you open the results one by one in the GUI and read the formulas there (still faster than launching the simulations one by one)
You use the --writeFacetDetails parameter to export facet details (including Monte Carlo hits) which allow you to get the transmission probability
To run x minutes per step, you use the --time parameter, for example --time 600 for 10 minutes per step