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.
|
Thanks for your advice.
I believe the solid region would have an influence on the flow? Otherwise I should give this a try. |
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.
|
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!
|
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. |
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? |
Use the command line tools. I think the command line you are look for is "cfx5mondata" or something like that.
|
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. |
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). |
Quote:
|
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. |