1. Abaqus/CAE을 이용하여 스크립트 파일을 실행하는 방법

우선 본 글의 마지막에 있는 예제 파일을 다운로드해 주십시오.

아래의 명령어를 Window Dos Command에서 실행하게 되면 Abaqus/CAE를 실행하고 해당 스크립트 파일에 정의한 해석 모델을 Abaqus/CAE 화면에서 보여줍니다. 스크립트 파일의 정의에 따라 Job의 submit을 바로 실행할 수도 있습니다.

abaqus cae script=beamExample.py

abaqus viewer script=beamExample.py

startup screen에서 실행하는 방법

File -> Run Script 메뉴에서 실행하는 방법

Command line interface( CLI)에서 실행하는 방법

Command line의 아이콘을 선택하고 command line interface 안에서 아래 Python 코드의 실행 명령어를 입력합니다.

execfile('beamExample.py')

2. Abaqus/CAE 없이 스크립트 파일을 실행하는 방법

아래의 명령어를 Window Dos Command에서 실행하게 되면 Abaqus/CAE를 실행하지 않고 background로 실행하고 결과를 출력합니다.

abaqus cae nogui=beamExample.py

abaqus viewer nogui=beamExample.py

abaqus script 예제 파일

beamExample.py
0.00MB

+ Recent posts