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

Exporting Chart to jpg or png format

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2015, 15:06
Default Exporting Chart to jpg or png format
  #1
Member
 
beyonder
Join Date: May 2015
Posts: 67
Rep Power: 10
beyonder1 is on a distinguished road
Hi,
Is there anyway to export charts in jpg or png format from CFD-Post.
beyonder1 is offline   Reply With Quote

Old   September 2, 2015, 03:26
Default
  #2
Senior Member
 
Maxim
Join Date: Aug 2015
Location: Germany
Posts: 415
Rep Power: 12
-Maxim- is on a distinguished road
Outline (left sidebar) - Report - right click and select 'publish'
check 'save images in separate folder'

in 'more options', you can set the quality of the PNGs/JPGs.



speaking of... does anyone know an easier way? Is there a way to export the charts as *.svg or some other vector graphic image? I guess it's better to export the csv and use the raw data directly in LaTeX for publishing...

Last edited by -Maxim-; September 2, 2015 at 03:31. Reason: vector graphix
-Maxim- is offline   Reply With Quote

Old   September 2, 2015, 03:47
Default
  #3
Member
 
beyonder
Join Date: May 2015
Posts: 67
Rep Power: 10
beyonder1 is on a distinguished road
Thanks for the reply.
Actually I want to generate charts for large no. of timesteps. So according to solution provided by you, when i generate for other timestep, it overwrites on previous one. Do you any other way of doing it for multiple timesteps?
beyonder1 is offline   Reply With Quote

Old   September 3, 2015, 09:56
Default
  #4
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
Untested, but should give your the idea:

!$timestepList = getValue("DATA READER", "Timestep List");
!@timesteps = split(/, /, $timestepList );
! foreach $ts ( @timesteps ) {
!$b=$b+1;
> load timestep=$ts

ADD IN YOUR SESSION FILE RECORDING OF YOUR CHART GENERATION HERE

>chart print, Chart Name = Chart 1, filename = <YOURPATH>/Chart.png, x size = 800, y size = 800, format = png, factor = 0.813406
!rename("<YOURPATH>/Chart.png","<YOURPATH>/$b.png");
!}
singer1812 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] exporting sample surface data in csv format sihaqqi ParaView 3 July 7, 2013 07:06
[ICEM] Exporting geometry as parasolid format taram ANSYS Meshing & Geometry 0 June 26, 2013 03:38
[Netgen] Error message when exporting to OpenFOAM 1.5 + format almir OpenFOAM Meshing & Mesh Conversion 2 May 25, 2011 05:30
Macro Issue Exporting Chart Data recon9 CFX 1 March 24, 2011 13:46
Exporting GAMBIT files in 'plot 3d' format Jeff FLUENT 0 November 22, 2001 20:52


All times are GMT -4. The time now is 00:59.