|
[Sponsors] |
August 9, 2006, 08:23 |
global panel and macro / environment setup
|
#1 |
Guest
Posts: n/a
|
Can anyone show me how to setup route to global panel and macro permenantly? I have to setup environment each time as I switch on my computer( window version 3.26 ). Will be very appreciated.
|
|
August 9, 2006, 11:17 |
Re: global panel and macro / environment setup
|
#2 |
Guest
Posts: n/a
|
In you shell's resource configuration file (.bashrc, .cshrc, etc.), set the environment variables MACRO_GLOBAL & PANEL_GLOBAL. For example, I use a C shell. SO in my .cshrc file I have the lines: setenv MACRO_GLOBAL ${NETDIR}/prostarTools/macros and setenv PANEL_GLOBAL ${NETDIR}/prostarTools/panels where ${NETDIR} is an environment variable set to a particular location on a network drive.
|
|
August 9, 2006, 19:33 |
Re: global panel and macro / environment setup
|
#3 |
Guest
Posts: n/a
|
Thank you Pauli. But my prostar is window version.
|
|
August 9, 2006, 20:25 |
Re: global panel and macro / environment setup
|
#4 |
Guest
Posts: n/a
|
I believe windows uses the same (or at least similar) environment variables. However, I couldn't tell you where to change such a thing in that POS OS.
|
|
August 9, 2006, 20:42 |
Re: global panel and macro / environment setup
|
#5 |
Guest
Posts: n/a
|
In the same machine of mine, for v3.15a, it automatically there; for v3.22, have to copy/paste path to 'environment setup' each switch-up; for v3.26, copy/paste is causing collapse, have to type in. A getting worse history! seting should be somewhere in STAR not xp system. Thank you anyway.
|
|
August 11, 2006, 07:20 |
Re: global panel and macro / environment setup
|
#6 |
Guest
Posts: n/a
|
hi guang ai
if you follow this page http://www.wilsonmar.com/1envvars.htm and set up variables MACRO_GLOBAL PANEL_GLOBAL to point to the locations where you have your panels and macros saved, then it should work. Another useful variable according to Star manuals could be STARUSR being the right place to locate prostar init files, such as PRODEFS and PROINIT. Hope it'll help. |
|
August 12, 2006, 09:36 |
Re: global panel and macro / environment setup
|
#7 |
Guest
Posts: n/a
|
Thank you very much, Vladimir. I will try it.
|
|
August 12, 2006, 21:56 |
Re: global panel and macro / environment setup
|
#8 |
Guest
Posts: n/a
|
I have tried editing proinit.bart file by putting in 'seten,panel,global$c:\progra~1\...'. But it seems the proinit.bart file has not been used by prostar.
|
|
August 14, 2006, 02:58 |
Re: global panel and macro / environment setup
|
#9 |
Guest
Posts: n/a
|
Thank you very very much Vladimir. It works well as to your first advice. STARUSR does not work yet. But it is good enough!
|
|
August 14, 2006, 08:49 |
Re: global panel and macro / environment setup
|
#10 |
Guest
Posts: n/a
|
There is an issue in the v3.26 windows version in that the STARUSR environment variable set in windows is overridden by the config.xml file, located in C:\Program Files\CD-adapco\STAR-CD\bin. To fix it, edit the config.xml file and change the STARUSR path.
|
|
August 15, 2006, 02:13 |
Re: global panel and macro / environment setup
|
#11 |
Guest
Posts: n/a
|
Thank you very much. I set STARUSR path to local directory and successfully let PROINIT go. All my problem have been solved.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Global variables | harly | OpenFOAM Running, Solving & CFD | 0 | December 5, 2008 21:41 |
load sheme macro (Solv Execute Command macro) | manu | FLUENT | 2 | March 13, 2008 02:00 |
Macro Trouble -Winows Explorer Crashes with Macro | Martin Castillo | FLUENT | 1 | July 25, 2007 05:18 |
Install Openfoam in Suse 100 setup environment | h34gk1 | OpenFOAM Installation | 1 | September 26, 2006 21:08 |
Call a macro from a macro | Flav | Siemens | 2 | July 1, 2004 06:42 |