|
[Sponsors] |
How to pick up the value of a monitor at a specified iteration? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2010, 10:31 |
How to pick up the value of a monitor at a specified iteration?
|
#1 |
New Member
Join Date: Aug 2009
Posts: 9
Rep Power: 16 |
Hi. I would like during a calculation go back to a monitor value at a specified iteration through a field function. Is it possible?
Something like $troubleMonitor[iteration_number] |
|
August 19, 2010, 01:16 |
i couldnt get u
|
#2 |
Member
|
hi friend
what are the values u want temp ,velocity ,pressure tell me clear |
|
August 19, 2010, 03:17 |
|
#3 |
New Member
Join Date: Aug 2009
Posts: 9
Rep Power: 16 |
It is a user-defined function monitored over the iterations
|
|
August 20, 2010, 04:02 |
|
#4 |
New Member
sven
Join Date: Jul 2010
Location: Germany
Posts: 7
Rep Power: 15 |
You can access the values through a Java Macro. I added some sample code accessing a monitor named "monitor"
Code:
Simulation sim = getActiveSimulation(); ReportMonitor reportMonitor = ((ReportMonitor) sim.getMonitorManager().getMonitor("Monitor")); MonitorData monDat = reportMonitor.getAllSamples(); sim.println("X-Values"); //monDat.getXValues() returns double[] for(double d :monDat.getXValues()){ //print Iterations sim.println(d); } sim.println("Y-Values"); for(double d :monDat.getYValues()){ //print monitored values sim.println(d); } |
|
August 20, 2010, 07:53 |
|
#5 | |
New Member
Kute Lyly
Join Date: Aug 2010
Posts: 1
Rep Power: 0 |
Quote:
---------------------------------- tin tuc Tin tuc trong ngay Tin nhanh Tin hot Tin hay Tin bong da |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to increase "Newton Pressure Iteration Limit" | kus | CFX | 9 | April 21, 2013 01:54 |
non stoppage of iteration | alastormoody11 | CFX | 0 | July 15, 2010 04:33 |
Parallel runs slower with MTU=9000 than MTU=1500 | Javier Larrondo | FLUENT | 0 | October 28, 2007 22:30 |
Creating, loop or iteration using expression edito | Jan | CFX | 3 | July 28, 2003 11:01 |
Heat exchanger problem | chiseung | FLUENT | 16 | October 20, 2001 04:36 |