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

Naming export files in Workbench scripts

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2015, 09:15
Question Naming export files in Workbench scripts
  #1
New Member
 
Join Date: Jan 2015
Posts: 29
Rep Power: 8
evan247 is on a distinguished road
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!
evan247 is offline   Reply With Quote

Old   January 22, 2015, 20:23
Default
  #2
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 11
Kapi is on a distinguished road
I dont know but may be this?

Export File = C:/Users/.../user_files/Output_Angle_X.csv
Kapi 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 gcc configuration problem preacher OpenFOAM Installation 7 March 3, 2014 22:44
Export Heat Flux CFX -> ANSYS Workbench Freeman CFX 2 April 11, 2010 08:24
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51
Export data from several .res files Nessan CFX 2 April 14, 2004 12:56
Export files from TrueGrid Coulibaly Main CFD Forum 0 March 9, 2004 13:41


All times are GMT -4. The time now is 07:14.