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 Members List Search Today's Posts Mark Forums Read

Like Tree18Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2016, 02:42
Default
  #41
New Member
 
Madeleine
Join Date: Jun 2016
Posts: 14
Rep Power: 6
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, 80 views)
File Type: png channel_20°_u.png (34.5 KB, 100 views)
Attached Files
File Type: zip 0.zip (10.1 KB, 40 views)
File Type: zip system.zip (16.0 KB, 15 views)
File Type: zip constant_1.zip (11.5 KB, 18 views)
Bashar likes this.
Madi is offline   Reply With Quote

Old   July 12, 2016, 02:48
Default
  #42
New Member
 
Madeleine
Join Date: Jun 2016
Posts: 14
Rep Power: 6
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, 60 views)
File Type: png channel_u.png (27.9 KB, 91 views)
Attached Files
File Type: zip 0.zip (10.1 KB, 31 views)
File Type: zip system.zip (16.0 KB, 19 views)
File Type: zip constant_1.zip (11.2 KB, 20 views)
Madi is offline   Reply With Quote

Old   January 5, 2017, 01:58
Default
  #43
New Member
 
saran
Join Date: Nov 2016
Posts: 10
Rep Power: 5
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, 15:34
Default
  #44
Member
 
Join Date: Jul 2019
Posts: 75
Rep Power: 3
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, 16:47
Default free surface flows
  #45
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 7
Rep Power: 2
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, 08:54
Default
  #46
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 228
Rep Power: 12
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, 14:28
Default free surface flows
  #47
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 7
Rep Power: 2
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, 20:21
Default two-phase flow problem
  #48
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 7
Rep Power: 2
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, 20:23
Default two-phase flow problem
  #49
New Member
 
Valdirene da Rosa Rocho
Join Date: Jul 2020
Posts: 7
Rep Power: 2
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, 11:43
Default
  #50
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 552
Rep Power: 22
tomf 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 online now   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
interFoam and stratified flow in a pipeline AlmostSurelyRob OpenFOAM 1 February 24, 2011 18:23
boundary conditions for 3D channel flow with heat transfer Aloex FLUENT 1 February 22, 2011 12:28
Open Channel Flow using InterFoam type solver sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58
Stabilizing turbulence equation in channel flow Biga Main CFD Forum 5 March 22, 2005 20:06
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 12:19


All times are GMT -4. The time now is 09:59.