CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX Post Monitor Points (https://www.cfd-online.com/Forums/cfx/188007-cfx-post-monitor-points.html)

roz314 May 20, 2017 07:28

CFX Post Monitor Points
 
Hello

I am working on some Perl loop which calculates the different cases in CFX, all in the row, applying slightly different boundary conditions each time.

I have some expressions set in the CFX-Pre as the Monitor Points. Normally, in case of steady-state solution, I am returning value of the Monitor Point in the table in CFX-Post:

=massFlowAve(my expression)@GeometryRegion

which are further exported in the form of the report and then my Perl loop reads it again to process. And that is ok, all works fine. Normally, I set my analysis steady-state, but at some point the solution becomes non-steady (with poor convergence, the monitor points begin to fluctuate - I should use here transient, but that is the next step).

I need some more information about my solution when I have this non-steady situation (and in general). I know there exists the option to 'Monitor Statistics' over some number of itterations. I would like to have for example Average Arithmetic and Standard Deviation, Max and Min and print them in the Table which will be further exported with report. I can see them when I Display Monitors, but I am interested in passing them directly to CFX-Post.

Is there any method to do it? I've tried probe(ExpressionValue)@Monitor Point but it is not working (perhaps I am doing it wrong).

I would like to omit exporting all the data about my Monitor Point in time and processing it in Excel/Matlab. I've tried also the Derrived Variables in Cfx-sol, but with no succes, and I would rather omit using it, since that can change my Perl rather significantly.

I will really appreciate your help

roz314

ghorrocks May 20, 2017 07:56

I am confused about what you are trying to do. You say you want to pass CEL expressions to CFD-Post in one line, but talk about processing the expression data in excel/matlab in another.

You can access solver monitor data in real time with a command line option (I think it is cfx5solmon or something like that). But I don't know of any way of getting single value CEL expressions into CFD-Post.

-Maxim- May 22, 2017 03:38

I think you should read through the "Monitor" chapters in the manual. The usage of "cfx5mondata" command line tools are also explained there and there are also a lot of posts here in the forum about it. The most recent one is here:
https://www.cfd-online.com/Forums/cf...tml#post648932
You can then easily import the csv files you get via cfx5mondata into Matlab, Excel or whatever you prefer.

ghorrocks May 22, 2017 07:02

Thanks Maxim, cfx5mondata was the command line I was looking for.


All times are GMT -4. The time now is 02:38.