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

主站蜘蛛池模板: 小少呦萝粉国产| 欧美一级高清片在线| 国产一区二区三区视频在线观看 | 国产a级特黄的片子视频免费| caoporn97在线视频进入| 好男人好资源影视在线| 久久99精品久久久久久综合| 未满十八18禁止免费无码网站| 亚洲砖码砖专无区2023| 福利片免费一区二区三区| 国产99在线观看| 黄+色+性+人免费| 国产精品亚洲专区无码WEB| 99RE6这里有精品热视频| 女人张开腿让男人桶个爽| 中国大陆高清aⅴ毛片| 日本不卡免费新一区二区三区| 五月天中文在线| 欧美乱人伦中文字幕在线不卡| 国产精品麻豆免费版| 一二三四社区在线视频社区| 欧美videos在线观看| 国产2021中文天码字幕| 风间由美100部合集| 国产欧美精品区一区二区三区 | 成人爱做日本视频免费| 亚洲日韩区在线电影| 理论亚洲区美一区二区三区| 北岛玲亚洲一区在线观看| 老师好紧开裆蕾丝内裤h男男| 国产伦精品一区二区三区精品| 成人福利小视频| 国产白浆视频在线播放| 14萝自慰专用网站| 巨大欧美黑人xxxxbbbb| 中文字幕无码无码专区| 日本www视频| 久久久精品免费| 日本最新免费二区三区| 久久永久免费人妻精品| 日韩爱爱小视频|