Skip to main content

System Coupling C library 2024 R1

SyscVariable Struct Reference

Last update: 17.07.2025

Provide a struct for a System Coupling variable. More...

#include <syscVariable.h>

Data Fields

char name [SYSC_STRING_LENGTH]
 
enum SyscQuantityType quantityType
 
enum SyscLocation location
 
char displayName [SYSC_STRING_LENGTH]
 
enum SyscTensorType tensorType
 
int isExtensive
 
enum SyscDataType dataType
 

Detailed Description

Provide a struct for a System Coupling variable.

To create and/or initialize the SyscVariable struct, it is highly recommended to use one of the functions with names starting with syscGetVariable. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:

"Temperature", SyscScalar, 0, SyscNode);
SyscVariable syscGetVariableTE(const char *name, enum SyscTensorType tensorType, int isExtensive, enum SyscLocation location)
Create variable to be used in a coupled analysis.
@ SyscScalar
@ SyscNode
Provide a struct for a System Coupling variable.

Definition at line 37 of file syscVariable.h.

Field Documentation

◆ dataType

enum SyscDataType SyscVariable::dataType

Variable data type.

Definition at line 44 of file syscVariable.h.

◆ displayName

char SyscVariable::displayName[SYSC_STRING_LENGTH]

User-friendly name.

Definition at line 41 of file syscVariable.h.

◆ isExtensive

int SyscVariable::isExtensive

Flag indicating whether it's an extensive property.

Definition at line 43 of file syscVariable.h.

◆ location

enum SyscLocation SyscVariable::location

Location (e.g element or node).

Definition at line 40 of file syscVariable.h.

◆ name

char SyscVariable::name[SYSC_STRING_LENGTH]

Unique name for this variable.

Definition at line 38 of file syscVariable.h.

◆ quantityType

enum SyscQuantityType SyscVariable::quantityType

Quantity type (e.g. temperature).

Definition at line 39 of file syscVariable.h.

◆ tensorType

enum SyscTensorType SyscVariable::tensorType

Tensor type (e.g. scalar, vector).

Definition at line 42 of file syscVariable.h.

Connect with Ansys