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

Easy way to export monitor data from CFX out file

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree4Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   October 23, 2013, 08:06
Default
  #21
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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: 6
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: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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: 6
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: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 06:08
Default monitor data from iterative runs
  #26
New Member
 
Join Date: Dec 2016
Posts: 8
Rep Power: 3
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, 17:31
Default
  #27
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 17:44
Default
  #28
New Member
 
Join Date: Dec 2016
Posts: 8
Rep Power: 3
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, 17:57
Default
  #29
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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, 18:20
Default
  #30
New Member
 
Join Date: Dec 2016
Posts: 8
Rep Power: 3
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, 18:51
Default
  #31
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 14,201
Rep Power: 110
ghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the roughghorrocks is a jewel in the rough
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
Compiling gmshFoam with OpenFOAM-1.5 BlGene Open Source Meshers: Gmsh, Netgen, CGNS, ... 10 August 6, 2009 04:26
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20: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 06:13.