Card 9 - COSIM_OUTPUT_BC Co-simulation Thermal Output Definition

This optional card specifies the parameters and options for transferring thermal output data to an external solver.

Parameters: KODE, N1, T1, T2

KODE

KODE is the code COSIM_OUTPUT_BC (or 139)

N1

N1 is the COSIM_OUTPUT_BC card ID. Cards with the same ID reference the same thermal output co-simulation interface.

T1 = NAME

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

T1 = SELECTION

T1 = SELECTION (or 2) specifies the geometry or FE selection set on which the variable exchange occurs in T2.

T1 = INTERNAL_ZONE

T1 = INTERNAL_ZONE (or 3) specifies the internal zone or selection name associated with the outputs in T2.

T1 = INTERNAL_VARIABLE

T1 = INTERNAL_VARIABLE (or 4) specifies the internal variable produced by the thermal solver to be mapped in T2.
  • T2 = OUTTEMP transfers temperature.
  • T2 = OUTHFLOW transfers total heat flow rate.
  • T2 = OUTHFLUX transfers heat flux.

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 length specified in T2.

T1 = OUTPUT_TYPE

T1 = OUTPUT_TYPE (or 7) selects in T2 the thermal output type computed by the thermal solver and sent to the external solver.

T1 = HEATF_CONT

T1 = HEATF_CONT (or 8) specifies in T2 the heat source contributions included when the output type is heat flow rate or heat flux.

T1 = ORB_PLANET_IR

T1 = ORB_PLANET_IR (or 9) enables or disables inclusion of planet IR flux contributions when HEATF_CONT includes Orbital sources in T2.

  • T2 = 1 includes planet IR fluxes.
  • T2 = 0 excludes planet IR fluxes.

T1 = ORB_ALBEDO

T1 = ORB_ALBEDO (or 10) enables or disables inclusion of albedo flux contributions when HEATF_CONT includes Orbital sources in T2.

  • T2 = 1 includes albedo fluxes.
  • T2 = 0 excludes albedo fluxes.

T1 = ORB_SOLAR

T1 = ORB_SOLAR (or 11) enables or disables inclusion of direct solar flux contributions when HEATF_CONT includes Orbital sources in T2.

  • T2 = 1 includes direct solar fluxes.
  • T2 = 0 excludes direct solar fluxes.

Code example

COSIM_OUTPUT_BC 1 SELECTION "Orb_Top_Left"
COSIM_OUTPUT_BC 1 OUTPUT_TYPE 2
COSIM_OUTPUT_BC 1 HEATF_CONT 4
COSIM_OUTPUT_BC 1 ORB_PLANET_IR 0
COSIM_OUTPUT_BC 1 ORB_ALBEDO 1
COSIM_OUTPUT_BC 1 ORB_SOLAR 1
COSIM_OUTPUT_BC 1 INTERNAL_ZONE Orb_Top_Left
COSIM_OUTPUT_BC 1 INTERNAL_VARIABLE OUTHFLUX
COSIM_OUTPUT_BC 1 EXTERNAL_SOLVER Amesim_power_budget_model
COSIM_OUTPUT_BC 1 EXTERNAL_VARIABLE orb_hf_top_left