Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
流体全般

流体全般

バッチファイルによる複数の実行ファイルを連続的に実行する方法(Windows)

    • FAQFAQ
      Participant

      バッチジョッブによる予め用意した複数のdefinition file を順次に実施する方法をご紹介します。 (1) 複数の実行ファイル(definition file)を作業フォルダーに置きます。 (2) 以下の内容でバッチファイル(例えば、job.bat)を作成します。 /bin/cfx5solve -def aa1.def /bin/cfx5solve -def aa2.def -ini aa1_001.res  (←aa1のresファイルをaa2の初期条件として利用する場合) ….. (3) ANSYS CFXのLauncherから、Tool→Command Lineをクリックし、MS-DOSウインドを開きます。 (4) (2)で作成したバッチジョブを実行します。 job