Card 9 - COSIM_GAP_DIST Co-simulation Gap Distance Definition

This optional card specifies the parameters and options for an exchange of gap distance and contact information on the interface between your 3D thermal model and the external model.

KODE

KODE is the code COSIM_GAP_DIST (or 135)

N1

N1 is the COSIM_GAP_DIST card ID. Cards with the same ID reference the same gap distance co-simulation interface.

T1 = NAME

T1 = NAME (or 1) specifies the name of the co-simulation gap distance interface in T2.

T1 = SELECTION

T1 = SELECTION (or 2) specifies the source and target regions Edge-to-Edge and Surface-to-Surface boundary conditions represented by the group name in T3. The type of selected elements is specified in T2.

  • T2 = PRIMARY specifies the source region.
  • T2 = SECONDARY specifies the target region.

T1 = INTERNAL_ZONE

T1 = INTERNAL_ZONE (or 3) specifies in T2 the internal zone or region name associated with the output mapping of the gap distance variable in T2.

T1 = INTERNAL_VARIABLE

T1 = INTERNAL_VARIABLE (or 4) specifies the internal solver variable to map, for example, GAPDIST, representing the computed gap distance in T2.

T1 = EXTERNAL_SOLVER

T1 = EXTERNAL_SOLVER (or 5) specifies the external solver name where you defined the external solver and the path to the external solver model in T2.

T1 = EXTERNAL_VARIABLE

T1 = EXTERNAL_VARIABLE (or 6) specifies the external solver variable that corresponds to the computed gap distance specified in T2.

T1 = ENABLE_CLIPPING

T1 = ENABLE_CLIPPING (or 7) enables or disables clipping of gap distance values transferred to the external solver.

  • T2 = 1 applies clipping using LOWER_BOUND and UPPER_BOUND values.
  • T2 = 0 transfers gap distance values without clipping.

T1 = LOWER_BOUND

T1 = LOWER_BOUND (or 8) specifies the minimum allowable gap distance limit applied when clipping is enabled in T2.

T1 = UPPER_BOUND

T1 = UPPER_BOUND (or 9) specifies the maximum allowable gap distance limit applied when clipping is enabled in T2.

Code example

$ --------------------------------------------------------------
$ Co-simulation Edge to Edge and Surface to Surface Gap Distance
$ --------------------------------------------------------------
$
$ gapd                                                                          
NAME2 Edge-_1 Edge-to-Edge Contact(1) - Primary Region
NAME Edge-_1       3158       3186          1
NAME2 Edge-_2 Edge-to-Edge Contact(1) - Secondary Region
NAME Edge-_2       3187       3255          1
$ The original BC ID 4 is changed to internal ID 1
COSIM_GAP_DIST 1 NAME "gapd"
COSIM_GAP_DIST 1 SELECTION PRIMARY "Edge-to-Edge Contact(1) - Primary Region"
COSIM_GAP_DIST 1 SELECTION SECONDARY "Edge-to-Edge Contact(1) - Secondary Region"
COSIM_GAP_DIST 1 ENABLE_CLIPPING 0
COSIM_GAP_DIST 1 LOWER_BOUND  0.000000E+00
COSIM_GAP_DIST 1 UPPER_BOUND  0.000000E+00
COSIM_GAP_DIST 1 INTERNAL_ZONE "gapd"
COSIM_GAP_DIST 1 INTERNAL_VARIABLE "GAPDISTANCE"
COSIM_GAP_DIST 1 EXTERNAL_SOLVER "Amesim_convective_gap"
COSIM_GAP_DIST 1 EXTERNAL_VARIABLE amesim_interface.Gap_distance1