21 lines
490 B
Plaintext
21 lines
490 B
Plaintext
within OTRERA_formation.Components;
|
|
|
|
model Convection_with_Element1D
|
|
extends Modelica.Thermal.HeatTransfer.Interfaces.Element1D ;
|
|
//USER DEFINED PARAMETERS
|
|
parameter Modelica.Units.SI.Area S=0.0 "Exchange area between fluid and solid" ;
|
|
parameter Modelica.Units.SI.CoefficientOfHeatTransfer h = 0.0 "Convective heat transfer coefficient";
|
|
|
|
|
|
//INTERNAL VARIABLES
|
|
|
|
//IMPORTED COMPONENTS
|
|
|
|
equation
|
|
|
|
Q_flow = h * S * dT ;
|
|
|
|
//Port handover
|
|
|
|
|
|
end Convection_with_Element1D; |