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

fluid doesn't flow inside a vertical rectangular pipe

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2021, 04:15
Default fluid doesn't flow inside a vertical rectangular pipe
  #1
New Member
 
Humam
Join Date: Jan 2021
Posts: 3
Rep Power: 5
Humam121 is on a distinguished road
Hello, I'm extremely new to CFD and OpenFOAM. I want to simulate a fluid moving through a vertical 3d rectangular pipe. I'm using buoyantPimpleFoam for the solver because I'm planning to expand the case into a slightly more complex case, but I currently just want to see if I can simulate the flow of the fluid without any treatment.

I'm not sure why, but the fluid doesn't seem to be able to move to the top of the block (I look at the flow of the temperature in ParaView to check its flow). I've tried removing gravity (setting it to (0 0 0)) and it didn't help. The only way to get it to move normally is to set the internalField velocity to have the same value as the inlet velocity, but other cases that I have seen usually have the internalField velocity set to (0 0 0). I have tried looking for other threads with similar problem but couldn't find anything. I have tried using a different solver (scalarTransportFoam) with a horizontal pipe instead and I'm still encountering the same problem.

Here are the codes for 0/U and 0/T. I've also attached a picture from the paraView and the case file here (https://drive.google.com/file/d/1Akm...ew?usp=sharing)

0/U

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volVectorField;
    location    "288";
    object      U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform (0 0 0); 


boundaryField
{
    inlet
    {
    type    fixedValue;
    value    uniform (0 2 0);
    }

    outlet
    {
    type    zeroGradient;
    }
    walls
    {
    type    noSlip;
    }
 }

0/T file

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 0 0 1 0 0 0];

internalField   uniform 300;

boundaryField
{
    inlet
    {
        type            fixedValue;
        value           uniform 600;
    }

    outlet
    {
        type            zeroGradient;
    }

    walls
    {
        type            zeroGradient;
    }
 }

Thanks in advance!
Attached Images
File Type: jpg Screenshot 2021-01-09 144712.jpg (81.0 KB, 2 views)
Humam121 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
Fluid flow from a pipe Raza Javed OpenFOAM Running, Solving & CFD 44 July 25, 2019 09:53
How to model the fluid flow from a pipe of variable temperature? priyankap Main CFD Forum 5 April 10, 2019 12:42
Multiphase flow in a pipe with a CHT wissal CFX 4 June 12, 2017 13:15
Vertical Pipe water flow Goutam FLUENT 0 April 30, 2014 09:25
Slug flow in a vertical pipe Abe FLUENT 0 March 29, 2007 10:01


All times are GMT -4. The time now is 04:33.