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

simpleFOAM pipe with two inlets and one outlet doesnøt work?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2021, 12:05
Default simpleFOAM pipe with two inlets and one outlet doesnøt work?
  #1
New Member
 
Sarah
Join Date: May 2021
Location: Denmark
Posts: 1
Rep Power: 0
skovmunk is on a distinguished road
Hello!

I have made a test setup at home which looks roughly like the attached pic "opstilling" (sorry it's in danish). I want to simulate the flow in the pipe, so there is an inlet at the main pipe and the one from the side. I have made the pipes in Salome, see pic "salome_geometri". The mesh seems fine, and there are no problems with this.

I want to define pressure at the inlets and outlet. So these are fixed, and the velocity is calculated. I have only found examples where people define the velocity at the inlets. I have tried:

P


inlet
{
type totalPressure;
p0 uniform 2.23408;
}

inlet_k
{
type totalPressure;
p0 uniform 1.46979;
}

outlet
{
type fixedValue;
value uniform 0;
}

wall
{
type zeroGradient;
}


U

wall
{
type noSlip;
}

inlet_k
{
type pressureInletVelocity;
value uniform (0 0 0);

}

inlet
{
type pressureInletVelocity;
value uniform (0 0 0);
}


outlet
{
type zeroGradient;
}

But it seems like the flow at inlet goes the wrong way. In Paraview i see that the current flows out of the pipe at the inlet and not into it.
inlet = small pipe
inlet_k = big pipe

Thanks in advance for any help. Really appreciate anything!
Attached Images
File Type: png Opstilling_skitse.png (33.5 KB, 2 views)
File Type: png Salome_geometri.png (21.1 KB, 3 views)
skovmunk is offline   Reply With Quote

Old   May 30, 2021, 16:31
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 10
HPE is on a distinguished road
setting velocity inlets to zeroGradient and/or pressure inlets to fixedValues could help?
skovmunk likes this.
HPE is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT -4. The time now is 14:44.