|
[Sponsors] |
May 28, 2007, 12:52 |
Macro to output a plot curve
|
#1 |
Guest
Posts: n/a
|
In CFView I can create multiple plot curves by macros, however, it was difficult to output a specific plot curve because no macro function as I know can select a given plot, except I manually intervened. Anyone knows the macro to select or active a given plot curve? I've gone through all the manuals I have only to find that I can delete rather than active
|
|
May 31, 2007, 13:18 |
Re: Macro to output a plot curve
|
#2 |
Guest
Posts: n/a
|
If you're using a macro to create and save plots, you can just create and save them one-by-one. When you use RprSection() to create a plot, it returns the name of the view, so after you save the plot data with PlotCurveOutput you can ViewActivate and ViewClose the view.
When you manually intervene, do you record your actions? You might be able to find a command that's not listed in the manual. If there is PlotCurveOutput and ActivePlotCurveOutput, one would think there would be PlotActivate or something like that, but I've been wrong on that before... Best of luck. |
|
May 31, 2007, 23:44 |
Re: Macro to output a plot curve
|
#3 |
Guest
Posts: n/a
|
Thank you for your reply. Here the problem is that I create the plot with BladeSection( float s ), which was designated to generate a plot containing data on a specific span position s. I've tried to place a PlotCurveOutput() next to BladeSection(), however, I found it still output nothing, any advice? Thank you
|
|
June 15, 2007, 20:29 |
Re: Macro to output a plot curve
|
#4 |
Guest
Posts: n/a
|
In the CFVIew GUI, when you left-click a plot curve, you will see in the information line the name of that curve. Take note of those names and you can use the following macro command:
ActivePlotCurveOutput('/path/filename','plot_name') example: ActivePlotCurveOutput('/home/roque/ps.dat' ,'Section 1 on row_1_flux_1_Main_Blade_skin.Imin blade_(aap-ps)_rotating') |
|
July 9, 2007, 05:38 |
Re: Macro to output a plot curve
|
#5 |
Guest
Posts: n/a
|
If you have access to the latest beta you can use SelectPlotCurves() which allows to select a curve plot by its name.
|
|
July 9, 2007, 09:13 |
Re: Macro to output a plot curve
|
#6 |
Guest
Posts: n/a
|
Thanks for your sincere help; It seems the only solution would be to purchase a newer version of CFView. Right now we've done it by manually selecting the specific plots. Thank you anyway.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
curve length plot | nick | FLUENT | 3 | July 16, 2019 04:14 |
HELP!about XY plot curve length | leungzhang | FLUENT | 2 | July 11, 2012 01:36 |
Plot XY of a variable vs. 3D curve | Fer | FLUENT | 2 | July 11, 2012 01:30 |
Plot on a curve | Monica | FLUENT | 1 | July 11, 2012 01:24 |
How to plot time response curve in fluent | sam | FLUENT | 0 | September 7, 2006 17:15 |