hm_solverconvert

Converts a model from one solver to another.

Syntax

hm_solverconvert source_solver destination_solver source_type destination_type batch

Type

HyperMesh Tcl Modify Command

Description

This command converts a model from one solver to another.

Supported solvers are:
Solver Name Solver ID Solver Type
Nastran 1
OptiStruct 1
Abaqus 2 Standard2D, Standard3D
ANSYS 8
LS-DYNA 9 Keyword971, Keyword970
PAM-CRASH 18 Pamcrash2G2008, Pamcrash2G2007, Pamcrash2G2006 Pamcrash2G2005, Pamcrash2G2004
Radioss 20 Block110, Block100, Block90, Block51, Block44
Supported conversions are:
Source Solver Name Destination Solver Name
Abaqus Nastran/OptiStruct
ANSYS Nastran/OptiStruct
LS-DYNA Nastran/OptiStruct
Radioss PAM-CRASH
PAM-CRASH Radioss
Nastran/OptiStruct Abaqus
Nastran/OptiStruct Ansys
Nastran/OptiStruct LS-DYNA
Nastran/OptiStruct Radioss
ANSYS Abaqus

Inputs

source_solver
The source solver name or ID.
destination_solver
The destination solver name or ID.
source_type
The source solver template type.
destination_type
The destination solver template type.
batch
Flag that indicates if the conversion should be run in batch mode.
0 - no batch mode
1 - batch mode

Examples

Convert Abaqus Standard3D model to OptiStruct in batch mode:
hm_solverconvert Abaqus OptiStruct Standard3D "" 1
or
hm_solverconvert 2 1 Standard3D "" 1
Convert Radioss Block90 model to PAM-CRASH Pamcrash2G2007 without batch mode:
hm_solverconvert RadiossBlock Pamcrash Block90 Pamcrash2G2007 0
or
hm_solverconvert 20 18 Block90 Pamcrash2G2007 0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0.101