*solverconvert

Converts a model from one solver to another.

Syntax

*solverconvert source_solver destination_solver source_type destination_type batch ?config_file_path?

Type

HyperMesh Tcl Modify

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  
LsDyna 9 Keyword971_R8.0, Keyword971_R7.1, Keyword971_R6.1, Keyword971, Keyword970
PAM-CRASH 18 Pamcrash2G2015, Pamcrash2G2014, Pamcrash2G2013, Pamcrash2G2012, Pamcrash2G2011, Pamcrash2G2010, Pamcrash2G2008, Pamcrash2G2007, Pamcrash2G2006 Pamcrash2G2005, Pamcrash2G2004
Radioss 20 Radioss2017, Block140, Block130, Block120, Block110, Block100, Block90, Block51, Block44
Supported conversions are:
Source Solver Name Destination Solver Name
Abaqus Nastran/OptiStruct
ANSYS Nastran/OptiStruct
LsDyna Nastran/OptiStruct
Radioss PAM-CRASH
PAM-CRASH Radioss
Nastran/OptiStruct Abaqus
Nastran/OptiStruct ANSYS
Nastran LsDyna
Nastran/OptiStruct Radioss
ANSYS/OptiStruct Abaqus
Nastran OptiStruct

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
?config_file_path?
The full path for the configuration file containing the entity mapping details, to be used for the conversion. This is useful when the user has restrictions on modifying the file in the installation. When the configuration file path is not specified or the path is not valid, the conversion will use the default configuration file from the installation.
It is recommended to use forward slashes while specifying the configuration file.
It is supported for the following conversions:
  • OptiStruct/Nastran to Abaqus
  • Abaqus to OptiStruct/Nastran

Examples

Convert Abaqus Standard3D model to OptiStruct in batch mode:

*solverconvert Abaqus OptiStruct Standard3D "" 1

or

*solverconvert 2 1 Standard3D "" 1

Convert Radioss Block90 model to PAM-CRASH Pamcrash2G2007 without batch mode:

*solverconvert RadiossBlock Pamcrash Block90 Pamcrash2G2007 0

or

*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

2017.1 - Added a new optional argument config_file_path. Updated list of supported solver versions.