Modeling Chilled Water Piping

hi @jousefm, and thank you for trying to help me out with this problem.

I had no luck with figuring out my current simulation. So i have decided to simplify it and just model a vertical 20" in diameter and 11 ft long pipe. I am still looking for pressure and velocity distribution along the pipe. I am hoping that the simplified model would make it easier to figure out how to account for elevation change in the model. This it the link to the new simulation:https://www.simscale.com/workbench/?pid=8362338750270950273&mi=spec%3A13d5d872-08e8-47fa-b42f-24fb47ab96f1%2Cservice%3AMESHING%2Cstrategy%3A2

I am keeping most of my assumptions the same such as 10 psi for the top face of the pipe, incompressible and turbulent flow. And 15.5 psi for the bottom face of the pipe.

Can you possibly take a look at it as well and let me know how can I account for the elevation change in the pipe?
Any help you can provide to me would be greatly appreciated.

Thank you,
Maria Chek

Hi Maria!

You could try to use the convective heat transfer (CHT) analysis type where gravity is taken into account. To tune the incompressible analysis for so long that it finally fits your results is not the right way in my opinion unless it can be validated with other measurements from you or that can be found in papers.

Do you want to give it a spin and keep me up-to-date? :slight_smile:

Best,

Jousef

@jousefm,
Thank you so much for your suggestion. The convective heat transfer worked pretty well for me.

I have one more question for you. Is it possible to get the data from the simulation instead of looking at the graphic only?
I am trying to determine how the flow splits up from the header into the two pipes and I would like to know which has the largest flow rate.

Thank you for you help,
Maria Chek

Hi Maria,

you can download the results from the workbench (see picture below).

You can then use the offline Paraview version to do more sophisticated post-processing.


Best,

Jousef

@jousefm,

I had downloaded the results as you have suggested but it looks like it only gives me how it defined the model and how the program have done the calculations (the code).

I was looking for something that would give me the final results of the simulations compiled.
Also, can you explain to me what is Paraview version that you are talking about?

Thank You,
Maria Chek

Hi Maria!

I have quickly put together a step-by-step instruction here: Offline Post-Processing with Paraview. Let me know if you need something else.

Best,

Jousef

Thank you for you help!

I do have couple of questions for you.
I read in one of the forums online that " Folder ‘numbered’ : this is the written results at the numbered time."
I have a folder that is called 1000 in the zip file that I downloaded from my simulation. I opened the 1000 folder and it gives me a long list of numbers for several factors such as velocity, pressure and alpha. I have attached the screenshot of what I see when I look at the pressure file.


However what I am confused about are the calculated values shown are the values that have been calculated over time? Or is this at different locations?
If they are at the same location, how do I know where it is in my model?

Thank you for your time,
Maria Chek

@jousefm,

I just realized that I might have not been clear about what I was looking for from the model results.

I am hoping to see the data set for velocity and pressure profiles from program, not only the graphic.

You did tell me that I can download the results but I am having some trouble interpreting the results. I am slightly confused about the locations of all those values. (if you can take a look at the post above I took a screenshot of what I see when i open the downloaded folder)

Thank you for your help,
Maria Chek

Hi Maria,

You can see the velocity and pressure profile inside of the program Paraview! You simply have to change the quantities on top (velocity, pressure, etc.) and use some additional tools to probe or plot over line - there are different ones that you can use.


And the points shown above are the ones for the last time step (you did a steady-state analysis anyway).

For more information about OpenFOAM’s folder structure: 2.1 File structure of OpenFOAM cases


Cheers,

Jousef

@jousefm,
Thank you for response.

I was wondering would it be possible to see the simscale data in the form of the data table that can be viewed in excel or a data set? Instead of just pressure profile?
Thank you,
Maria Chek

Hi Maria and sorry for the late response.

Indeed you can export result control fields using SimScale if that’s what you are looking for, see below.


Let me know if that helped!

Jousef

1 Like

@jousefm,
Thank you for your response!

And yes this is what I was looking for exactly.

Now, I am trying to figure out how the probe points work. I am attempting to do it in a simple model of 20 inch pipe first before I attempt to replicate it in the actual model. I am slightly confused about how does probing points work because the results i am getting does not make any sense.

This is the simulation of the pipe that I am working on right now:

I chose to put the probe point in the middle of the pipe. And for the pressure results, I am getting 335.98 psi, which is impossible. It should be somewhere around 10-15 psi.
Could you possibly tell me where am I going wrong?

Thank You,
Maria

Hi Maria,

looks good to me. You maybe looked at the velocity which is way higher in the diagram.


Cheers!

Jousef

1 Like

@jousefm,
Thank you so much for helping me with that!

I have one more question for you. In the model that I am studying, I am finding that in certain areas the velocity and pressure distribution is different. Would it be possible for me to see the average pressure and velocity in those sections in Paraview or Simscale? Also can i see it in the table form ?

Thank You for all your help,
Maria Chek

Hi Maria!

You can create a Result Control item and choose Area Average for that and simply choose the surfaces - in your case inlet/outlet. For the table issue I will create a small step-by-step and let you know.

Best,

Jousef

\underline{\textbf{Step-by-Step for Average Value through a surface}}


  1. Choose Result Control Item

  2. Pick the surface you want to have the average from

  3. After the run you can see the average values under Solution Fields

  4. Download the files (as shown below)


Paraview tutorial might follow soon :wink: Will post the link here if it is finished.


Best,

Jousef

@jousefm
Thank you so much for all your help! I really do appreciate it.

I am having some trouble viewing the results at the moment from the several simulations I have run.

This is the link to the one I am working on right now:

When I look at the convective heat transfer 5 and the simulation run 2. All i see is a blank page and nothing loads for me. I am wondering is there something wrong with my simulations or does it have to do something with the website?
Any help you can provide to me would be greatly appreciated!

Thanks,
Maria Chek

Hi Maria and sorry for the late feedback!

Will check. Let me know if it worked for you in the meantime.

Edit: Everything works fine from my side. Can you check your internet connection please?

Cheers,

Jousef

@jousefm,

Thank you so much for all your help.

I have couple of questions for you about SimScale model.

There are several different materials that can be used for pipes like steel or HDPE. Is there a way to specify in the model what kind of material of pipe it is?

Additionally, the friction in the pipes. Is there a way to control the friction in the pipe? Like make the pipe rough or smooth if needed?

Thank You so much for all your help!
Maria Chek

Hi Maria,

Why would you want to change the material? For CHT it makes sense also regarding thermal conductivity and other parameters you want to specifiy. Other than that the material is irrelevant for a simple pipe flow simulation - at least I cannot think of a scenario where the material has an influence on a simple incompressible pipe flow simulation. @Get_Barried, feel free to jump in if you have an idea.

Regarding the roughness there should be an option if you set a custom boundary condition and change the turbulent kinetic energy (TKE) to wall function and set the sub option to rough at least to my knowledge. I’m at my smartphone in the tram at the moment and would have to check as soon as I am home but you can test it in the meantime :slight_smile:

Best,

Jousef