微波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.

主站蜘蛛池模板: 亚洲免费人成在线视频观看| 国产大片51精品免费观看| 四虎e234hcom| 怡红院国产免费| 无翼乌全彩里番蛇姬本子| 免费人成在线观看69式小视频| 2021日本三级理论影院| 日本国产成人精品视频| 催眠美丽人妇系列| 国产香蕉在线精彩视频| 引诱亲女乱小说| 亚洲午夜久久久影院| 狠狠躁天天躁中文字幕无码 | 天天色天天射综合网| 中文字幕日本电影| 欧美激情一区二区三区四区| 国产大秀视频一区二区三区| 怡红院成人在线| 国产黄三级三·级三级| 久久免费看黄a级毛片| 特级精品毛片免费观看| 国产又色又爽又黄的在线观看| 55夜色66夜色| 在线观看精品视频一区二区三区| 久久精品国产只有精品66| 用我的手指搅乱我吧第五集 | 另类人妖与另类欧美| 视频精品一区二区三区| 在线播放免费播放av片| 一二三四在线观看高清| 最近免费中文字幕大全高清10 | 亚洲免费观看网站| 欧美牲交a欧美牲交aⅴ久久| 国产一区三区二区中文在线| 911精品国产亚洲日本美国韩国| 无码av专区丝袜专区| 久久国产视频网站| 欧美黑人粗大xxxxbbbb| 四虎影视永久在线yin56xyz| 窝窝视频成人影院午夜在线| 国外成人免费高清激情视频|