CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Outlet type to simulate environment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2014, 04:56
Default Outlet type to simulate environment
  #1
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Hi,

I have a physical testbox with a heat source inside it. The box has 3 holes and is placed inside a chamber with regulated temperature.

To simulate my testbox, I created the walls of the box and gave them a specific temperature and created 3 boundaries as pressure outlet for the 3 holes and the surrounding environment.

With static pressure the simulation starts to diverge after 160 iterations and with environmental I do not see any convergence after 7000 iterations (and the net mass flow inside or outside the box varies between +40 and -20 kg/m^2-s)

Is there a way to do this without simulating the chamber as well?
hebeldebel is offline   Reply With Quote

Old   April 7, 2014, 13:23
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
This sounds like a natural convection problem, which are very difficult to solve steady-state, which is sounds like you're trying to do. Natural convection is not a very steady phenomenon.

What solvers and physics are you using?
me3840 is offline   Reply With Quote

Old   April 8, 2014, 04:59
Default
  #3
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Hi,

thank you for your time, here are some more informations:

initial conditions of the air: 303K
boundary temperature of the outer walls: 303K
temperature of the pressure outlets: 303K
heat source turned off
enabled models for air:
gravity, segregated fluid temperature, ideal gas, cell quality remediation, two-layer all y+ wall treatment, realizable k-epsilon two-layer, k-epsilon turbulence, reynolds-averaged navier-stokes, turbulent, segregated flow, gas, steady, gradients, three dimensional
number of cells: 3802271
I have one source of forced convection inside the setup simulating a radial fan.

I tried to check, if the output makes sense and plotted the sum of the mass flows through the 3 outlet. It never reaches 0.
Attached Images
File Type: jpg Divergiert Pressure Outlet static3.jpg (43.6 KB, 22 views)
File Type: jpg Divergiert Pressure Outlet static1.jpg (59.3 KB, 25 views)
hebeldebel is offline   Reply With Quote

Old   April 8, 2014, 09:51
Default
  #4
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
You didn't mention there was a fan before, so that should be better for the steady-state approximation. What are you using for your fan source? How have you implemented it geometrically? Is the fan curve correct?

Since you have cell quality remediation enabled, there should be a field function available called bad cell indicator that will show you where poor quality cells exist, I would take a gander at that.

Furthermore, I would not use cell quality remediation. CQR is basically admitting your mesh sucks and you're willing to get a less accurate answer. The obvious solution is to improve the grid, not to diffuse the answer. Can you post some images of the geometry and grid?

You need to find out where your mass is going. How big is this box? Why are you measuring mass flux rate, though? Normally folks just measure mass flow over all of the BCs and sum it.
me3840 is offline   Reply With Quote

Old   April 9, 2014, 07:11
Default
  #5
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Quote:
Originally Posted by me3840 View Post
You didn't mention there was a fan before, so that should be better for the steady-state approximation. What are you using for your fan source? How have you implemented it geometrically? Is the fan curve correct?
I forgot to mention it, but this is important, of course. It is a radial fan represented by a region of air. This region has a motion specification via reference Frame (rotation rate 6300 rpm).

Quote:
Originally Posted by me3840 View Post
Since you have cell quality remediation enabled, there should be a field function available called bad cell indicator that will show you where poor quality cells exist, I would take a gander at that.
I saw some Bad Cells (value of two) at the pressure outlets and locally increased the amount of cells, which solved the problem except for one or two cells.

Quote:
Originally Posted by me3840 View Post
Furthermore, I would not use cell quality remediation. CQR is basically admitting your mesh sucks and you're willing to get a less accurate answer. The obvious solution is to improve the grid, not to diffuse the answer. Can you post some images of the geometry and grid?
This will be difficult, because I don't really know how much I am allowed to show, but I attached two basic pictures showing the pressure outlets.

Quote:
Originally Posted by me3840 View Post
You need to find out where your mass is going. How big is this box? Why are you measuring mass flux rate, though? Normally folks just measure mass flow over all of the BCs and sum it.
My bad, I thought it would not matter much, because the areas are constant. I will do another run measuring the mass flow.
Attached Images
File Type: jpg pressure outlets.jpg (16.5 KB, 23 views)
File Type: jpg mesh.jpg (86.9 KB, 22 views)
hebeldebel is offline   Reply With Quote

Old   April 10, 2014, 03:10
Default
  #6
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
I did another run with more cells at the pressure outlets and I disabled CQR.

The mass flow seems to oscillate around 0 g/s and the residuals probably wont change much more. What can I do to get closer to 0 g/s? More cells? Change the under relaxation factor?
Attached Images
File Type: jpg residuals.jpg (44.6 KB, 7 views)
File Type: jpg mass flow.jpg (30.3 KB, 9 views)
hebeldebel is offline   Reply With Quote

Old   April 10, 2014, 10:19
Default
  #7
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
sorry for the triple post but it seems you cannot add picture with the edit function.

Here are some picture with streamlines starting at the fan outlet.
Attached Images
File Type: jpg velocity.jpg (92.3 KB, 17 views)
File Type: jpg temperature.jpg (81.0 KB, 19 views)
hebeldebel is offline   Reply With Quote

Old   April 10, 2014, 12:21
Default
  #8
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
How big is this thing? Mass fluctuations in the e-4 kg/s range are pretty good for industrial problems.

The velocity field coming from the fan looks really strange. Why do the streamlines branch off?
me3840 is offline   Reply With Quote

Old   April 11, 2014, 02:57
Default
  #9
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Quote:
Originally Posted by me3840 View Post
How big is this thing? Mass fluctuations in the e-4 kg/s range are pretty good for industrial problems.
I added a picture for the size. As it is rather small, I thought even e-4 kg/s fluctuations have an big impact.

Quote:
Originally Posted by me3840 View Post
The velocity field coming from the fan looks really strange. Why do the streamlines branch off?
There is a heatsink right after the fan, its fins split the flow up.
Attached Images
File Type: jpg height.jpg (20.8 KB, 9 views)
hebeldebel is offline   Reply With Quote

Old   April 11, 2014, 04:00
Default
  #10
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Er, didn't see the scale on your plot, the mass convergence is in e-6 kg/s range, which is good.

So there's a heatsink and a fan in this box...is there anything else hiding?

The residuals fluctuate in a very transient fashion, I wonder if some transient flow structure is limiting the steady simulation. The heatsink and fan seem rather small compared to the size of the box, which really isn't that big. I wouldn't be surprised if the largest eddy in the box has some transient nature.

Have you taken a look at any other engineering values? Perhaps we can nail down what's causing the fluctuations from that. It may also be worth looking at where your residuals are high.
me3840 is offline   Reply With Quote

Old   April 11, 2014, 04:28
Default
  #11
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
Quote:
Originally Posted by me3840 View Post
Er, didn't see the scale on your plot, the mass convergence is in e-6 kg/s range, which is good.

So there's a heatsink and a fan in this box...is there anything else hiding?
There are two obstacles on top of the heatsink and three pillars connect the heatsink to the bottom boundary wall. The pillar diameter is about 4 mm. The fan is directly attached to the rear of the heatsink and there is a distance of approx. 80 mm between the front of the heatsink and the boundary wall in the front. No other parts are present inside the box.

Quote:
Originally Posted by me3840 View Post
The residuals fluctuate in a very transient fashion, I wonder if some transient flow structure is limiting the steady simulation. The heatsink and fan seem rather small compared to the size of the box, which really isn't that big. I wouldn't be surprised if the largest eddy in the box has some transient nature.
Should I try to find out, where this eddy is located? If so, I would look for high vorticity values, right?

Quote:
Originally Posted by me3840 View Post
Have you taken a look at any other engineering values? Perhaps we can nail down what's causing the fluctuations from that. It may also be worth looking at where your residuals are high.
I will look at the residuals right away, what do you mean with engineering values?
hebeldebel is offline   Reply With Quote

Old   April 11, 2014, 14:33
Default
  #12
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Vorticity may do well, yes.

Engineering values, as in things you're interested in seeing. Temperatures, velocity probes, integrals of shear stress, something.
me3840 is offline   Reply With Quote

Old   April 15, 2014, 03:32
Default
  #13
Member
 
Join Date: Jan 2014
Posts: 40
Rep Power: 12
hebeldebel is on a distinguished road
I am sorry it took me this long to answer, but there was the weekend and simulation took another day.

I am interested in one engineering value, which is the temperature of a specific point on the heatsink. I therefore monitored it and ran the simulation. I added the results below.

Mass flow still fluctuates, but I would say I can neglect it, as I am primarily interested in the temperature. The temperature seems to converge, although it is not the same value as seen in real life.

My preliminary estimation would be: I can use this setup, but I need to tweak fan speed (adjusting voltage not rpm in real life) and continua of the solids to get to the right temperature.

Am I correct about that, or do I need to check something else as well?
Attached Images
File Type: jpg mass flow heat source.jpg (28.9 KB, 4 views)
File Type: jpg temperature heat source.jpg (31.5 KB, 5 views)
File Type: jpg residuals heat source.jpg (50.0 KB, 7 views)
hebeldebel is offline   Reply With Quote

Old   April 15, 2014, 11:02
Default
  #14
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
There are plenty of other things I would check. Put some probes in the flow and measure the velocities, see if they are periodic.

Perhaps run with temporary storage and see where the residuals are high.
me3840 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dsmcFoam setup hherbol OpenFOAM Pre-Processing 1 November 19, 2021 01:52
BuoyantBoussinesqPimpleFoam Modification for LES Capability simonsg OpenFOAM 11 July 20, 2017 11:31
Divergent temperature in chtMultiRegion(Simple)Foam akrasemann OpenFOAM Running, Solving & CFD 13 March 24, 2014 02:54
rhoSimpleFoam claco OpenFOAM 7 April 20, 2010 04:32
LiftDrag tool nuovodna OpenFOAM Running, Solving & CFD 45 September 2, 2009 17:56


All times are GMT -4. The time now is 05:45.