|
[Sponsors] |
August 15, 2014, 04:21 |
A few questions regarding scripting
|
#1 |
New Member
Burak Kaya
Join Date: Nov 2011
Posts: 21
Rep Power: 15 |
Hi,
Does the Pointwise support scripting for batch processing(ie, I want to create a journal file to generate the mesh for me.) If yes, what is the language of scripting? Is it C or Fortran based? If yes, can I use multiple cpu threads in the 'journal' mode? Thanks in advance. |
|
August 15, 2014, 09:59 |
|
#2 | |
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
Quote:
2) The scripting language is based on Tcl/Tk. It's called Glyph. There's a wide range of tutorials and examples for it. 3) Pointwise itself has limited multi-threading capability. When computing the examine metrics and in the elliptic smoother. |
||
August 15, 2014, 10:03 |
|
#3 |
Senior Member
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 16 |
Hello Burak,
Absolutely. Pointwise supports scripting. You can write scripts from scratch, or you can journal your commands to a file as you're working in the GUI. The language is called Glyph and its an extension of the scripting language Tcl. Along with Tcl, you also get Tk, a collection of functions for creating customer user interfaces. Pointwise runs in two threads, the GUI and the core. The GUI and core communicate through the Glyph scripting layer. What this means for the user is that every command in Pointwise is scriptable. Therefore, not every command you journal will be multithreaded. There are only a number of functions that take advantage of parallel architectures in Pointwise. The examine tools and elliptic solver to name a few. For additional information regarding scripting, I encourage you to familiarize yourself with Tcl/Tk, take a look at our man pages for Glyph, and also visit our script exchange where you can find dozens of example scripts. Regards, Travis |
|
August 15, 2014, 11:24 |
|
#4 |
New Member
Burak Kaya
Join Date: Nov 2011
Posts: 21
Rep Power: 15 |
Many thanks for the explanation.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
Macro scripting in netbeans, importing star libraries | laurensvd | STAR-CCM+ | 3 | October 31, 2020 23:06 |
record actions via scripting | Marabelle | ANSYS | 0 | July 31, 2013 12:57 |
possible interview questions | atturh | Main CFD Forum | 1 | February 21, 2012 09:53 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 15:39 |