modelFilmDiscretization

liquid film discretisized

Extends from BaseFilmModel (base class for film model where no source term for the reaction exists).

Parameters

TypeNameDefaultDescription
IntegernSL (from BaseFilmModel)MediumLiquid.nSubstance
IntegernSV (from BaseFilmModel)MediumVapour.nSubstance
BooleanenableDialog (from BaseFilmModel)true
BooleanStartUp_CCS (from BaseFilmModel)false
BooleanEQ (from BaseFilmModel)
Integerm1number of discrete film elements
Integere1assymetrical grid distribution for e > 1
IntegernSLiif sum(abs(MediumLiquid.ic)) == 0 then nSL - 1 else nSL - 2number of independent composition gradients in the liquid phase
Propagated from Column › These variables are propagated from the column model and do not have to be set by the user!
Boolean[nSV]inertVapour (from BaseFilmModel)fill(false, nSV)
Boolean[nSL]inertLiquid (from BaseFilmModel)fill(false, nSL)
Integern (from BaseFilmModel)
IntegernS (from BaseFilmModel)
Integer[nS,2]mapping (from BaseFilmModel){{i, i} for i in 1:nS}
SI.TemperatureT_ref (from BaseFilmModel)
BooleanconsiderStartUp (from BaseFilmModel)false
SI.Timedelay_startUp (from BaseFilmModel)200
Booleansmooth_startUp (from BaseFilmModel)false
Boolean[nSV]lowBoilingPoint (from BaseFilmModel)fill(false, nSV)

Components

TypeNameDefaultDescription
MediumVapour.ThermodynamicPropertiespropsVap (from BaseFilmModel)
SI.MoleFraction[n,nSV]x_v_star (from BaseFilmModel)
MediumVapour.ThermodynamicStatestateVap (from BaseFilmModel)
SI.MoleFraction[nSV]x_v_in (from BaseFilmModel)
SI.Concentration[n,nSV]c_v_star (from BaseFilmModel)
SI.MoleFraction[n,nSL]x_l (from BaseFilmModel)
SI.MoleFraction[n,nSV]x_v (from BaseFilmModel)
SI.Pressure[n,nSL]p_sat (from BaseFilmModel)
MediumLiquid.ThermodynamicPropertiespropsLiq (from BaseFilmModel)
MediumLiquid.ThermodynamicStatestateLiq (from BaseFilmModel)
SI.MoleFraction[n,nSL]x_l_star (from BaseFilmModel)
SI.Concentration[n,nSL]c_l (from BaseFilmModel)
SI.Concentration[n,nSL]c_l_star (from BaseFilmModel)
Real[n,nSL]eta_comp (from BaseFilmModel)
Real[n,nSL]gamma (from BaseFilmModel)
SI.MoleFraction[n,nS]x_vap_liq (from BaseFilmModel)
SI.Concentration[nSV]c_v_in (from BaseFilmModel)
SI.Concentration[n,nSV]c_v (from BaseFilmModel)
SI.VolumeFlowRateVdot_v_in (from BaseFilmModel)
SI.VolumeFlowRate[n]Vdot_v (from BaseFilmModel)
SI.VolumeFlowRate[n]Vdot_l (from BaseFilmModel)
Real[n]eps_liq (from BaseFilmModel)
SI.MolarFlowRate[n,nSL]Ndot_l_transfer (from BaseFilmModel)
SI.MolarFlowRate[n,nSV]Ndot_v_transfer (from BaseFilmModel)positive when entering the bulk phase
SI.HeatFlowRate[n]Edot_l_transfer (from BaseFilmModel)
SI.HeatFlowRate[n]Edot_v_transfer (from BaseFilmModel)
SI.Pressure[n + 1]p_hyd (from BaseFilmModel)
SI.Pressure[n + 1]p_v (from BaseFilmModel)
SI.Temperature[n]T_star (from BaseFilmModel)
Real[n]omega (from BaseFilmModel)
Boolean[n]startUp (from BaseFilmModel)
Boolean[n]before_transition (from BaseFilmModel)
Realk (from BaseFilmModel)
Real[n,nSL]rel_dev_liq (from BaseFilmModel)relative deviation from equilibrium, liquid
Real[n,nSV]rel_dev_vap (from BaseFilmModel)relative deviation from equilibrium, vapour
Realmax_rel_dev_liq (from BaseFilmModel)max(rel_dev_liq)maximum relative deviation from equilibrium, liquid
Realmax_rel_dev_vap (from BaseFilmModel)max(rel_dev_vap)maximum relative deviation from equilibrium, vapour
HomotopyMethodhomotopyMethod (from BaseFilmModel)
SI.Length[n]tfilm thickness
SI.Length[n,m]t_zthickness of one film element
SI.Length[n]t_temptemperature film thickness
SI.Length[n,m]t_temp_ztemperature film thickness of one film element
MediumVapour.ThermodynamicFactor[n]thermoFactorV
SI.MoleFraction[n,nSV]vector_vap
SI.MolarFlowRate[n]Ndot_v_tot
MediumLiquid.ThermodynamicFactor[n,m]thermoFactorL
SI.MolarFlowRate[n,m + 1,nSL]Ndot_zinter-film molar flow rates
SI.MoleFraction[n,m,nSL]delta_x inter-film mole differences
SI.MoleFraction[n,m + 1,nSL]x_l_zinter-film mole fractions
Real[n,m]pot_diff_zdifference in electrostatic potential
SI.Area[n]A_Iinterfacial area
SI.CoefficientOfHeatTransfer[n]alphaVap
Real[n,nSV,nSV]k_v
SI.DiffusionCoefficient[n,m,nSL,nSL]D_liq_matrixdiffCoeffLiqMatrix.D_matrix
MediumLiquid.DiffusionCoefficientdiffCoeffLiqMatrix
MaxwellStefanMatrixmaxwellStefanMatrixLiq
MaxwellStefanMatrixmaxwellStefanMatrixVap
Real[n,nSV - 1,nSV - 1]R_vmaxwellStefanMatrixVap.matrix
Real[n,m,nSL - 1,nSL - 1]BmaxwellStefanMatrixLiq.matrixMaxwell-Stefan diffusion matrix, see Taylor & Krishna, p. 25
ThermoEquilibrium[n]thermoEquilibrium
Real[n,nS]Kthermodynamic equilibrium constant
SI.Density[n]rho_vpropsVap.rho
SI.MolarMass[n]MM_vpropsVap.MM
MediumVapour.CalcSpecificEnthalpy[n]vapToFilmB
MediumVapour.CalcSpecificEnthalpy[n]filmToVapB
SI.HeatFlowRate[n]Qdot_v_transfer
SI.MolarFlowRate[n,nSV]Ndot_fromV
SI.MolarFlowRate[n,nSV]Ndot_toV
SI.MoleFraction[n,nSV]x_transfer_fromV
SI.MoleFraction[n,nSV]x_transfer_toV
ThermalSeparation.Units.MolarEnthalpy[n]h_transfer_fromVvapToFilmB.h
ThermalSeparation.Units.MolarEnthalpy[n]h_transfer_toVfilmToVapB.h
Real[n,m + 1]Edot_z
SI.Temperature[n,m + 1]T_z
SI.ThermalConductivity[n]lambdapropsLiq.lambda
SI.MolarFlowRate[n,m,nSL]Ndot_leftToRight
SI.MolarFlowRate[n,m,nSL]Ndot_rightToLeft
SI.MoleFraction[n,m,nSL]x_transfer_leftToRight
SI.MoleFraction[n,m,nSL]x_transfer_rightToLeft
ThermalSeparation.Units.MolarEnthalpy[n,m]h_leftToRightleftToRight.h
ThermalSeparation.Units.MolarEnthalpy[n,m]h_rightToLeftrightToLeft.h
ThermalSeparation.Units.MolarEnthalpy[n,m + 1]h_l_zspecificEnthalpy.h
MediumLiquid.CalcSpecificEnthalpy[n,m + 1]specificEnthalpy
MediumLiquid.CalcSpecificEnthalpy[n,m]leftToRight
MediumLiquid.CalcSpecificEnthalpy[n,m]rightToLeft
MediumLiquid.BaseProperties[n,m + 1]mediumLiquid
Reaction[n,m]reaction
SI.MolarFlowRate[n,m,nSL]Ndot_Rif reaction[1, 1].film then reaction.Ndot else fill(0, n, m, nSL)
SI.Energy[n,m]Qdot_Rif reaction[1, 1].film then reaction.deltaH_R else fill(0, n, m)
SI.Volume[n,m]V_reacreaction volume
Real[n,m,nSL]gamma_zactivityCoeff.gamma
SI.Pressure[n,m + 1]p_film
MediumLiquid.ActivityCoefficient[n,m]activityCoeff
SI.Concentration[n,m + 1,nSL]c_l_z

Contents

NameDescription
ThermoEquilibrium