CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Easy way to export monitor data from CFX out file

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2013, 08:06
Default
  #21
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 23, 2013, 08:12
Default
  #22
New Member
 
Paul
Join Date: Oct 2013
Posts: 4
Rep Power: 12
Lilienthal is on a distinguished road
Thanks for your advice.
I believe the solid region would have an influence on the flow? Otherwise I should give this a try.
Lilienthal is offline   Reply With Quote

Old   October 23, 2013, 08:20
Default
  #23
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   October 23, 2013, 08:30
Default
  #24
New Member
 
Paul
Join Date: Oct 2013
Posts: 4
Rep Power: 12
Lilienthal is on a distinguished road
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!
Lilienthal is offline   Reply With Quote

Old   October 23, 2013, 17:13
Default
  #25
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   January 15, 2018, 05:08
Default monitor data from iterative runs
  #26
New Member
 
Join Date: Dec 2016
Posts: 11
Rep Power: 9
vijayadityah is on a distinguished road
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?
vijayadityah is offline   Reply With Quote

Old   January 15, 2018, 16:31
Default
  #27
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Use the command line tools. I think the command line you are look for is "cfx5mondata" or something like that.
ghorrocks is offline   Reply With Quote

Old   January 15, 2018, 16:44
Default
  #28
New Member
 
Join Date: Dec 2016
Posts: 11
Rep Power: 9
vijayadityah is on a distinguished road
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.
vijayadityah is offline   Reply With Quote

Old   January 15, 2018, 16:57
Default
  #29
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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).
ghorrocks is offline   Reply With Quote

Old   January 15, 2018, 17:20
Default
  #30
New Member
 
Join Date: Dec 2016
Posts: 11
Rep Power: 9
vijayadityah is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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?
vijayadityah is offline   Reply With Quote

Old   January 15, 2018, 17:51
Default
  #31
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 04:26
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08
File export from CFX 5.3 Sinjae Hyun CFX 1 July 12, 2000 09:20


All times are GMT -4. The time now is 08:41.