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.
谢谢楼上的兄弟!
很感激!