CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Assigning regions for a open tank with a hole to drain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2016, 05:28
Default Assigning regions for a open tank with a hole to drain
  #1
New Member
 
Teena T.
Join Date: Mar 2013
Location: Germany
Posts: 14
Rep Power: 13
tiatabasco is on a distinguished road
I would like to know how can I assign two regions on the same surface for example in figure bottom wall and Outlet on the same plane but need to be two regions. I created an extruded tank. but I do not know how to include the outlet.
Attached Images
File Type: jpg Regions.JPG (16.3 KB, 18 views)
tiatabasco is offline   Reply With Quote

Old   June 28, 2016, 01:02
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Why do they need to be in two regions? They can just be two separate boundaries in one region.
me3840 is offline   Reply With Quote

Old   June 28, 2016, 08:50
Default
  #3
New Member
 
Teena T.
Join Date: Mar 2013
Location: Germany
Posts: 14
Rep Power: 13
tiatabasco is on a distinguished road
Hey thanks. I already did it that way. Now I Have another issue and that is how do I stop the iterations for example when the water has all drained down stop at a particular volume of fraction of water)? Its a multiphase simulation with water(liquid) and air (gas) and I have used VOF model.
tiatabasco is offline   Reply With Quote

Old   June 28, 2016, 09:04
Default
  #4
Senior Member
 
kevin alun
Join Date: Sep 2011
Location: Germany
Posts: 106
Rep Power: 14
marmot is on a distinguished road
Thats a good question I would monitor the mass of water in the system,

Create a field function
$VolumeFractionWater*$DensityWater

Create a report, volume integral, using the whole region and the field function you created

right click on report created and create plot and monitor or just monitor

go to stopping criteria, right click and create new criteria from monitor and choose the volumeIntegral one,

now you can set a min, would not use zero but something like 0.1% of the starting mass of water,
marmot is offline   Reply With Quote

Old   June 28, 2016, 10:21
Default
  #5
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
You don't have to do a field function for this, you could just make a sum report of the water volume fraction. Once it drops below some threshold then stop.

If you want a physical means, you need to make a field function:
$VolumeFractionWater*$DensityWater*$Volume
me3840 is offline   Reply With Quote

Old   June 28, 2016, 12:07
Default
  #6
New Member
 
Teena T.
Join Date: Mar 2013
Location: Germany
Posts: 14
Rep Power: 13
tiatabasco is on a distinguished road
I made a
-new Report with Volume average and scalar field function as Volume Fraction of H2O and parts as the region of fluid
-created monitor and plots
-I created new Stopping criteria from Monitor and selected Volume Average and
I know my initial Volume Fraction of H2O is 0.62 and I set the the maximum limit as 0.1. I wanna know what does maximum and minimum really mean?
tiatabasco is offline   Reply With Quote

Old   June 29, 2016, 02:40
Default
  #7
Senior Member
 
kevin alun
Join Date: Sep 2011
Location: Germany
Posts: 106
Rep Power: 14
marmot is on a distinguished road
OK you now have the general idea how to create a stopping criteria from a monitor,
but I still think it is easier to think in terms of mass or volume of water, for example say you start with 5kg and when you have 50g in the tank stop the simulation,


I believe me3840 suggested a sum report, which would be like volume, but I don't think a volume average is the best way,
marmot is offline   Reply With Quote

Old   June 29, 2016, 08:53
Default
  #8
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Quote:
Originally Posted by marmot View Post

I believe me3840 suggested a sum report, which would be like volume, but I don't think a volume average is the best way,

My suggestion was equivalent to yours (mass), I just put volume in a sum report instead of using a volume integral report.

The 'min' and 'max' for the stopping criteria are threshold. So if a value drops below the minimum, it stops iterating. Similarly, if it exceeds some maximum, it stops. If you want to stop when the tank is drained, setting a minimum would work.
me3840 is offline   Reply With Quote

Old   June 29, 2016, 08:54
Default
  #9
New Member
 
Teena T.
Join Date: Mar 2013
Location: Germany
Posts: 14
Rep Power: 13
tiatabasco is on a distinguished road
Hallo marmot!

Thanks a lot for your advice. I would like to know one more think. Is there any way I can plot a height of water column vs. Time? That would be ma main concern on how much time to empty the tank
tiatabasco is offline   Reply With Quote

Old   June 29, 2016, 09:14
Default
  #10
New Member
 
Teena T.
Join Date: Mar 2013
Location: Germany
Posts: 14
Rep Power: 13
tiatabasco is on a distinguished road
HAllo me3840!

Thank you so much for your reply. Its working perfectly now. I used volume sum
tiatabasco 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
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
error messages about blockmeshing and solving cramsdead OpenFOAM Pre-Processing 2 November 11, 2014 10:53
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 02:36


All times are GMT -4. The time now is 08:25.