콘텐츠로 이동

hfVisualizer 원격 제어 결과 보기

해석 결과가 준비된 뒤 step, frame, contour, vector, scale, overlay 표시를 제어할 때 이 명령들을 사용합니다.

get 조회는 JSON을 반환하고 scriptTail을 추가하지 않습니다. 설정형 명령은 canonical post-* ... tail을 Remote Control History와 *.ipc.txt에 기록합니다.

대부분의 definition 명령은 preprocessing 전용이지만, postprocessing mode에서도 현재 HDB를 직접 바꾸는 GUI 예외 경로인 environment-info set, nset, elset, step Post ..., step-delete-from ..., history PostHistory ...는 수정할 수 있습니다.

post-plot

hfVisualizer --remote [--target <id>] post-plot <contour|diagram|vector|sensor|deformed> <on|off>
  • active view의 postprocessing plot toggle을 제어합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • deformed on은 현재 result step에 변위 출력 D가 없으면 실패합니다.

post-step

hfVisualizer --remote [--target <id>] post-step <step-name>
hfVisualizer --remote [--target <id>] post-step get
  • post-step <step-name>은 이름으로 result step을 선택하고, 해당 step의 frame 1로 이동합니다.
  • post-step get은 현재 step과 frame 상태를 JSON으로 반환합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • <step-name>은 기존 result-step 이름과 정확히 일치해야 합니다.
  • 단일 토큰 get은 이 명령의 조회 키워드로 예약됩니다.

post-frame

hfVisualizer --remote [--target <id>] post-frame <frame-index>
hfVisualizer --remote [--target <id>] post-frame get
  • post-frame <frame-index>는 현재 result step의 frame을 선택합니다.
  • post-frame get은 현재 step과 frame 상태를 JSON으로 반환합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • <frame-index>1 기반이며 현재 step의 frame 범위 안에 있어야 합니다.

post-scalar

hfVisualizer --remote [--target <id>] post-scalar <field> [<average-threshold>]
hfVisualizer --remote [--target <id>] post-scalar get
  • active result step의 scalar field를 선택합니다.
  • get은 현재 scalar field 상태를 JSON으로 반환합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • <field>는 현재 step과 frame에서 유효한 scalar field 이름이어야 합니다.
  • [<average-threshold>]는 선택 사항이며 0..100 정수여야 합니다.

post-vector

hfVisualizer --remote [--target <id>] post-vector <field>
hfVisualizer --remote [--target <id>] post-vector get
  • active result step의 vector 또는 tensor field를 선택합니다.
  • get은 현재 vector field 상태를 JSON으로 반환합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • <field>는 현재 step과 frame에서 유효한 vector 또는 tensor field 이름이어야 합니다.

post-contour

hfVisualizer --remote [--target <id>] post-contour auto-range <on|off>
hfVisualizer --remote [--target <id>] post-contour auto-range get
hfVisualizer --remote [--target <id>] post-contour range <min> <max>
hfVisualizer --remote [--target <id>] post-contour range get
hfVisualizer --remote [--target <id>] post-contour bands <n>
hfVisualizer --remote [--target <id>] post-contour bands get
hfVisualizer --remote [--target <id>] post-contour mode <uniform|custom>
hfVisualizer --remote [--target <id>] post-contour mode get
hfVisualizer --remote [--target <id>] post-contour levels <v1,v2,...>
hfVisualizer --remote [--target <id>] post-contour levels get
hfVisualizer --remote [--target <id>] post-contour overlay <text>
hfVisualizer --remote [--target <id>] post-contour overlay get
hfVisualizer --remote [--target <id>] post-contour overlay-color <r,g,b[,a]>
hfVisualizer --remote [--target <id>] post-contour overlay-color get
  • active postprocessing view의 contour 설정을 제어합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • auto-range, range, bands의 설정형 명령은 custom contour mode에서 거부됩니다.
  • mode custom은 필요하면 현재 uniform range와 band 상태로 custom boundary level을 초기화합니다.
  • levels 설정은 엄격히 증가하는 2..31개의 경계값을 요구합니다.
  • overlay-color0..255 정수 채널 값을 사용합니다.
  • get은 전체 contour 상태와 함께 enabled, min, max, text, color 같은 action별 별칭도 반환합니다.

post-scale

hfVisualizer --remote [--target <id>] post-scale deformed auto <on|off>
hfVisualizer --remote [--target <id>] post-scale deformed auto get
hfVisualizer --remote [--target <id>] post-scale deformed value <scale>
hfVisualizer --remote [--target <id>] post-scale deformed value get
hfVisualizer --remote [--target <id>] post-scale diagram auto <on|off>
hfVisualizer --remote [--target <id>] post-scale diagram auto get
hfVisualizer --remote [--target <id>] post-scale diagram value <scale>
hfVisualizer --remote [--target <id>] post-scale diagram value get
hfVisualizer --remote [--target <id>] post-scale vector auto <on|off>
hfVisualizer --remote [--target <id>] post-scale vector auto get
hfVisualizer --remote [--target <id>] post-scale vector value <scale>
hfVisualizer --remote [--target <id>] post-scale vector value get
hfVisualizer --remote [--target <id>] post-scale sensor auto <on|off>
hfVisualizer --remote [--target <id>] post-scale sensor auto get
hfVisualizer --remote [--target <id>] post-scale sensor <e|d|v|a> <scale>
hfVisualizer --remote [--target <id>] post-scale sensor <e|d|v|a> get
  • active postprocessing view의 deformed, diagram, vector, sensor scale factor를 제어합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • 명시적 value 또는 e|d|v|a 입력은 대응되는 auto-scale을 먼저 끕니다.
  • get은 전체 scale 상태와 함께 enabled, value 같은 조회별 별칭도 반환합니다.

post-display

hfVisualizer --remote [--target <id>] post-display <information|scalarbar|min-max-tag> <on|off>
  • active view의 postprocessing overlay와 display 항목을 토글합니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • information: 좌상단 정보 텍스트
  • scalarbar: scalar bar widget
  • min-max-tag: min과 max caption tag

post-animation-time-history

hfVisualizer --remote [--target <id>] post-animation-time-history <on|off>
  • Postprocessing > Play > Time History Ani와 같습니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • scale-factor animation이 이미 켜져 있으면 실패합니다.

post-animation-scale-factor

hfVisualizer --remote [--target <id>] post-animation-scale-factor <on|off>
  • Postprocessing > Play > Scale Factor Ani와 같습니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • time-history animation이 이미 켜져 있으면 실패합니다.

post-animation-loop

hfVisualizer --remote [--target <id>] post-animation-loop <on|off>
  • Postprocessing > Play > Loop와 같습니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • 현재 animation의 자동 반복 여부를 제어합니다.

post-animation-record

hfVisualizer --remote [--target <id>] post-animation-record <on|off> [<file>]
  • Postprocessing > Play > Record와 같습니다.
  • postprocessing 모드에서만 사용할 수 있습니다.
  • on.avi 또는 .mp4 확장자를 가진 쓰기 가능한 출력 파일 경로가 필요합니다.
  • off는 현재 animation record 대상을 지웁니다.
  • animation이 실행 중이 아닐 때만 변경할 수 있습니다.

예시:

hfVisualizer --remote post-step "LC1-DeadLoad"
hfVisualizer --remote post-frame 7
hfVisualizer --remote post-scalar "S.Mises" 85
hfVisualizer --remote post-contour mode get
hfVisualizer --remote post-animation-record on "D:/work/result.avi"