hm_setsolver

Sets theHyperMesh solver interface name in order to access entity information available for that solver.

Syntax

hm_setsolver name

Type

HyperMesh Tcl Query Command

Description

Sets theHyperMesh solver interface name in order to access entity information available for that solver.

Inputs

name
Solver name keyword:
  • abaqus
  • ansys
  • autodv
  • hyperopt
  • lsdyna
  • mainfile
  • moldflow
  • nastran
  • optistruct
  • pamcrash
  • pamcrash2g
  • patran
  • pdm
  • phlex
  • simex

Examples

Suppose LS-DYNA solver template is actually loaded here:

set loadedsolver [ hm_getsolver ];

Getting attributes for OptiStruct:

hm_setsolver optistruct;
set opt_thickness [ hm_getvalue comps id=3 dataname=PSHELL_T]; 

Resetting back to the original solver name:

hm_setsolver $loadedsolver; 
Note: This command does not actually load the solver template. It is intended only to temporarily switch solver type, get attribute information, and reset the solver name back to the original name.This operation is typically required during conversion between solvers.

Errors

None.