CST如何后臺運行?
我最近碰到一個問題,想讓CST在后臺運行而不彈出窗口,請教一下,該怎么設置呢?或者VBA中有沒有語句可以解決這樣的問題?
你在windows操作系統下用的CST嗎
我也要實現CST后臺運行啊,請問樓主解決了嗎?急喲!
只知道Linux下的。。Windows下的不知道。。
至今不知道該怎么弄的
在Help里搜索command line options,有如下內容,希望有點幫助。。但具體如何操作,應該是要寫一個腳本來弄,我最近沒空試,但根據Linux的情況來看,肯定是可以的。
It is possible to run CST DESIGN ENVIRONMENT™ in batch mode.
On Windows:
"<Installation Path>CST DESIGN ENVIRONMENT.exe" <options> "<full path of cst file>"
On Linux:
"<Installation Path>/cst_design_environment" <options> "<full path of cst file>"
Please note that the quotation marks are mandatory!
To start a specific module, open a help project or perform some basic settings, the following command line options are available:
Options
Description
-m
Starts CST MICROWAVE STUDIO®
-s
Starts CST EM STUDIO®
-t
Starts CST PARTICLE STUDIO®
-c
Starts CST DESIGN STUDIO™
-?
Shows the online help (for the started module, if one has been started)
-d
Uses filename relative to the installation directory
-i
Starts the application in the iconified state
In general, the following extensions are valid for filename:
Extension
Description
.bas
Executes the BASIC file; -m, -s, -t or -c must be specified
.cst
Loads the CST STUDIO SUITE® project file; -m, -s, -t or -c must be specified
.mod
Loads the CST MICROWAVE STUDIO® project file; -m, -s or -t must be specified
.ems
Loads the CST EM STUDIO® project file; -m, -s or -t must be specified
.psf
Loads the CST PARTICLE STUDIO® project file; -m, -s or -t must be specified
.des
Loads the CST DESIGN STUDIO™ project file; -c must be specified
The following options start a calculation after loading a project (and are only valid with a given project file):
Options
Description
-b
Executes the script file "Model.run" that has to be located in the "Model3D" folder of the corresponding project; only valid for -m, -s or -t
-par <mwsproject.par>
Imports parameters from a CST MICROWAVE STUDIO® project, only valid for -c
-p
Starts a parameter sweep
-o
Starts the optimizer
-n
Starts a network parameter extraction; only valid for -m or -c
-f
Starts the frequency domain solver; only valid for -m
-r
Starts the time domain solver; only valid for -m
-e
Starts the eigenmode solver; only valid for -m
-se
Starts the electric field solver; only valid for -s
-sh
Starts the magnetic field solver; only valid for -s
-sj
Starts the stationary current field solver; only valid for -s
-lf
Starts the LF frequency domain solver (magnetoquasistatic or fullwave); only valid for -s
-lfeqs
Starts the LF frequency domain solver (electroquasistatic); only valid for -s
-ltmqs
Starts the LF time domain solver (magnetoquasistatic); only valid for -s
-ht
Starts the thermal solver; only valid for -s
-tp
Starts the particle tracking solver; only valid for -t
-te
Starts the electric field solver; only valid for -t
-th
Starts the magnetic field solver; only valid for -t
-tw
Starts the wakefield solver; only valid for -t
-pic
Starts the particle in cell solver; only valid for -t
-u
Updates the results in CST DESIGN STUDIO™, only valid for -c
-withmpi="mach_file;qs_tag"
Defines the location of the Machine file path (mach_file), in order to use MPI simulation jointly with a given queuing system launcher; only valid for -m and time domain solver (-r option).
Machine file path and queuing system tag (qs_tag) should be enclosed in "" pair. Currently available queuing system tags (qs_tag) are {CST, MPI}.
See introduction for Queuing System and MPI for the detailed command description and also an overview of Queuing system.
If any other setting is necessary, it can be accomplished by executing an appropriate Visual Basic file. Each module can be controlled through Visual Basic commands.
謝謝樓上的兄弟!
很感激!