Migration from pre-2026 R1 releases
Cannot use integer data to initialize OutputScalarData object (Python only)
Beginning in 2026 R1 System Coupling release, it is no longer possible to put integer data into anOutputScalarData object when using Python interfaces. For example,
Migration from pre-2025 R2 releases
ABI=1 migration
The participant library was updated to use ABI=1 in version 2025 R2 when compiling using the C++ APIs on linux using the G++ compiler. The previously required compiler flag,-D_GLIBCXX_USE_CXX11_ABI=0, is no longer
needed. Either update the build command to use -D_GLIBCXX_USE_CXX11_ABI=1 (the default value) or remove
the flag entirely. If the executable can not be compiled with ABI=1, then we
recommend using the C APIs.
Migrating from pre-2023 R1 releases
Removed deprecated callback functions (C++ only)
Deprecated callback functions that takesysc::Region and sysc::Variable objects
as arguments have been removed. They have been replaced with functions
that take in sysc::RegionName and sysc::VariableName (strings) respectively.
For example, suppose there is a callback function that return input scalar data:
Migrating from pre-2022 R2 releases
Disconnect function
This change only applies to C++ and Python APIs. C and Fortran APIs are unaffected.C++
sysc::SystemCoupling::disconnect function has been added. Under normal conditions,
this function must now be called during the coupled analysis shutdown. Do not rely on
the sysc::SystemCoupling object destructor to disconnect cleanly.
Python
sysc.SystemCoupling.disconnect function has been added. Under normal conditions,
this function must now be called during the coupled analysis shutdown. Do not rely on
the sysc.SystemCoupling object destructor to disconnect cleanly.
Data transfer variables
C++
sysc::DataTransfer constructor - uses sourceVariable and targetVariable rather than sideOneVariable and sideTwoVariable
C
syscDataTransferST interface introduced. Same as syscDataTransfer, but uses
sourceVariable and targetVariable rather than sideOneVariable and
sideTwoVariable
Fortran
syscDataTransfer interface - uses sourceVariable and targetVariable rather than sideOneVariable and sideTwoVariable
Python
sysc.DataTransfer constructor - uses sourceVariable and targetVariable rather than sideOneVariable and sideTwoVariable
Migrating from pre-2022 R1 releases
Removal of legacy functions
The following deprecated functions and structures have been deleted:C++
sysc::SystemCoupling::isAnalysisComplete function - see sysc::SystemCoupling::doIteration instead.
C
syscIsAnalysisComplete function - see syscDoIteration instead.
SyscSurfaceMeshAccess struct - see SyscSurfMeshAccess instead.
syscRegisterSurfaceMeshAccess function - see syscRegisterSurfMeshAccess instead.
syscGetFaceBasedVolumeMesh function- see syscGetVolumeMeshFaceBased instead.
Fortran
syscIsAnalysisCompleteF interface - see syscDoIterationF instead.
surfaceMeshAccessIntf interface - see SyscSurfaceMeshAccessF instead.
syscRegisterSurfaceMeshAccessF interface - see syscRegisterSurfMeshAccessF instead.
Migrating from pre-2021 R2 releases
Surface mesh struct (C and Fortran)
The members ofSyscSurfaceMesh struct have changed.
SyscOutputScalarData nodeIds and SyscOutputVectorData nodeCoords were replaced with SyscNodeData nodes.
SyscOutputScalarData elemNodeCounts was replaced with SyscElementNodeCountData elemNodeCounts.
SyscOutputScalarData elemNodeIds was replaced with SyscElementNodeConnectivityData elemNodeConnectivity.
Restarts Supported flag
Flag indicating whether the participant supports restarts has been moved fromSetupFileInfo structure to SetupInfo.
Mesh validity checks (C and Fortran only)
syscCheckMeshValidity and syscCheckRegionMeshValidity functions are removed. Use syscCheckSurfaceMeshValidity instead.
In Fortran, these functions are syscCheckMeshValidityF, syscCheckRegionMeshValidityF, and syscCheckSurfaceMeshValidityF, respectively.
Migrating from pre-2021 R1 releases
Adding regions and variables (C and Fortran only)
In C and Fortran APIs, when adding regions and variables, the order in which the following functions should be called has changed:syscAddInputVariable,syscAddOutputVariable, andsyscAddRegion.
C
Fortran
Data access structures (Fortran only)
In Fortran APIs, inSyscInputScalarDataF, SyscInputVectorDataF,
SyscOutputScalarDataF, and SyscOutputVectorDataF structures, the
dataPtr members types have changed from c_loc to integer(kind=8).
This allows to remove the dependency on iso_c_bindings module from the APIs.
To avoid compatibility issues in the future, it is recommended to use the data
access helper functions (for example syscGetInputScalarDataF), as described in the
Access to heavyweight data
section.
Migrating from pre-2020 R2 releases
SyscError struct (C Only)
In C APIs,SyscError struct has changed. The member message is now
a fixed-length character array, instead of a character pointer. To avoid
compatibility issues in the future, it is recommended to use syscGetSyscError
function to initialize SyscError struct.
Regions
C
When creating/initializingSyscRegion structs, to help with migration
in the future, helper functions syscGetRegion,
syscGetRegionT, and syscGetRegionDT
have been added which create SyscRegion
structure. It is highly recommended to use these functions as it would help avoid
back-compatibility issues.
Fortran
When creating/initializingSyscRegionF types, to help with migration
in the future, helper functions with
syscGetRegionF interface
have been added which create SyscRegionF
type. It is highly recommended to use these functions as it would help avoid
back-compatibility issues.
Variables
Variables now have new properties:- Tensor type: indicates the tensor type of the variable, for example whether it’s a scalar or a vector
- Is extensive: indicates whether the it is an extensive property or an intensive property.
C++
Variable.getComponentCount() method has been removed.
The type of sysc::QuantityType has changed from struct to enum.
Any usages of properties of quantity type (for example quantityType.initialValue)
should be removed.
C
SyscVariable struct now has new members: tensorType and isExtensive. Their
values should be set to the correct value.
To help with migration in the future, helper functions
syscGetVariable,
syscGetVariableTE, syscGetVariableTEQ, and syscGetVariableQ
have been added to create SyscVariable
structure. It is highly recommended to use these functions as it would help avoid
back-compatibility issues.
Fortran
SyscVariableF type now has new members: tensorType and isExtensive. Their
values should be set to the correct value.
To help with migration in the future, helper functions with
syscGetVariableF interface
have been added to create SyscVariableF
type. It is highly recommended to use these functions as it would help avoid
back-compatibility issues.
Migrating from pre-2020 R1 releases
Setup APIs
The APIs that are related to setup (for example add region, add input/output variable, complete coupling setup) should no longer be used during the coupled analysis. These APIs will remain available and can be used to complete the participant setup during the setup stage. For information on creating the setup files, see Completing the System Coupling Participant Setup For the most up-to-date information on the steps in a coupled analysis, see Participant Steps in a Coupled Analysis.Heavyweight data access Functions
This applies to C++ APIs only. Heavyweight data access functions now take region and variable names rather than objects. For example, surface mesh access function prototype has changed as follows:Data access helper functions (Fortran only)
The following Fortran helper functions have been modified to take an additional argumentnElems:
syscGetInputScalarDataFsyscGetOutputScalarDataFsyscGetInputVectorDataSplitFsyscGetInputVectorDataCompactFsyscGetOutputVectorDataSplitFsyscGetOutputVectorDataCompactF
Known issues
-
SyscGetSetupInfoF function may not set the analysis type correctly if the participant solver is compiled with Intel Fortran compiler on Linux. As a workaround, after calling this function, set the analysis type explicitly, for example: