feat : dev convection
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user