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

Macro to output a plot curve

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2007, 12:52
Default Macro to output a plot curve
  #1
E Fardream
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
  Reply With Quote

Old   May 31, 2007, 13:18
Default Re: Macro to output a plot curve
  #2
Andy Hill
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.
  Reply With Quote

Old   May 31, 2007, 23:44
Default Re: Macro to output a plot curve
  #3
E Fardream
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
  Reply With Quote

Old   June 15, 2007, 20:29
Default Re: Macro to output a plot curve
  #4
Roque Lopez
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')

  Reply With Quote

Old   July 9, 2007, 05:38
Default Re: Macro to output a plot curve
  #5
Iouri Antonik
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.
  Reply With Quote

Old   July 9, 2007, 09:13
Default Re: Macro to output a plot curve
  #6
E Fardream
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.
  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
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


All times are GMT -4. The time now is 23:04.