|
[Sponsors] |
MSc Thesis Project - Tube-in-Tank HE with PCM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 4, 2017, 04:34 |
MSc Thesis Project - Tube-in-Tank HE with PCM
|
#1 |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Hi,
New on the forum and the first thread, so give me a heads up if I missed something important. Have been looking around on the forum for a while and have gotten some nice, useful information. But some questions remains... To the case, Me and a colleague are now doing our master thesis project where the objective is to create and validate a numerical model of an experimental setup of a tube-in-tank heat exchanger with a phase change material (PCM). We are working with ANSYS Fluent 17.0. I don't really have a straight forward question, I am more looking for general tips/hints and inputs. We can't really get the simulation stable and are often getting crashes/errors after a couple of time steps (often different errors of the "Divergence detected in AMG solver"- kind, most often due to the temperature). Here is the geometry of the model: it is approximately 1m long, 30cm in diameter and it has 104 tubes. The inlet is on the bottom to the left and the outlet is on the top to the left. The heat transfer fluid (HTF) is coming in from the inlet at 0.15m/s and are spread out in 52 tubes. The HTF is then mixed on the right hand side and are further going in 52 tubes on the top towards the outlet. The HTF is one domain and the other is the PCM. The temperature BC are ~120 C for the PCM and HTF inlet temperature is 35 C. (The whole domain is patched to 120 C). We have tried different kinds of meshes, this is one of them. We have also tried to fine tune the mesh with an increased number of cells and different types (tetrahedral or hexagon) . We have tried mesh sizes around 1 million cells up to 4 million cells. To much? To few? Basic information about the model: 3d, pressure-based, RNG k-epsilon, transient case read into 3d, double precision, pressure-based, RNG k-epsilon, transient solver. Some questions: - How fine do you think the mesh needs to be? And what type of mesh would be most appropriate? - What time step size should be sufficient? Could we do a fixed or is the adaptive a better choice? - Any hints in general that should be good to consider? I bet I missed a lot of information needed to give advice, so let me know and I will fill in all that's needed. Would really appreciate some input! Thanks in advance! |
|
May 4, 2017, 05:35 |
Meshing
|
#2 |
New Member
demirel suleyman
Join Date: Apr 2017
Location: Turkey
Posts: 28
Rep Power: 9 |
Hey,
Regarding the mesh, I would do a tethraedral mesh, second order,for accurate results, a minimum of 0.2mm and a maximum of 60mm. For example, on the pipes I would mesh them with a 5-10mm target length, minimun 0.2mm and for the outer shell with 50mm target length maybe because you don't need small mesh on big parts that you don't study so you could use the power for the areas of interest. I'm a proeficient user with ANSA, wich is excellent for pre-processing so I don't know if this could be done in ANSYS Meshing, it was just a hint. I'm using ANSYS only as a solver. Hope this helped even a little bit |
|
May 4, 2017, 06:01 |
|
#3 | |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
Yeah, we are looking at the tetrahedral mesh as well, think that would be more accurate for our case. We have recently also tried out some "contact sizing"-mesh options. Haven't been able to run a simulation using the contact sizing yet though. We are both beginners and haven't really worked with ANSYS or larger CFD simulations before. How much time (approximately) is usually needed in order to solve a problem like this you think? Of course it depends on the PC performance, but do you have a guess? Are we talking hours, days or weeks? We do have access to "super computers" at our School/department, which have massive PC performance (we are connected to 1 node which has 24 cores and 512GB of RAM with the CPU Intel Xeon Processor E5-2690 v3). Though we need to run some simulation at our private PC which are avarage to high performance personal use computers. Last edited by Tapeworm; May 4, 2017 at 06:16. Reason: Missed a question |
||
May 4, 2017, 06:19 |
|
#4 |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Couldn't edit my last post, sorry for double post.
Approximately how many cells do you think is required for a setup like this? |
|
May 4, 2017, 10:49 |
|
#5 |
Senior Member
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12 |
Hi,
You have asked some questions successively maybe we can proceed step by step. What boundary conditions do you have in order to validate to an experiment you are doing? in other words,you need to focus on what exactly you are working on. Exact Objective? So,if time-dependent melting process is one step ahead of heat transfer then you could give priority to PCM or you need to pay attention mesh you will do.(like mesh depending on turbulent flow regime,so, I do NOT know what regimes have fluid phase(s) you are working on, that is why you should need to calculate some boundary conditions first.) |
|
May 5, 2017, 07:37 |
|
#6 | |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
The objective is to both simulate the melting process and the solidification process. Both the HTF and the PCM material are user specified with mostly piecweis-linnear relation for the temperatur range of interest. More or less the only difference between the two cases are the initial temperature of the PCM and HTF. We do feel quite confident with the boundary conditions. Now in the beginning we are assuming adiabatic conditions around the model and do only have heat transfer (coupled wall) between the contact regions. We keep getting crashes due to temperature limitation in XX number of cells in zone Y. The really strange thing with this is that when we refine the mesh (increase number of cells) the crashes comes earlier compared to if we have a slightly more simple mesh (decreased number of cells). |
||
May 5, 2017, 08:44 |
|
#7 | |
Senior Member
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12 |
Quote:
|
||
May 5, 2017, 09:13 |
|
#8 | |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
Here are som screen shots from the mesh, including also information about the mesh quality. I also included a log file from the last simulation we made. One thing we are not sure about regarding the BC are the turbulence-settings under the Velocity inlet. Which model should be more suitable and what setings? As for now we are using the standard "Intensity and Viscosity Ratio" With Turbulence intensity of 5% and Turbulent viscosity ratio of 10. Thanks for the help! Edit: For the log file i just included the beginning and ending of the simulation due to large file size. Last edited by Tapeworm; May 5, 2017 at 09:14. Reason: Missing information |
||
May 5, 2017, 09:30 |
|
#9 |
Senior Member
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12 |
it should be compliance between minimum size and maximum tetra size in ANSYS-Meshing e.g. maximum tetra size should be two-times more than min. (up to me) to provide for better transition of computational nodes and I could not see what values skewness and max. aspect ratio are.
So cylindrical solid bodies mesh generally are recommended as sweepable but not tetra as it decreases mesh cell and improving quality for CFD. As for turbulence, could you post secreenshot then we shall check it out |
|
May 5, 2017, 09:45 |
|
#10 | |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
Here are the values for Skewness and Asp. ratio: Skewness: min 1,23e-003 max 0,867 Av 0,328 Std Dev 0,114 Aspect Ratio min 1,1078 max 10,335 Av 3,4944 Std Dev 1,7858 For the mesh with the cylindrical body, do you refer to the whole model or only the PCM or HTF tubes? Absolutely! I was talking about theese values (see screen shots). Do you think we even need a turbulent flow or could we assume it as laminar? The flow in the small tubes that passes through the PCM is for sure laminar, but the question is how the fluid behaves at the inlet and the "mixing" side on the opposite side of the inlet. |
||
May 5, 2017, 10:11 |
|
#11 |
Senior Member
Onur Özcan
Join Date: Feb 2016
Location: Istanbul/Turkey
Posts: 461
Rep Power: 12 |
fluid flow behaves as laminar if Re<2300 in closed system or turbulent flow regime will be occurred technically or in theory.But some forget turbulent flow model in FLUENT accept fully-turbulent flow,that is, if model you have designed has not wider or more length (dimensionally) to achieve to be ''FULLY TURBULENT FLOW'', you can select ''laminar'' for sure.
if all hypothesis still show that fluid flow regime is accepted as turbulent, you need to calculate ''turbulent intensity and viscosity ratio numerically.you can easily find basic equations of two and write them down regarding boxes in FLUENT. I think you should get lower values of two if you calculates them because as far as I see, boundary conditions are lower. Last edited by oozcan; May 5, 2017 at 17:16. |
|
May 6, 2017, 17:22 |
|
#12 |
New Member
abdulhamit
Join Date: Dec 2015
Posts: 21
Rep Power: 11 |
||
May 6, 2017, 17:46 |
|
#13 |
New Member
abdulhamit
Join Date: Dec 2015
Posts: 21
Rep Power: 11 |
I think, Time step must be adaptive. Because I also try to solve the PCM, but İt is not solve. I do not know to use adaptive time-step.
|
|
May 8, 2017, 04:15 |
|
#14 | ||
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
Quote:
We did some calculations on the flow and we will assume laminar flow in the whole domain as well. |
|||
May 8, 2017, 15:10 |
|
#15 |
New Member
abdulhamit
Join Date: Dec 2015
Posts: 21
Rep Power: 11 |
http://imageresim.com/images/41627614081587625706.png last 3695 iteration
And then, http://imageresim.com/images/28439154858810415250.png I suppose I will give up this job. |
|
May 10, 2017, 04:20 |
|
#16 |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Would really appreciate some input in what might be happening here:
I was running the simulation and it seemed stable. The process is expected to take approximately 7200 seconds to finish. The melting process starts after ~200-300 seconds. The pictures included is from the FLUENT log at the flow time of 1363s - 1365s. During these few seconds, the simulation totally diverges and it can't seem to be recovered. Any suggestions on what can cause this or how to avoid this situation? I mean, there is no new critical process happening in the model. I would understand if it was during these few seconds that the PCM starts to melt or something, then the calculations may be more complex and the simulation diverges. But looking at the results files during the seconds before this divergence, it behaves just the same as previously (from the start). Any hints? Thanks! |
|
May 10, 2017, 04:21 |
|
#17 |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Edit: Forgot to include the pictures of the log-file. Here they are.
|
|
May 10, 2017, 04:34 |
|
#18 |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
What I did manage to do was to decrease the number of iterations from 30 to 10, but still keeping all other settings as before. This resulted in the simulation going on until the following state (see screen shot of log-file).
Here is also a picture of the temperature and the mass fraction of the model. For the mass fraction, the blue represents solid state and red is liquid. |
|
May 10, 2017, 08:03 |
|
#19 |
New Member
abdulhamit
Join Date: Dec 2015
Posts: 21
Rep Power: 11 |
""During these few seconds, the simulation totally diverges and it can't seem to be recovered. Any suggestions on what can cause this or how to avoid this situation?""
I think, ANSYS notes that "time step" should be reduced in training notes. Iteration is not to be increased. "The whole domain is patched to 120 C." Why? Did not it have to be a lower temperature? And did not HTF have to be a higher temperature? for example htf inlet 120 C, pcm domain 35 C. I do not understand. |
|
May 10, 2017, 09:16 |
|
#20 | |
New Member
Join Date: May 2017
Location: Sweden
Posts: 15
Rep Power: 9 |
Quote:
So for this process I want to extract the energy in the PCM. So the inlet temperature of the HTF is at 45 C and the outlet temperature will be higher. The situation you are mentioning is for the charge process, when we want to store the energy in the PCM. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CoCoons Project - Community-driven Documentation on OpenFOAM® Technology | holger_marschall | OpenFOAM Announcements from Other Sources | 6 | February 2, 2022 15:42 |
Freelancer Job: Project 2D shock tube | cofferhugger | CFD Freelancers | 6 | July 15, 2015 17:20 |
Concentric Tube heat-exchanger: Final year Project Help | fufilnikku | FLUENT | 3 | May 16, 2011 17:51 |
Blow Tank Simulation ... Need Help! | treyevans | CFX | 1 | February 20, 2010 01:42 |
Undergraduate thesis project | Shadhanan Manickavasagar | FLUENT | 5 | August 19, 2000 23:59 |