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

flap-type wavemaker

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2017, 06:22
Default flap-type wavemaker
  #1
New Member
 
Sungbae Lee
Join Date: Oct 2017
Posts: 25
Rep Power: 9
lsb1292 is on a distinguished road
Hello folks,

I am using openfoam 5 and looking at a flap-type wavemaker case.

in the pointDisplacement file,

FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"

inlet
{
type fixedValue;
value uniform (0 0 0);
}

outlet
{
type fixedValue;
value uniform (0 0 0);
}

bottom
{
type fixedValue;
value uniform (0 0 0);
}

atmosphere
{
type fixedValue;
value uniform (0 0 0);
}

flapper
{
type angularOscillatingDisplacement;
omega 2.86; // 2.2 second period
axis (0 0 1);
origin (3.1 -2.44 0.05);
angle0 0;
amplitude -0.048; // Max piston stroke
value uniform (0 0 0);
}
}

Where and how can I find how flapper is defined?

could anyone tell me?

and could anyone tell me how to look up openfoam source code?

An example could be very useful to me.

Thank you.

Sungbae Lee
lsb1292 is offline   Reply With Quote

Old   November 22, 2017, 07:52
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi,

you should look for the angularOscillatingDisplacement boundary condition in the source

src/code.fvMotionSolver/pointPatchFields/derived/angularOscillatingDisplacement/angularOscillatingDisplacementPointPatchVectorFiel d.H

Nevertheless you might find this useful:

https://www.youtube.com/watch?v=9xG_YRGjdeg

The source code and tutorial case are online.

Best,

Pablo
Phicau 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
activeBaffleVelocity boundary condition ? om3ro OpenFOAM Programming & Development 10 November 17, 2020 00:26
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 03:41
interFoam/kOmegaSST tank filling with printStackError/Mules simpomann OpenFOAM Running, Solving & CFD 3 February 17, 2014 18:06
[swak4Foam] Air Conditioned room groovyBC Sebaj OpenFOAM Community Contributions 7 October 31, 2012 15:16


All times are GMT -4. The time now is 22:57.