CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   problem with velocity field during tank filling/ interfoam solver (https://www.cfd-online.com/Forums/openfoam-solving/225778-problem-velocity-field-during-tank-filling-interfoam-solver.html)

dpoly April 7, 2020 08:05

problem with velocity field during tank filling/ interfoam solver
 
5 Attachment(s)
Dear All,
I have a tank filled until a point with water the rest of the domain is air. The inlet is inside the water. I am interested to check the turbulence created by the water flow from the inlet. As you can see from the images the whole domain seems to have the same velocity while gradually the velocity increases in the air part of the domain and the computation finally crashes. Can anybody help me with what I am doing wrong? I have attached my boundary conditions and the log file output.
Thanking you in advance for your answer.
Best Regards,
D.


------------Velocity------------------------------------------------------------

FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
upper_boundary
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

walls
{
type zeroGradient;
}

outlet
{
type zeroGradient;
}


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

}

-----------------------------------p_rgh-------------------------------

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 -1 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{

inlet
{
type zeroGradient;
value $internalField;
}

walls
{
type fixedFluxPressure;
value $internalField;
}

upper_boundary
{
type totalPressure;
p0 uniform 0;
value $internalField;
}


outlet
{
type zeroGradient;
value $internalField;
}


}


All times are GMT -4. The time now is 02:24.