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

Draining flow in a tank

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2020, 19:35
Default Draining flow in a tank
  #1
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9
joshmccraney is on a distinguished road
Hi FOAMers!

I'm draining a rectangular tank partially filled with liquid in low gravity. As time continues, liquid collects in the corners and eventually wicks into the drain port. However, my simulation crashes every time there is not constant liquid over the drain location.

For clarity, I've attached two times t1.png and t2.png. The liquid-gas interface is shown as a white curve. I've also included the tank outline. At t1 everything runs well. t2 crashes, with a final warning:

"mpirun noticed that process rank 0 with PID 0 on node josh-Latitude-E7470 exited on signal 8 (Floating point exception)."

I don't think this is a memory issue, because when I fill the tank higher initially, it runs to later times until the same phenomina in t2.png.

For BCs, in the U directory, at the drain location (called inlet) I specify

inlet
{
type flowRateInletVelocity;
volumetricFlowRate -0.2;
value uniform (0 0 0);
}

Your insight is greatly appreciated!
Attached Images
File Type: png t1.png (44.7 KB, 41 views)
File Type: png t2.png (46.0 KB, 30 views)
joshmccraney is offline   Reply With Quote

Old   January 20, 2020, 20:44
Default
  #2
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9
joshmccraney is on a distinguished road
I forgot to specify, but I'm modifying the tutorial here. It's super simple, but I'm so confused why the code breaks.
joshmccraney is offline   Reply With Quote

Old   January 22, 2020, 12:59
Default
  #3
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 9
joshmccraney is on a distinguished road
So I figured out what the issue is, for future inquiry. If you're using the tutorial listed, the issue was in the alpha.water.org directory. Specifically, the inlet BC should be changed to type inletOutlet, the same as the outlet BC.
joshmccraney is offline   Reply With Quote

Old   August 27, 2022, 17:08
Default
  #4
New Member
 
helensimm's Avatar
 
helen simm
Join Date: Oct 2021
Posts: 1
Rep Power: 0
helensimm is on a distinguished road
What should I do if blockages periodically appear in my sewer system?
helensimm is offline   Reply With Quote

Old   August 27, 2022, 17:11
Default
  #5
New Member
 
Tracey Payne
Join Date: Dec 2020
Posts: 1
Rep Power: 0
TPayne is on a distinguished road
If the clogs appear periodically, you should find the source of the problem. Often clogs appear because people throw objects into the toilet bowl, which get stuck in the pipe. Also, the clog can be formed naturally by the accumulation of grease. To remove the clog, I recommend that you contact thedraincleaningservice.com; these guys are real professionals who have long worked in this field. They will help you get rid of clogs of any complexity.
TPayne 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
Too low turbulence in a tank flow compared to experiment AndyCF Main CFD Forum 0 July 28, 2019 09:57
reversed flow in a tank Comi FLUENT 11 June 11, 2019 07:58
Multiphase Flow in Closed Tank cfd seeker CFX 50 May 6, 2019 09:41
Continuous mixing flow simulation in a Tank Meca_Ali FLUENT 7 March 14, 2018 06:50
Water flow in large tank 2d, axi, VOF jarekk91 FLUENT 0 February 16, 2018 05:47


All times are GMT -4. The time now is 01:32.