
Other option is to use an array instead of a scalar parameter in the loop and write out the array data to an external file using *CFOPEN and *VWRITE commands for example.

If not, you can simply modify the script as shown below, by adding %i% to the name (and removing my_), and after the loop, just getting those values needed into the details box of the command snippet. model1.SendCommand (LanguagePython, Command DSscriptcommand) model1.Exit () Here, a python script is read into the variable DSscriptcommand, which is. If yes, the values for parameters, my_rotx1 (for example) will be replaced during each loop by values at the next result set and the values you finally get are those corresponding to last result set.ĭo you need all the 40 parameters in the details of the command snippet? MFCALC: Specifies a calculation frequency for a field in an ANSYS Multi-field solver analysis. These SOLUTION commands set time controls for an ANSYS Multi-field solver analysis. cgns file with one-side fast Fourier transformation complex pressure peak value. Could you paste your APDL commands used instead of snapshot? The picture is not so clear.īut from my understanding, you simply pasted your command set (in your first post) at the location Jim suggested in his script. Reads one-way Fluent-to-Mechanical APDL coupling data via a. ANSYS APDL is a time-tested old-fashioned command-driven program that allows the user to input line by line codes one at a time and execute them on demand.
