|
[Sponsors] |
Cfd-post - how to export figures automatically? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2017, 07:34 |
Cfd-post - how to export figures automatically?
|
#1 |
New Member
ES
Join Date: Oct 2017
Posts: 1
Rep Power: 0 |
Hi everyone!
I am totally new in this forum so excuse me if I say something wrong or the question is already asked (I have not found it, so I guess it's not). I'm making a macro in a .cse for automaticing a process for CFD-post. I have managed to create one that takes all the data for my project on a certain time and exports it in a document. It works pretty well. You can see some fragment down below: # Session file started: 01:10:45 # CFX-16.2 COMMAND FILE: CFX Post Version = 16.2 END # timestep: 0.10 DATA READER: Domains to Load= END > load filename=//...../Model_1-9-0.1.dat , case=Case Model_1_E9v10 9 0.1, force_reload=true CALCULATOR: Function = area Location = Case Name = Case Model_1_E9v10 9 0.1 END TABLE:Table 1 Export Table Only = True Table Export HTML Title = Table Export HTML Caption Position = Bottom Table Export HTML Caption = Table Export HTML Border Width = 1 Table Export HTML Cell Padding = 5 Table Export HTML Cell Spacing = 1 Table Export Lines = All Table Export Trailing Separators = True Table Export Separator = Tab END >table save=C:/....../Tabla.txt, name=Table 1 Now I'd like to do the same but saving images instead of just data. Through the software I get some figures that I can visualize in the main screen and save as *.png. Those are the images I want to extract, but I don't know how to do it by coding. The point would be do it some certain times as I did for the data as well. Any help? thanks in advance |
|
October 26, 2017, 19:10 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The easiest way to do session files is to record a session file of doing the thing you want in the GUI. Then you can see the session file commands to do the action.
|
|
Tags |
cfd-post, cse, export, figures, macro |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem regarding producing streamlines from surfaces in Ansys CFD post | gauthamnarayan | ANSYS | 6 | June 8, 2015 08:33 |
Problem regarding producing streamlines from surfaces in Ansys CFD post | gauthamnarayan | Visualization & Post-Processing | 0 | April 23, 2015 17:07 |
[ICEM] Export ICEM CFD Geometry to Designmodeler | chiragsvnit | ANSYS Meshing & Geometry | 3 | June 3, 2014 20:49 |
CFD Post Streamlines better representation? | Dr. Flow Squad | CFX | 2 | January 20, 2014 14:48 |
Creating Face in CFD Post and export Values as Boundary Conditions | flow87 | CFX | 2 | June 4, 2011 05:06 |