|
[Sponsors] |
June 25, 2010, 17:47 |
Pointwise Glyph Commands - Exit?
|
#1 |
New Member
Join Date: Jun 2010
Posts: 1
Rep Power: 0 |
Hi everyone, I'm new to this forum so I just wanted to say hi. I am running a glyph script through pointwise, and I was wondering if there is a journaling command which closes out the pointwise window? Thanks a lot, I really appreciate anyone's help.
|
|
June 26, 2010, 17:42 |
|
#2 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
Hi John.
Interesting Glyph scripting question. If you launch the script using the Execute Script command in Pointwise, terminating or exiting Pointwise itself will kill the Tcl event loop and bye-bye script. On the other hand, I think if you initiate the script from a wish shell, you can start Pointwise, have it run a script, exit Pointwise, do other stuff, etc. HOWEVER, I have never done this myself. You could give it a shot and if you get stuck contact our Tech Support Team at support@pointwise.com. Best Regards
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner |
|
April 7, 2014, 07:23 |
|
#3 |
New Member
Florin Gheorghe
Join Date: May 2013
Location: England
Posts: 24
Rep Power: 13 |
Hi everyone! I saw that one can use Glyph to create the grid for a given application; I have some experience in Python and Matlab codes, but I don't get this language easily.
Can someone explain what is the benefit of using scripts for creating the grids? Is it worth the time to learn this language? Thanks a lot.
__________________
Best regards, Florin |
|
April 7, 2014, 09:52 |
|
#4 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
Hello Florin:
You can write a template for the type of grids you generate every day that would virtually automate the process. If there is a sequence of commands you use repeatedly, you can write a macro and execute it with one button. With scripting you can add functionality to the software by extending a command or customizing a command. If you know how to program in Python or any other language learning Tcl is just a matter of syntax.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner |
|
April 7, 2014, 15:36 |
|
#5 | |
Senior Member
|
Quote:
pw::Application exit However, if you are looking for running your script in the background, my suggestion is execute your script in the terminal in linux OS with specific flag for running a program in background. Although, I didn't try this yet, I guess it will work properly. For example "&" runs program in background in the Ubuntu. |
||
April 13, 2014, 19:27 |
|
#6 |
Senior Member
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 275
Rep Power: 18 |
You can also do "pointwise -b scriptname.glf" and Pointwise will run the script in batch without executing the GUI. (I'm pretty certain that's the syntax - I'm going by memory.)
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
back pressure at exit for supersonic flow | BigFrank | FLUENT | 6 | April 24, 2014 16:13 |
[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 |
OpenFOAM14 for Mac OSX Darwin 104 | gschaider | OpenFOAM Installation | 118 | July 20, 2008 06:19 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |