微波EDA網-關于我們 微波EDA網-出版的圖書專著 微波EDA網培訓課程列表 射頻工程師養成培訓學習教程
  • 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.

主站蜘蛛池模板: 无码人妻丰满熟妇区bbbbxxxx| 波多野结衣一区二区三区四区| 国产成人综合在线视频| 99视频精品全部在线观看| 日日碰狠狠添天天爽无码| 亚洲一区日韩二区欧美三区| 牛牛影院毛片大全免费看| 国产亚洲欧美精品久久久| 永久免费在线观看视频| 在线观看片免费人成视频播放 | 无遮挡边吃摸边吃奶边做| 亚洲精品欧美精品日韩精品| 美日韩在线视频| 国产嘿嘿嘿视频在线观看| 亚洲av成本人无码网站| 波多野结衣痴汉电车| 午夜天堂精品久久久久| 调教女m视频免费区| 国产片AV片永久免费观看| 91在线播放国产| 天堂在线www| 一二三区在线视频| 我的娇妻acome| 久久免费精彩视频| 最近2019免费中文字幕视频三| 亚洲日产2021三区在线| 狠狠色狠狠色综合日日不卡| 北条麻妃一区二区三区av高清| 色婷婷精品免费视频| 国产大学生真实视频在线| 久草视频免费在线观看| 国产精品亲子乱子伦xxxx裸| 91蝌蚪在线播放| 在线观看国产小屁孩cao大人| smesmuu的中文意思| 小东西怎么流这么多水怎么办| 中国日韩欧美中文日韩欧美色| 投资6000能开一个sf吗| 久久99中文字幕| 无码日韩精品一区二区免费| 久久久综合中文字幕久久|