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

outlet boundary condition in alpha.water with interFoam for faster performance

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fsifsi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2017, 11:03
Default outlet boundary condition in alpha.water with interFoam for faster performance
  #1
New Member
 
Oliver K
Join Date: May 2017
Posts: 15
Rep Power: 9
silencebreak is on a distinguished road
Hey there,

I got an issue with setting a better outlet boundary condition in an interFoam simulation.

The case:
I got an reservoir with water at free surface conditions and air (so two phases). I got an outlet/inlet at the bottom of the reservoir from where water could get in and out. The top of the reservoir is with an atmosphere patch where air could get in but no water out.

The issue is as followed:
I don't get any problems for the case that water is flooding in the reservoir.
But the problem is my case where the water is flooding out. When I set (in my opinion) the right boundary conditions the simulation is really slow, like 12 seconds of simulations with 12 hours and 60 cores running.
So I want to simplify it and just let water out at the outlet. So i tried just to set the outlet patch in alpha.water to fixedValue with value 1. It's running a lot faster but max (alpha.water) is rising really slowly so the case is running for some hours but after around 70 simulation seconds the time steps decrease massively and stops.

my outlet BC are for
U: inletOutlet
p_rgh: fixedValue
alpha.water: works with inletOutlet but is really slow
alpha.water: fails after some hours of calculating with fixedValue

Does anyone have any experience how to set the boundary condition for my outlet at alpha.water to let just water out or speed my calculation up and not using fixedValue?

Cheers,
Oli
silencebreak is offline   Reply With Quote

Old   October 27, 2017, 03:54
Default
  #2
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
Hi Oli,

if I got you right you are simulating an open tank with outflow?
Try these boundary conditions:

outlet
Code:
U: inletOutlet
p_rgh: fixedValue
alpha.water: inletOutlet
inlet
Code:
U: pressureInletOutletVelocity
p_rgh: totalPressure
alpha.water: fixedValue
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Old   October 27, 2017, 05:02
Default
  #3
New Member
 
Oliver K
Join Date: May 2017
Posts: 15
Rep Power: 9
silencebreak is on a distinguished road
Quote:
Originally Posted by pbalz View Post
Hi Oli,

if I got you right you are simulating an open tank with outflow?
Yes, with inflow and outflow. Where the inflow is perfectly fine but the calculating time for the outflow is really slow, so I wanted to speed it up, because I can't wait that long...

Quote:
Originally Posted by pbalz View Post
Try these boundary conditions:

outlet
Code:
U: inletOutlet
p_rgh: fixedValue
alpha.water: inletOutlet
Thanks, wasn't clear enough I think, sorry for that. Those are exactly the BCs which makes running the case really slow...
Got any other idea how the boundary condition could be set for alpha.water?

Thanks a lot in advance

Cheers,
Oli
silencebreak is offline   Reply With Quote

Old   October 27, 2017, 05:18
Default
  #4
Member
 
Pascal Balz
Join Date: Feb 2015
Location: Germany
Posts: 44
Rep Power: 11
pbalz is on a distinguished road
Quote:
Those are exactly the BCs which makes running the case really slow...
Ups, sorry...
So are you using the same inlet boundary conditions as I posted?
In fact I simulated a similar problem a few weeks ago and my inlet boundary conditions made the solver slow down. In my case these exact BCs worked out to deliver a fast solution without decreasing timesteps.

If this doesn't work out I have no other idea what could be the problem...
__________________
Regards,
Pascal
pbalz is offline   Reply With Quote

Old   June 3, 2020, 07:08
Default free surface goes down versus time
  #5
Member
 
le
Join Date: Nov 2009
Location: seoul
Posts: 34
Rep Power: 17
fsifsi is on a distinguished road
Hello Alls,
I use OF1812 and run case from tutorial waveMakerFlap and modify height of wave at inlet from 0.06 to 0.1m
Everything goes well but the free surface drop at the outlet. Can you give me some hints ?
highly appreciated your comments.
Attached Images
File Type: png wave.png (65.1 KB, 122 views)
Mahmoud Abbaszadeh likes this.
fsifsi is offline   Reply With Quote

Old   May 18, 2022, 23:38
Default
  #6
Member
 
Mahmoud
Join Date: Nov 2020
Location: United Kingdom
Posts: 43
Rep Power: 6
Mahmoud Abbaszadeh is on a distinguished road
Quote:
Originally Posted by fsifsi View Post
Hello Alls,
I use OF1812 and run case from tutorial waveMakerFlap and modify height of wave at inlet from 0.06 to 0.1m
Everything goes well but the free surface drop at the outlet. Can you give me some hints ?
highly appreciated your comments.
Hi
Have you found the answer to this question?

Cheers
Mahmoud Abbaszadeh 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
How to set the Heat Flux boundary condition at Outlet creddy_trddc CFX 3 September 21, 2011 08:44
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23


All times are GMT -4. The time now is 17:41.