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

Using shipFoam the tank slowly runs empty

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2014, 11:46
Default Using shipFoam the tank slowly runs empty
  #1
Member
 
Manoj
Join Date: Jun 2013
Posts: 38
Rep Power: 13
manoj_nav is on a distinguished road
Hi all

I am new to OF and I am using shipFoam under OF1.6 to simulate flow around ship hull in calm water and with waves. But as the simulation progresses, the tank slowly empties. Please help me to identify the issue.

I have given following input to alpha, p and U under folder '0'.

Alpha :

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;
boundaryField
{

Inlet
{
type fixedValue;
value uniform 1;
}
Outlet
{
type inletOutlet;
inletValue uniform 0;
value uniform 1;
}
Top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
sides
{
type symmetryPlane;
}

hull_wall
{
type zeroGradient;
}

}

p :

FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object pd;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform 0;

boundaryField
{
Inlet
{
type zeroGradient;
}
Outlet
{
type zeroGradient;

}
Top
{
type totalPressure;
p0 uniform 0;
U U;
phi phi;
rho rho;
psi none;
gamma 0;
value uniform 0;
}
sides
{
type symmetryPlane;
}

hull_wall
{
type zeroGradient;
}
}

U:

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

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

internalField uniform (0.5 0 0);

boundaryField
{
Inlet
{
type surfaceWaveVelocity;
phi phi;
value uniform (0.5 0 0);
}
Outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0.5 0 0);
}
Top
{
type pressureInletOutletVelocity;
value uniform (0.5 0 0);
}

sides
{
type symmetryPlane;
}
hull_wall
{
type movingWallVelocity;
value uniform (0 0 0);
}
}

Regards,

Manoj
manoj_nav is offline   Reply With Quote

Reply

Tags
channel, inlet, outlet, shipfoam


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
interFoam / bubbleFoam to simulate an aerated tank Meratb OpenFOAM Running, Solving & CFD 3 November 6, 2020 12:45
Need Help! High pressure Gas discharge from tank to tank through a pipe superarthur86 FLUENT 2 June 16, 2017 11:22
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
Blow Tank Simulation ... Need Help! treyevans CFX 1 February 20, 2010 01:42


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