|
[Sponsors] |
January 16, 2015, 10:15 |
Naming export files in Workbench scripts
|
#1 |
New Member
Join Date: Jan 2015
Posts: 29
Rep Power: 11 |
Hi all,
I've been trying to use the scripting file of Workbench 14.0 to perform multiple CFX simulations by varying some geometric parameters. What I've achieved so far is to be able to generate multiple standalone systems in WB. I then would like to further save my time by automatically export some data in CFX-post, where I got this question: how could I name my export files, according to their geometric parameter? Currently my .wbjn file looks like below. results1.SendCommand(Command="""EXPORT: ANSYS Export Data = Element Heat Flux ANSYS File Format = ANSYS ANSYS Reference Temperature = 0.0 [K] ANSYS Specify Reference Temperature = Off ANSYS Supplemental HTC = 0.0 [W m^-2 K^-1] BC Profile Type = Inlet Velocity Export Connectivity = Off Export Coord Frame = Global Export File = C:/Users/.../user_files/Output.csv Export Geometry = On Export Node Numbers = Off Export Null Data = On Export Type = Generic Export Units System = Current Export Variable Type = Current Include File Information = Off Include Header = On Location List = /LINE:Line 1 Null Token = null Overwrite = On Precision = 8 Separator = \", \" Spatial Variables = X,Y,Z Variable List = Pressure, Temperature Vector Brackets = () Vector Display = Scalar END >export""") How should I rewrite the line in red to reflect that this is the file for angle=x, say? Thanks! |
|
January 22, 2015, 21:23 |
|
#2 |
Senior Member
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14 |
I dont know but may be this?
Export File = C:/Users/.../user_files/Output_Angle_X.csv |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM gcc configuration problem | preacher | OpenFOAM Installation | 7 | March 3, 2014 23:44 |
Export Heat Flux CFX -> ANSYS Workbench | Freeman | CFX | 2 | April 11, 2010 09:24 |
Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 21:51 |
Export data from several .res files | Nessan | CFX | 2 | April 14, 2004 13:56 |
Export files from TrueGrid | Coulibaly | Main CFD Forum | 0 | March 9, 2004 14:41 |