CST如何后臺(tái)運(yùn)行?
我最近碰到一個(gè)問(wèn)題,想讓CST在后臺(tái)運(yùn)行而不彈出窗口,請(qǐng)教一下,該怎么設(shè)置呢?或者VBA中有沒(méi)有語(yǔ)句可以解決這樣的問(wèn)題?
你在windows操作系統(tǒng)下用的CST嗎
我也要實(shí)現(xiàn)CST后臺(tái)運(yùn)行啊,請(qǐng)問(wèn)樓主解決了嗎?急喲!
只知道Linux下的。。Windows下的不知道。。
至今不知道該怎么弄的
在Help里搜索command line options,有如下內(nèi)容,希望有點(diǎn)幫助。。但具體如何操作,應(yīng)該是要寫一個(gè)腳本來(lái)弄,我最近沒(méi)空試,但根據(jù)Linux的情況來(lái)看,肯定是可以的。
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.
謝謝樓上的兄弟!
很感激!