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

waves2Foam eroor when visualising in paraFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2017, 02:42
Default waves2Foam eroor when visualising in paraFoam
  #1
New Member
 
Pooja Verma
Join Date: May 2017
Posts: 13
Rep Power: 8
PVERMA is on a distinguished road
Hi,
I am new to OpenFOAM 2.3.0 and I m using waves2Foam utility. I am trying to make a program to harness wave energy by a floating body , but the results shown in paraFoam are very different.
alpha file
dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type waveAlpha;
refValue uniform 0;
refGrad uniform 0;
valueFraction uniform 1;
value uniform 0;
}
bottom
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
frontBack
{
type zeroGradient;
}
floatingObject
{
type zeroGradient;
}
}


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

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type totalPressure;
U U;
phi phi;
rho none;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
frontBack
{
type zeroGradient;
}
floatingObject
{
type zeroGradient;
}
}

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

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type totalPressure;
p0 uniform 0;
}
frontBack
{
type zeroGradient;
}
floatingObject
{
type zeroGradient;
}
}


u file
dimensions [0 1 -1 0 0 0 0];

internalField uniform ( 0.0 0.0 0.0);

boundaryField
{
inlet
{
type waveVelocity;
refValue uniform ( 0 1 0 ); //(0 0 0)
refGradient uniform ( 0 0 0 );
valueFraction uniform 1;
value uniform ( 0 0 0 );
}
bottom
{
type fixedValue;
value uniform ( 0 0 0 );
}
outlet
{
type fixedValue;
value uniform ( 0 0 0 );
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform ( 0 0 0 );
}
frontBack
{
type fixedValue;
value uniform ( 0 0 0);
}
floatingObject
{
type movingWallVelocity;
value uniform (0 0 0);
}
}

blockMesh
convertToMeters 1;

vertices
(
( 0 0 0 )
( 5 0 0 )
( 5 1.5 0 )
( 0 1.5 0 )

( 0 0 1)
( 5 0 1)
( 5 1.5 1)
( 0 1.5 1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) ( 60 60 1 ) simpleGrading (1 1 1)
);

edges
(
);

patches
(
patch inlet
(
(0 4 7 3)
)
wall bottom
(
(4 0 1 5)
)
wall outlet
(
(1 2 6 5)
)

patch atmosphere
(
(2 3 7 6)
)

empty frontBack
(
(5 6 7 4)
(0 3 2 1)
)

wall floatingObject
(
)
);

mergePatchPairs
(
);


I need help urgently.
Attached Files
File Type: gz water.mp4.tar.gz (73.9 KB, 0 views)
PVERMA is offline   Reply With Quote

Reply


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
[OpenFOAM] How to use paraFoam on a cluster andreas ParaView 1 March 6, 2013 17:11
[OpenFOAM] OpenFoam (Ubuntu): paraFoam via Xming+PuTTY raketenmaid ParaView 4 February 5, 2013 05:20
Visualising thermal deformation in paraFoam TomStarke OpenFOAM 1 August 24, 2010 11:01
[OpenFOAM] Parafoam basic questions qtian ParaView 0 July 20, 2007 11:52
[OpenFOAM] ParaFoam OF 14 decomposed cases philippose ParaView 4 April 18, 2007 05:17


All times are GMT -4. The time now is 18:32.