CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Pointwise & Gridgen

Pointwise Glyph Commands - Exit?

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

Like Tree1Likes
  • 1 Post By jchawner

Reply
 
LinkBack Thread Tools Display Modes
Old   June 25, 2010, 16:47
Default Pointwise Glyph Commands - Exit?
  #1
New Member
 
Join Date: Jun 2010
Posts: 1
Rep Power: 0
john1223 is on a distinguished road
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.
john1223 is offline   Reply With Quote

Old   June 26, 2010, 16:42
Default
  #2
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 203
Rep Power: 8
jchawner is on a distinguished road
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
jchawner is offline   Reply With Quote

Old   April 7, 2014, 06:23
Default
  #3
New Member
 
Florin's Avatar
 
Florin Gheorghe
Join Date: May 2013
Location: Romania
Posts: 13
Rep Power: 3
Florin is on a distinguished road
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
Florin is offline   Reply With Quote

Old   April 7, 2014, 08:52
Default
  #4
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 203
Rep Power: 8
jchawner is on a distinguished road
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
jchawner is offline   Reply With Quote

Old   April 7, 2014, 14:36
Default
  #5
Member
 
Payam
Join Date: Aug 2011
Posts: 53
Rep Power: 4
pdp.aero is on a distinguished road
Quote:
Originally Posted by john1223 View Post
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.
Typically, if you need to exit the program after your script is done you may use this command at the end of your script.

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

Old   April 13, 2014, 18:27
Default
  #6
Senior Member
 
John Chawner
Join Date: Mar 2009
Location: Fort Worth, Texas, USA
Posts: 203
Rep Power: 8
jchawner is on a distinguished road
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.)
pdp.aero likes this.
__________________
John Chawner / jrc@pointwise.com / www.pointwise.com
Blog: http://blog.pointwise.com/
on Twitter: @jchawner
jchawner is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
back pressure at exit for supersonic flow BigFrank FLUENT 6 April 24, 2014 15:13
Native OpenFOAM interface in Pointwise cnsidero OpenFOAM Meshing & Mesh Conversion 41 May 20, 2012 18:30
Native OpenFOAM interface in Pointwise Chris Sideroff Main CFD Forum 0 January 16, 2009 12:37
OpenFOAM14 for Mac OSX Darwin 104 gschaider OpenFOAM Installation 118 July 20, 2008 05:19
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 18:01.