CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Easy way to export monitor data from CFX out file (https://www.cfd-online.com/Forums/cfx/104522-easy-way-export-monitor-data-cfx-out-file.html)

ghorrocks October 23, 2013 08:06

Rather than a true line you can do this with a long thin solid region, then use the volumeInt() function. That will work just fine, but you will need to generate a mesh with the long thin mesh region in it.

Lilienthal October 23, 2013 08:12

Thanks for your advice.
I believe the solid region would have an influence on the flow? Otherwise I should give this a try.

ghorrocks October 23, 2013 08:20

No, I did not say a solid region. I recommend a mesh region which is made contiguous with the rest of the mesh, and will be included in the fluid domain. It will have no affect on the flow. It is just putting a label on a mesh volume so you can calculate some values on it.

Lilienthal October 23, 2013 08:30

Actually you said solid region :) But lets not get stupid here. I think I get what you mean. So I'll define a mesh volume consisting of a line of cells in the grid generator and use that as a monitoring region in cfx. Thanks a lot!

ghorrocks October 23, 2013 17:13

I did, didn't I... I meant a solid region of mesh (which you define as part of the fluid domain), not a domain which you define as a solid. I did not state that very clearly at all.

But I think you get the idea. Give it a go and it should work.

vijayadityah January 15, 2018 05:08

monitor data from iterative runs
 
hello all,

I am running an optimization process using a steady state setting. I created a plane to monitor the mass flow through it. I want to export the data of the last few (30) iterations of the run, however I do not want to manually export the data for each run (as there are 100 runs in the optimization). Is there a possible way where I can automatically export the results?

ghorrocks January 15, 2018 16:31

Use the command line tools. I think the command line you are look for is "cfx5mondata" or something like that.

vijayadityah January 15, 2018 16:44

Hi Glenn,

Thanks for the reply. I have looked into it. However, I am running on RSM and a cluster. As there are more than 100 jobs it would be helpful if it is possible to automatically export the data.

ghorrocks January 15, 2018 16:57

If you want to do it automatically without thinking then use the parametric capabilities in ANSYS workbench. But it will be hard to get the last 20 iteration worth of values out in Workbench, it is easy to get it to automatically give results from the final iteration.

If you want the last 20 iteration worth of results I would do it using the command line as I suggested. If you have a large number of simulations then you can script it in a batch file (windows) or shell script (linux).

vijayadityah January 15, 2018 17:20

Quote:

Originally Posted by ghorrocks (Post 678223)
If you want the last 20 iteration worth of results I would do it using the command line as I suggested. If you have a large number of simulations then you can script it in a batch file (windows) or shell script (linux).

There is an option in CFX-Pre (using ANSYS 18.2) where I can mention the last number of iterations that I need to monitor different values (avg, std.dev). Now that I think of it, is there any way that I can make the monitor point values as an output parameter?

ghorrocks January 15, 2018 17:51

Yes, you just set them as a parameter and it will be visible in workbench. Have a look at the workbench tutorials for how to do this. This is not the CFX tutorials, workbench has its own tutorials on the use of parameters.


All times are GMT -4. The time now is 19:51.