微波EDA網(wǎng)-關(guān)于我們 微波EDA網(wǎng)-出版的圖書專著 微波EDA網(wǎng)培訓(xùn)課程列表 射頻工程師養(yǎng)成培訓(xùn)學(xué)習(xí)教程
  • 1
  • 2
  • 3
  • 4

Running HFSS from a command line

HFSS includes line arguments that can be included when launching from a command line or terminal prompt. All command-line arguments are case-insensitive.

Command-line syntax

hfss <options> <run command> <project name/script name>

Run Commands

The following command line run commands are available in HFSS. Of the commands (BatchSave, BatchSolve, BatchExtract, RunScript, RunScriptandExit), one or none must be used as arguments after hfss. Links to the validscheduler environment, you can specify the number of distributed engines that should be used for distributed processing. In this case, you do not specify the machine names after the flag because the names are provided by the scheduler. For example, in the Windows HPC environment, you can write the number of distributed engines as follows.

-machinelist num=4

The COM engines will be distributed across the hosts allocated to the job by the scheduler.

-batchoptions '<option1>' '<option2>'...

All options that are specified through Tools>Options dialogs go to the user-level registry. You can override such registry entries via the -batchoptions command line. These overrides apply only to the current Desktop session. This feature is available for all desktop products. The registry setting overrides may be specified on the command line, or may be in a file with the file pathname specified on the command line. The -batchoptions command line option is only valid for batch jobs; it is ignored if neither -BatchSolve nor -BatchSave command line options are specified.

Examples and Further Explanations of -batchoptions use

BatchExtract <batchExtractScriptFile> <projectFile>

This command allows the following Maxwell commands to be executed non-graphicaly via script and without checking out any GUI licenses: ExportProfile, ExportConvergence, ExportMeshStats, ExportNetworkData, ExportNMFData, ExportEigenmodes, ExportTransientData, Update Reports, ExportToFile. A project file must be specified when the command line option BatchExtract is used. This means that commands in the <batch extract script file> will only be executed in the specified poject. The “open/close” project commands are not supported in BatchExtract mode.

Note

• -ng must be used with BatchExtract or it will fail with an error.

• Including unsupported commands in the batchExtractScriptFile will terminate the script execution.

Examples:

• -ng -BatchExtract <batchExtractScriptFile> <projectFile>

• -ng -BatchSolve ..... -BatchExtract <batchExtractScriptFile> <projectFile>

The commands in batchExtractScriptFile will be executed after BatchSolve is done and before the project is saved.

Note that BatchSolve will continue to require solve licenses.

Example Script For Report Export:

hfss -ng -batchextract exportToFile.py "C:\Program Files\AnsysEM\HFSS15.0\Win64\Examples\HFSS\opti_new.hfss"

where exportToFile.py contains:

oDesktop.RestoreWindow()

oProject = oDesktop.SetActiveProject("opti_new")

oDesign = oProject.SetActiveDesign("HFSSDesign1")

oModule = oDesign.GetModule("ReportSetup")

oModule.UpdateReports(["XY Plot 1"])

oModule.ExportToFile("XY Plot 1", "exportToFilePy.csv")

 

 

-Monitor

You can monitor progress and messages on standard output, during non-graphical analysis. Progress, warning and info messages are logged to the standard output stream. Error and fatal messages are logged to the standard error stream. Schedulers intercept these streams and provide commands for display of this output - see individual scheduler documentation for specifics.

Examples:

C:\HFSS\hfss.exe -distributed

-machinelist list="192.168.1.1,192.168.1.2"

-batchsolve design_transient:Optimetrics "C:\distrib_project.adsn"

 

C:\HFSS\hfss.exe -batchsolve HFSSDesign1:Nominal "C:\Project1.hfss"

 

"c:/Program Files/AnsysEM/HFSS14.0/hfss.exe"

-Iconic -Queue _

-LogFile "H:\HFSS\_HFSSQueue\fence-v2__Array with Fence4.log"

-BatchSolve "Array with Fence4:Nominal" "H:\HFSS\fence-v2.hfss"

-RunScript <script file name>

Run the specified script. You can use the Distributed Analysis for more information on distributed analysis.

Example:

C:\HFSS\hfss.exe -distribute -batchsolve

HFSSDesign1:Optimetrics:ParametricSetup1 "C:\Project1.hfss"

-Help

Open a window that displays the different command-line options. This is only used when Network installations on Windows for Non-graphical batch solves without product-links

Running a Script.

Windows® HPC Task Properties

Command Line Enhancements for Ansoft Desktop Products

Large Scale DSO for Parametric Analysis

Settable Desktop Settings for -batchoptions Use

For -batchoptions Use: Project Directory and Lib Paths

For -batchoptions Use: TempDirectory

For -batchoptions Use: Various Desktop Settings

For -batchoptions Use: HFSS and HFSS-IE Options with Paths

Batch Options Command Line Examples

The Tools>Options>Export Options Files command writes xml files containing the Options settings at all levels to the specified directory (default, ~\Documents\Ansoft\). The Tools>Options>Export Options feature is intended to make it easier for different users to use Ansoft tools installed on shared directories or network drives. The Example Uses for Export Options Features section outlines some use cases enabled by this feature.

主站蜘蛛池模板: 手机看片福利在线| 男人j放进女人j网站免费| 国产福利一区二区在线观看| a级毛片免费观看在线播放| 无码精品国产va在线观看dvd | 亚洲综合色网站| 精品在线免费视频| 国产乱子伦真实china| 韩国成人在线视频| 国产精品毛多多水多| a在线免费观看视频| 忘忧草www日本| 中文字幕欧美激情| 日本爽爽爽爽爽爽在线观看免| 国产恋夜精品全部护士| 777米奇色狠狠888俺也去乱| 天天操天天干天天爽| 两个人看的视频播放www | 国产男女无遮挡猛进猛出| 91精品国产自产91精品| 天天操免费视频| 一区二区精品在线观看| 欧亚专线欧洲s码wmysnh48| 亚洲综合丁香婷婷六月香| 精品亚洲国产成人| 国产成人精品a视频| 日日碰狠狠添天天爽爽爽| 强迫的护士bd在线观看| 久久99精品久久久久久| 日韩不卡手机视频在线观看| 亚洲av永久无码精品古装片| 欧美性大战xxxxx久久久| 亚洲狠狠婷婷综合久久蜜芽| 爱情岛论坛首页永久入口| 免费国产a国产片高清| 精品剧情v国产在线麻豆| 啊灬啊灬啊灬快灬深久久| 色欲色av免费观看| 国产中文99视频在线观看| 试看60边摸边吃奶边做| 国产精品欧美激情在线播放|