*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 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, Explicit
ANSYS 8  
LS-DYNA 9 Keyword971_R12.0, Keyword971_R11.2, Keyword971_R10.1, Keyword971_R9.3,Keyword971_R8.0, Keyword971_R7.1, Keyword971_R6.1, Keyword971, Keyword970
PAM-CRASH 18 Pamcrash2G2020, Pamcrash2G2019, Pamcrash2G2018, Pamcrash2G2017, Pamcrash2G2016, Pamcrash2G2015, Pamcrash2G2014, Pamcrash2G2013, Pamcrash2G2012, Pamcrash2G2011, Pamcrash2G2010, Pamcrash2G2008, Pamcrash2G2007, Pamcrash2G2006, Pamcrash2G2005, Pamcrash2G2004
Radioss 20 Radioss2022, Radioss2021, Radioss2020, Radioss2019, Radioss2018, Radioss2017, Block140, Block130, Block120, Block110, Block100, Block90, Block51, Block44
Permas 21 Permas
Samcef 23 Samcef
ADVC 30 advc
Supported conversions are:
Source Solver Name Destination Solver Name
Abaqus Nastran
Abaqus OptiStruct
ANSYS Nastran
ANSYS OptiStruct
LS-DYNA Nastran
LS-DYNA OptiStruct
Radioss PAM-CRASH
PAM-CRASH Radioss
Nastran Abaqus
OptiStruct Abaqus
Nastran ANSYS
OptiStruct ANSYS
Nastran LsDyna
Nastran Radioss
OptiStruct Radioss
ANSYS Abaqus
OptiStruct Abaqus
Nastran OptiStruct
Abaqus Radioss
ADVC OptiStruct
LS-DYNA PAM-CRASH
LS-DYNA Radioss
Nastran PAM-CRASH
PAM-CRASH LS-DYNA
PAM-CRASH Nastran
Permas OptiStruct
Radioss OptiStruct
Samcef 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 for Solver Conversion
  • 2 - Batch mode for Unified Conversion
?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
Convert Abaqus Standard3D model to RadiossBlock Radioss2021 in Unified Conversion:
*solverconvert "Abaqus" "RadiossBlock" "Standard3D" "Radioss2021" "2" ""
or
*solverconvert 2 20 "Standard3D" "Radioss2021" "2" ""

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.