官方淘宝店 易迪拓培训 旧站入口
首页 > 仿真设计 > 射频仿真设计学习 > CST如何后台运行?

CST如何后台运行?

05-08
我最近碰到一个问题,想让CST在后台运行而不弹出窗口,请教一下,该怎么设置呢?或者VBA中有没有语句可以解决这样的问题?

还真没做过这方面的尝试,一直没遇到有人问过,小编的问题很好啊,希望cst公司的人能给与解答

CST公司的人要救我们这些老百姓与水火之中啊!

我师兄会,我实在不会,应该要用到C++在后台,然后要写C++与CST之间的接口代码,这玩意做完至少可以写半篇毕业论文........

你在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&reg;

-s
Starts CST EM STUDIO&reg;

-t
Starts CST PARTICLE STUDIO&reg;

-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&reg; project file; -m, -s, -t or -c must be specified

.mod
Loads the CST MICROWAVE STUDIO&reg; project file; -m, -s or -t must be specified

.ems
Loads the CST EM STUDIO&reg; project file; -m, -s or -t must be specified

.psf
Loads the CST PARTICLE STUDIO&reg; 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 "Model\3D\" folder of the corresponding project; only valid for -m, -s or -t

-par <mwsproject.par>
Imports parameters from a CST MICROWAVE STUDIO&reg; 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.

谢谢楼上的兄弟!
很感激!

回复 10# zhengwinner

但是这个我试过了,还是没法后台运行啊,只是命令行启动而已,你有办法做到后台运行么?

这个问题我发邮件问过张敏博士了,她说这个问题是保密滴!

命令行 :
<cst安装目录 >\cst_design_environment -m -r <.cst文件所在的路径>
不过这个是linux下的。这个可以在后台运行的。只要在脚本前面加一个:
unset DISPLAY
我知道的就这么多了
居然见到andy

Top