CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

rhoSimpleFOAM - Fix an instable outlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2022, 10:06
Default rhoSimpleFOAM - Fix an instable outlet
  #1
Member
 
Join Date: Dec 2015
Posts: 74
Rep Power: 10
WhiteW is on a distinguished road
Dear all,
I'm experiencing some issues in the convergence of a HVAC analysis.
The domain is quite simple: a room with an inlet (a massflow is entering) and an outlet (external pressure condition), as in the attached picture.
Furthermore, since I have a certain difference of temperature, I need to use rhoSimpleFOAM. Turbulence model kOmegaSST.

The problem is that there are always instabilities that originates from the outlet. More specifically, in a single cell on the border between the outlet and a wall the velocity start to increase (from a certain iteration, 300 in this case) and then this unphysical velocity start to spread from that zone (at iteration 2500 the problematic cells are 10k). In the pictures I'm showing the threshold of velocity higher then 40m/s.

Sometimes I can fix this behaviour moving the outlet surface far form the room (for example using the spheric outlet in the picture) but in this case this is not working.
The mesh created with snappy has not particular problems, the boundary layer has not been completely generated in that zone, but I don’t think it is needed.

I don’t ‘understandwhat is wrong… I would like to use the outlet as in the reality, placing it near the wall of the room but in this case the instabilities always occur.
Here are my boundary conditions, are they correct?
Thanks!
WalterlW


U:

Code:
   inlet
    {
        type                flowRateInletVelocity;
        volumetricFlowRate  5.833;
        value               uniform (0 0 0);
        rho                 rho;
        rhoInlet            1.042;
    }

    outlet
    {
        type        pressureInletOutletVelocity;
        value       $internalField;
        inletValue  uniform (0 0 0);
    }

    walls
    {
        type    noSlip;
    }

p
Code:
   inlet
    {
        type    fixedFluxPressure;
        value   $internalField;
    }

    outlet
    {
        type    fixedValue;
        value   $internalField;
    }
    walls
    {
        type    zeroGradient;
    }

T
Code:
    inlet
    {
        type    fixedValue;
        value   uniform 351.25;
    }

    outlet
    {
        type    zeroGradient;
    }

    walls
    {
        type    zeroGradient; 
    }
At the moment I'm also using a velocity damping constraint for velocity at 40m/s, it helps a bit but the instabilities remain.
Attached Images
File Type: jpg Domain.jpg (27.9 KB, 19 views)
File Type: jpg Outlet.jpg (34.3 KB, 23 views)
File Type: jpg cells.jpg (30.4 KB, 20 views)
WhiteW is offline   Reply With Quote

Old   April 11, 2022, 04:58
Default
  #2
New Member
 
Join Date: Aug 2014
Location: Bremen, Germany
Posts: 5
Rep Power: 12
wstapel is on a distinguished road
I have a suspicion what is wrong.

Can you create two plots for the inlet?
1. average pressure over iterations
2. average density over iterations
wstapel is offline   Reply With Quote

Old   April 13, 2022, 07:31
Default
  #3
Member
 
Join Date: Dec 2015
Posts: 74
Rep Power: 10
WhiteW is on a distinguished road
Hi, thanks for the reply.
Attached are the plots of area average of velocity, density and pressure on both inlet and outlet.
I also plotted the min and maximum values.
WalterW
Attached Images
File Type: png plot1.png (17.0 KB, 13 views)
File Type: png plot2.png (11.6 KB, 12 views)
File Type: png plot3.png (10.4 KB, 12 views)
File Type: png plot4.png (15.8 KB, 10 views)
File Type: png plot5.png (15.5 KB, 7 views)
WhiteW is offline   Reply With Quote

Old   April 26, 2022, 07:58
Default
  #4
New Member
 
Join Date: Aug 2014
Location: Bremen, Germany
Posts: 5
Rep Power: 12
wstapel is on a distinguished road
Hi,


sorry for the late reply. Actually the plots do not show what I expected. I thought the problem was a constant pressure-density osciallation at the inlet which then led to instability.



Can you show your fvSchemes file? I suppose you use a limited scheme for div(phi, U) ?
wstapel 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
twoPhaseEulerFoam bubble column crashes due to problems at outlet region hester OpenFOAM Running, Solving & CFD 5 July 21, 2024 08:19
Correct way to fix reverse flow at outlet Dreoasteh OpenFOAM Running, Solving & CFD 14 August 15, 2023 04:56
How to unserstand Correct boundary condition at outlet for incompressible flow? aja1345 FLUENT 3 July 16, 2018 12:12
outlet pressure Boundary settings -velocity streamline under ambient temp.conditions Vishnu_bharathi CFX 12 November 21, 2017 06:56
Generating water waves - backflow at the outlet Luke92 CFX 1 November 18, 2017 05:27


All times are GMT -4. The time now is 02:18.