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

Channel flow using InterFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree21Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2016, 03:42
Default
  #41
New Member
 
Madeleine
Join Date: Jun 2016
Posts: 14
Rep Power: 10
Madi is on a distinguished road
Hi to all,

DanM I tried your boundary conditions for my openchannel and it works. Thanks for that. But now I've got an other problem. I want to beveling my geometry with a 20° square. And now my case dont get good results. There is a turbulence in the channel wich wasn't there before. I dont know how to fix the problem. I attaced my case files and some pictures to show my case. Please can anybody help me.
Attached Images
File Type: png channel_20°_swe.png (13.9 KB, 121 views)
File Type: png channel_20°_u.png (34.5 KB, 142 views)
Attached Files
File Type: zip 0.zip (10.1 KB, 49 views)
File Type: zip system.zip (16.0 KB, 19 views)
File Type: zip constant_1.zip (11.5 KB, 24 views)
Bashar likes this.
Madi is offline   Reply With Quote

Old   July 12, 2016, 03:48
Default
  #42
New Member
 
Madeleine
Join Date: Jun 2016
Posts: 14
Rep Power: 10
Madi is on a distinguished road
And my water level decreases to. Here are my files with the normal geometry.
Attached Images
File Type: png channel.png (6.4 KB, 78 views)
File Type: png channel_u.png (27.9 KB, 116 views)
Attached Files
File Type: zip 0.zip (10.1 KB, 36 views)
File Type: zip system.zip (16.0 KB, 21 views)
File Type: zip constant_1.zip (11.2 KB, 22 views)
Madi is offline   Reply With Quote

Old   January 5, 2017, 02:58
Default
  #43
New Member
 
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 10
Saran16 is on a distinguished road
Hii Friends

Iam new to openfoam iam modelling a two phase flow in which water flows through one sideand air flows through the other how to determine that the liquids flows in their respective direction


Thank You
Saran16 is offline   Reply With Quote

Old   January 31, 2020, 16:34
Default
  #44
Senior Member
 
Join Date: Jul 2019
Posts: 148
Rep Power: 7
Bodo1993 is on a distinguished road
Hi,
I am simulating 2D vertical channel flow (flow between two plates). Fluid 1 is initially filling the channel and Fluid 2 is injected to the domain from below.

I am getting some troubles at the outlet; the fluids exist just from some portion of the outlet (not the whole patch).

The boundary conditions I use at the outlet are:

U -> pressureInletOutletVelocity
P_rgh -> totalPressure with p0 = 0
phase -> inletOutlet

I would be grateful for any advice. Please let me know if further information is required.

Thanks.
Bodo1993 is offline   Reply With Quote

Old   July 7, 2020, 17:47
Default free surface flows
  #45
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 9
Rep Power: 6
valdirene.rocho is on a distinguished road
Good afternoon

I'm trying to simulate a biphasic flow (water/air) in openFoam (version 7) and I'm having a lot of difficulty regarding the boundary conditions to be used. Has anyone worked with this problem?
valdirene.rocho is offline   Reply With Quote

Old   July 9, 2020, 09:54
Default
  #46
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 240
Rep Power: 17
vonboett is on a distinguished road
Quote:
Originally Posted by valdirene.rocho View Post
Good afternoon

I'm trying to simulate a biphasic flow (water/air) in openFoam (version 7) and I'm having a lot of difficulty regarding the boundary conditions to be used. Has anyone worked with this problem?
sure, please explain your kind of problems or at least your kind of flow (simple geometry or compley geometry, defined inlet and outlet flow depth or ungnown/to be calculated, known discharge, known pressure in the air, turbulence reynolds number, size of domain)
valdirene.rocho likes this.
vonboett is offline   Reply With Quote

Old   July 21, 2020, 15:28
Default free surface flows
  #47
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 9
Rep Power: 6
valdirene.rocho is on a distinguished road
Hello

I would like to program a biphasic flow in openFoam in a permanent regime, very viscous (Re = 1). I thought it would be only in the fvSchemes folder to make changes to this item
ddtSchemes
{
default steadyState;
}
But it is not that way, it presents errors (see figure no link)

file:///C:/Users/Cliente/Desktop/fig2.JPG


Please, I need help!
valdirene.rocho is offline   Reply With Quote

Old   July 29, 2020, 21:21
Default two-phase flow problem
  #48
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 9
Rep Power: 6
valdirene.rocho is on a distinguished road
Good evening

Guys, I'm working with a two-phase flow (laminar) in openFoam 7 but I haven't managed to set the boundary conditions yet.
My advisor suggested using the boundary condition below:

type pressureDirectedInletOutletVelocity;
phi phi;
rho rho;
inletDirection uniform (1 0 0);
value uniform 0;

However, the following error appears:

FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, Ncmpts>, found on line 41043 the label 0

file: /home/valdirene/Documentos/Estado_transiente/pressureDirectedInletOutletVelocity/0/U.boundaryField.saidaInferior.value at line 41043.

From function Foam::Istream& Foam::Istream::readBegin(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 92.

FOAM exiting

Segmentation fault (core dumped)

Can someone help me? Whether using this boundary condition or how to fix the problem.
valdirene.rocho is offline   Reply With Quote

Old   July 29, 2020, 21:23
Default two-phase flow problem
  #49
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 9
Rep Power: 6
valdirene.rocho is on a distinguished road
Good evening

Guys, I'm working with a two-phase flow (laminar) in openFoam 7 but I haven't managed to set the boundary conditions yet.
My advisor suggested using the boundary condition below:

type pressureDirectedInletOutletVelocity;
phi phi;
rho rho;
inletDirection uniform (1 0 0);
value uniform 0;

However, the following error appears:

FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, Ncmpts>, found on line 41043 the label 0

file: /home/valdirene/Documentos/Estado_transiente/pressureDirectedInletOutletVelocity/0/U.boundaryField.saidaInferior.value at line 41043.

From function Foam::Istream& Foam::Istream::readBegin(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 92.

FOAM exiting

Segmentation fault (core dumped)

Can someone help me? Whether using this boundary condition or how to fix the problem.
valdirene.rocho is offline   Reply With Quote

Old   July 31, 2020, 12:43
Default
  #50
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi, try this:

Code:
type pressureDirectedInletOutletVelocity;
phi phi;
rho rho;
inletDirection uniform (1 0 0);
value uniform (0 0 0);
This is the velocity so use a vector.

Cheers,
Tom
tomf 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
interFoam and stratified flow in a pipeline AlmostSurelyRob OpenFOAM 1 February 24, 2011 19:23
boundary conditions for 3D channel flow with heat transfer Aloex FLUENT 1 February 22, 2011 13:28
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 22:58
Stabilizing turbulence equation in channel flow Biga Main CFD Forum 5 March 22, 2005 21:06
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 13:19


All times are GMT -4. The time now is 21:19.