# automate Pointwise

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

 June 27, 2014, 04:07 automate Pointwise #1 Member   Vanessa Herwig Join Date: May 2014 Posts: 36 Rep Power: 4 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, 18:20 #2 Senior Member   John Chawner Join Date: Mar 2009 Location: Fort Worth, Texas, USA Posts: 242 Rep Power: 10 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, 06:31 #3 Member   Vanessa Herwig Join Date: May 2014 Posts: 36 Rep Power: 4 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 ( if i only type in pointwise -b script.glf nothing is happening ) 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, 10:53 #4 Senior Member   David Garlisch Join Date: Jan 2013 Location: Pointwise HQ Posts: 144 Rep Power: 5 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:Add the PW bin folder to the PATH env variable. Create a tclsh.bat file in your runtime folder that runs the desired exe*. To run the script:c:> tclsh script.glfI hope this helps. * The bat file should contain something like: Code: @ECHO OFF c:\path\to\your\pw\install\bin\tclsh %*

 Tags automation, glyph2, scripting

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post robo OpenFOAM Pre-Processing 1 April 29, 2014 13:47 S.Kontogiannis Pointwise & Gridgen 8 April 17, 2014 07:28 azmirul Pointwise & Gridgen 8 July 17, 2012 13:02 cnsidero OpenFOAM Meshing & Mesh Conversion 41 May 20, 2012 18:30 Chris Sideroff Main CFD Forum 0 January 16, 2009 13:37

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