|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
ashwin
Join Date: Jul 2012
Location: erlangen
Posts: 26
Rep Power: 15 ![]() |
Hello,
I am trying to fill a tank with water as shown in the figure. The red line indicates the water inlet at t=0 and the green line indicates the air exit. The picture was taken at 46 secs with the timestep being 0.0001. I have been running the case for over two weeks and the water level stopped to be filled in as in the screenshot. I am using the following initial conditions. alpha.water Code:
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
outlet
{
type zeroGradient;
}
walls
{
type zeroGradient;
}
}
Code:
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type fixedFluxPressure;
value uniform 0;
}
outlet
{
type outletInlet;
outletValue uniform 0;
value uniform 0;
}
walls
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
}
}
Code:
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type fixedValue;
value uniform (2 0 0);
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
walls
{
type fixedValue;
value uniform (0 0 0);
}
}
Regards Ashwin |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 19 ![]() |
hello ashghan,
The problem is the pressure definition. The number of variables is not equal to the number of freedom. Your system needs a point where the pressure is known. If you look at the angledDuct turorial and remove the viscosity things (in 0 dir two boundaries, in fvOptions remove all you have a working case. I did this with a simple form of your fueltank? It ran for less than 4 hours. I enclosed my case, but I had to remove the mesh because of the size restrictions. Hope this helps Wouter Last edited by wouter; June 15, 2014 at 19:00. |
|
|
|
|
|
|
|
|
#3 | |
|
New Member
ashwin
Join Date: Jul 2012
Location: erlangen
Posts: 26
Rep Power: 15 ![]() |
Hey,
Yeah it works. Thanks ![]() Quote:
|
||
|
|
|
||
|
|
|
#4 |
|
New Member
Join Date: Feb 2013
Posts: 24
Rep Power: 14 ![]() |
Hi,
I am trying to solve water filling bottle tutorial from long back (http://www.tfd.chalmers.se/~hani/kur...Hemida_VOF.pdf). I am not getting reasonable results. I used inlet velocity as 0.1 m/sec. I am attaching my FOAM files. Please kindly let me know what mistake I am doing. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filling Tank with Water | leff | CFX | 7 | August 21, 2017 08:47 |
| Filling tank with water | Bin | ANSYS | 1 | August 21, 2017 08:17 |
| Simple Water Tank Transient | 88phil88 | CFX | 5 | March 17, 2014 04:48 |
| Mixture and Decay of a tracer in a Water Tank | Jeffrey1992 | CFX | 2 | July 27, 2012 14:31 |
| uptodate water distribution network | fredius,magige,tanzanian,(e.a) | Main CFD Forum | 0 | January 27, 2002 08:10 |