CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

A few questions regarding scripting

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2014, 03:21
Default A few questions regarding scripting
  #1
New Member
 
Burak Kaya
Join Date: Nov 2011
Posts: 21
Rep Power: 14
ferroburak is on a distinguished road
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.
ferroburak is offline   Reply With Quote

Old   August 15, 2014, 08:59
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by ferroburak View Post
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.
1) It can run unattended in a batch mode (i.e. no interface).

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.
cnsidero is offline   Reply With Quote

Old   August 15, 2014, 09:03
Default
  #3
Senior Member
 
Travis Carrigan
Join Date: Jul 2010
Location: Arlington, TX
Posts: 161
Rep Power: 15
tcarrigan is on a distinguished road
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
__________________
Travis Carrigan
Manager, Business Development
Pointwise, Inc.
tcarrigan is offline   Reply With Quote

Old   August 15, 2014, 10:24
Default
  #4
New Member
 
Burak Kaya
Join Date: Nov 2011
Posts: 21
Rep Power: 14
ferroburak is on a distinguished road
Many thanks for the explanation.
ferroburak 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Macro scripting in netbeans, importing star libraries laurensvd STAR-CCM+ 3 October 31, 2020 22:06
record actions via scripting Marabelle ANSYS 0 July 31, 2013 11:57
possible interview questions atturh Main CFD Forum 1 February 21, 2012 08:53
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 14:39


All times are GMT -4. The time now is 19:29.