DavidCico / Design-of-an-evaporator-for-a-buoyant-two-phase-flow-cooling-loop-of-a-telecommunication-satellite

In this repository, a procedure is implemented in MATLAB to study the two-phase flow in an evaporator cooling loop of a telecommunication satellite. The flow is modelled considering gravity, singular losses, and different models. We are then able to follow the evolution of the physical variables which characterize the system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Design-of-an-evaporator-for-a-buoyant-two-phases-flow-cooling-loop-of-a-telecommunication-satellite

Satellites are constituted of electronic components that release heat flux. The heat released must be evacuated otherwise there are some risks to damage components in the satellite. In order to guarantee the correct working of the satellite, a thermal loop crossed by a refrigerant fluid must be added. The loop is constituted by a heater, a pressure regulator, a condenser, and a pump. The evaporator is the element of the loop in which the heat released by the electronic components is transferred to the fluid. The fluid, receiver of the components entailed energy, will then be heated and will evaporate itself little by little. This breeds the appearance of a two phase flow. The program, developed with the MATLAB code takes into account the different models of two phase flow that we can consider in our case. We are then able to follow the evolution of the physical variables which characterize the system like the components temperature, the drop loss, void fraction and the quality.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The code being implemented in MATLAB, it requires the MATLAB software, which is licensed under the MathWorks sofware company. MATLAB can be downloaded at the following link https://www.mathworks.com/downloads/, and more information can be found about the license fee on the website.

File descriptions

  • "Conductance.m" (function that returns the equivalent conduction of our fin)
  • "R123-R245FA.xls" (Excel file containing the coolant properties)
  • "R245FA.m" (script loading the coolant properties)
  • "Rg_initial.m" (function that calculates Rg at an instant t)
  • "calcul_Rg_comp.m" (script calling ode45 to solve the equations on Rg, x and P)
  • "elbow_geometry.txt" (text file with geometry data, used by the code)
  • "elbow_geometry.xlsx" (Excel file containing the geometry data)
  • "main.m" (main script)
  • "pressure_Awad.m" (script on Awad approximation for pressure loss)
  • "pressure_Baroczy.m" (script on Baroczy approximation for pressure loss)
  • "pressure_L_M.m" (script on Lockhart & Martinelli approximation for pressure loss)
  • "skin_friction.m" (function that returns the X parameter associated with skin friction)
  • "temp_G_W.m" (function that calculates temperature with Gunger & Winterton model)
  • "temp_K.m" (subroutine that calculates temperature with Kandlikar model)
  • "temp_S_G.m" (script that calculates temperature with Schrock & Grossman model)
  • "write_results.m" (script writing results of the model with gravity in a .txt)
  • "write_results_no_g.m" (script writing results of the model with no gravity in a .txt)

Geometry files

There are normally two files describing the geometry of the case : a ".txt" and a ".xlsx" (excel 2007+). If modification is needed, then first the excel file should be modified and then be saved in txt format, in order to keep the MATLAB tabulations. Furthermore, the "." must be used for describing floating numbers. The geometry has been separated in different elements, each of these having their own particularity (component, elbow, nothing). Here is the meaning of each column:

- initial heigt/position of the element (in mm)
- final heigh of the element (in mm)
- elbow (1 if the block is one, 0 else)
- surface energy flux (if a component is present)
- gravity value (0 in an elbow)
- component power (if there is a component)
- length of the element (in m)
- component width (in m)
- number of passages of the tube inside component (if a component is present)
  • "Bibliography" directory contains 4 research papers in pdf format for some background on the equations implemented inside the code.
  • "Example_plots" contains 2 figures that are shown below.
  • "Report.pdf" is the report of the project explaining the different equations used in the MATLAB code, and showing some of the results obtained under different conditions.

Running the program

To launch the program, it just requires to execute the script main.m on MATLAB. This is the main script of the code that regroups all the other subroutines, get the different data, plot the wanted curves, and write results in txt files. For good performance of the code, and if the geometry data and coolant properties need to be modified, then the same order of magnitude must be kept for the different parameters.

After starting the program, a choice will be asked to the user, to know which type of simulation he is willing to run:

  • 2 with and without gravity
  • 1 with gravity only
  • 0 with no gravity

txt format: "results_with_gravity.txt" and "results_without_gravity.txt".

To compare the pressure loss results in the evaporator with different models, the scripts named "pressure_****.m" need to be executed. However, this first requires running the main program once in order to get the data on the evolution of the title x (vapor mass fraction), and the geometry discretisation. Moreover, if a graphic comparison of the different models is required, the subroutine "pressure_L_M.m" must be executed before the others.

Below, are two of the figures that can be generated by the code. We can see here for instance, the evolution of both vapour mass fraction and velocity against the position inside the evaporator's tube. The reader is referred to the project report for more information on the different results obtained through the numerical simulations.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

About

In this repository, a procedure is implemented in MATLAB to study the two-phase flow in an evaporator cooling loop of a telecommunication satellite. The flow is modelled considering gravity, singular losses, and different models. We are then able to follow the evolution of the physical variables which characterize the system.


Languages

Language:MATLAB 100.0%