|
[Sponsors] |
November 22, 2017, 06:22 |
flap-type wavemaker
|
#1 |
New Member
Sungbae Lee
Join Date: Oct 2017
Posts: 25
Rep Power: 9 |
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 |
|
November 22, 2017, 07:52 |
|
#2 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
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 |
|
|
|
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 |