|
[Sponsors] |
June 27, 2014, 05:07 |
automate Pointwise
|
#1 |
Member
Vanessa Herwig
Join Date: May 2014
Posts: 36
Rep Power: 12 |
Hi All,
is it possible to automate the execution of some Pointwise scripts? Did anyone did that before and has some advice for me? i am thinking of a batch file to execute a whole list of scripts (i am creating boundary layers for a lot of different airfoil "sections" consisting of 2 different airfoils) the scripts are working well, therefore there shouldn't be any default message due to the execution process. Thanks a lot. Vanessa |
|
June 29, 2014, 19:20 |
|
#2 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
Hi Vanessa:
You should be able to write a "master" script in your favorite scripting language (sh, Perl, Tcl, Python) that runs Pointwise with each of your scripts. You'd do stuff like pointwise -b script1.glf pointwise -b script2.glf pointwise -b script3.glf etc. (The -b means run in batch. You'll need to make sure your script output goes to unique files.) Hope this helps.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner |
|
August 15, 2014, 07:31 |
|
#3 |
Member
Vanessa Herwig
Join Date: May 2014
Posts: 36
Rep Power: 12 |
long time ago
i just tried to make up a batch file with executing my scripts but it won't work and i always get a fatal error: batch file: Code:
"C:\Program Files (x86)\Pointwise\PointwiseV17.1R4\win64\bin\Pointwise.exe" -b PW_1_ALL_2D_Mesh.glf Code:
Fatal: Usage: Pointwise.exe ?-usage? ?-version? ?-language spec? ?-tbbinit num? ?-dirmode current | saved? ?startup_script | file? Do I have to add something in the command line? Thanks a lot |
|
August 18, 2014, 11:53 |
|
#4 |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
Vanessa,
The -b option only works on non-windows machines. For windows, you can launch the script directly in the Pointwise Tcl shell. tclsh.exe is located in the same ...\bin folder as Pointwise.exe. To make using tclsh.exe easier you can:
To run the script: c:> tclsh script.glfI hope this helps. * The bat file should contain something like:
|
|
Tags |
automation, glyph2, scripting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
generating OpenFOAM meshes with pointwise | robo | OpenFOAM Pre-Processing | 1 | April 29, 2014 14:47 |
CGNS problematic import in Pointwise | S.Kontogiannis | Pointwise & Gridgen | 8 | April 17, 2014 08:28 |
Pointwise 2D airfoil C-grid | azmirul | Pointwise & Gridgen | 8 | July 17, 2012 14:02 |
[Commercial meshers] Native OpenFOAM interface in Pointwise | cnsidero | OpenFOAM Meshing & Mesh Conversion | 41 | May 20, 2012 19:30 |
Native OpenFOAM interface in Pointwise | Chris Sideroff | Main CFD Forum | 0 | January 16, 2009 13:37 |