CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Workbench Parametric Runs - Obtaion .csv files Automatically (https://www.cfd-online.com/Forums/fluent/185644-workbench-parametric-runs-obtaion-csv-files-automatically.html)

nikos_ March 30, 2017 09:44

Workbench Parametric Runs - Obtaion .csv files Automatically
 
2 Attachment(s)
Hello, I’m facing some difficulties regarding the parameter design in Ansys Workbench.

More specific I have one input geometric parameter and I wish to obtain .csv files which contain Pressure and Radius values at nodes for each value of the geometric parameter in order to plot them and compare them. I can do it if i open Results each time and export manually the .csv file with the values i need for each value of the parameter.

But I can’t figure out how to achieve saving the .csv files automatically for each value of the parameter so that i won't have to do export manually each time.

Should i make any configurations in Solution tab or Results tab ?
Is it supposed that Workbench saves them independently? I have read similar threads but I couldn’t reach to a solution.

I attach the schematic of my project and parameter set.

I will be grateful if anyone could help.

vasava March 31, 2017 08:27

For now I can think of two options:

You can add a command that exports solution data in Execute Commands. You should see this option in Calculation Activities. You should be bit careful about file overwriting.

The other option is bit manual and I guess you already know this.
  1. Create all the design points
  2. Update the project (make sure that you see green tick-marks on design points)
  3. Open each design point and export data manually

nikos_ April 2, 2017 09:21

Quote:

Originally Posted by vasava (Post 643187)
You can add a command that exports solution data in Execute Commands. You should see this option in Calculation Activities. You should be bit careful about file overwriting.

This is indeed what i am trying to achieve. Could you maybe send me some information about the command you are refering to ?

The manual option is working but i am trying to automate the process.

Thank you.

Nikos

vasava April 3, 2017 03:14

I have never tried this my self. But I know that you will have to make a macro in the
Execute Commands window. You can follow these instructions to create macros. Also here is the complete list of commands.

I hope you will find appropriate help. Do share your experience.


All times are GMT -4. The time now is 21:12.