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

Using shipFoam the tank slowly runs empty

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 10, 2014, 11:46
Default Using shipFoam the tank slowly runs empty
  #1
New Member
 
Manoj
Join Date: Jun 2013
Posts: 7
Rep Power: 4
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 13:31
Need Help! High pressure Gas discharge from tank to tank through a pipe superarthur86 FLUENT 1 April 2, 2012 14:58
interFoam / bubbleFoam to simulate an aerated tank Meratb OpenFOAM Running, Solving & CFD 2 June 9, 2011 07:35
Blow Tank Simulation ... Need Help! treyevans CFX 1 February 20, 2010 01:42


All times are GMT -4. The time now is 13:34.