CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How to generate second order stokes waves by interDyMFoam? (http://www.cfd-online.com/Forums/openfoam-programming-development/102780-how-generate-second-order-stokes-waves-interdymfoam.html)

 shchao June 2, 2012 02:28

How to generate second order stokes waves by interDyMFoam?

Hello,everyone!
I am a beginner.I want to generate the second order stokes waves by interDyMFoam.Now I use piston to generate the regular waves but i don't know where can i find the fomula of piston displacement.I just find the wave surface function and the potential function...by the way ,which file contains the continuity equation and the energy equation in interFoam?Thank you!

 kmooney June 4, 2012 11:16

Quote:
 Originally Posted by shchao (Post 364383) Hello,everyone! I am a beginner.I want to generate the second order stokes waves by interDyMFoam.Now I use piston to generate the regular waves but i don't know where can i find the fomula of piston displacement.I just find the wave surface function and the potential function...by the way ,which file contains the continuity equation and the energy equation in interFoam?Thank you!
This might be a good place to start:

http://openfoamwiki.net/index.php/Contrib/waves2Foam

 Phicau June 4, 2012 11:21

Quote:
 Originally Posted by shchao (Post 364383) Hello,everyone! I am a beginner.I want to generate the second order stokes waves by interDyMFoam.Now I use piston to generate the regular waves but i don't know where can i find the fomula of piston displacement.I just find the wave surface function and the potential function...by the way ,which file contains the continuity equation and the energy equation in interFoam?Thank you!
You can find it in:

Dean and Dalrymple
Water wave mechanics for engineers and scientists
Chapter 6

Regards

 All times are GMT -4. The time now is 09:52.