|
[Sponsors] |
February 10, 2014, 11:46 |
Using shipFoam the tank slowly runs empty
|
#1 |
Member
Manoj
Join Date: Jun 2013
Posts: 38
Rep Power: 13 |
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 |
|
Tags |
channel, inlet, outlet, shipfoam |
|
|
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 |