CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] groovyBC setting different directions for waves and velocity profile (https://www.cfd-online.com/Forums/openfoam-community-contributions/121558-groovybc-setting-different-directions-waves-velocity-profile.html)

kilroy July 31, 2013 09:33

groovyBC setting different directions for waves and velocity profile
 
Hello,

I have a question about groovyBC.

With groovyBC, is it possible to define the wave direction and the current direction different than each other?

I am trying to model a boat traveling through waves (wave speed) with constant speed (boat speed). I want to see the performance of the boat with waves coming from different directions in different cases, so I need to define the direction of the waves and the current directions different than each other.

I mean lets say is it possible to define uniform velocity distribution from bottom to sea-level in x-direction and at the same time is it possible to generate my waves traveling in y-direction?

If this setup is possible, does anybody know a tutorial/example that I can go through?

Thank you very much for your help in advance,

Best,
kilroy

gschaider August 2, 2013 06:00

Quote:

Originally Posted by kilroy (Post 443059)
Hello,

I have a question about groovyBC.

With groovyBC, is it possible to define the wave direction and the current direction different than each other?

I am trying to model a boat traveling through waves (wave speed) with constant speed (boat speed). I want to see the performance of the boat with waves coming from different directions in different cases, so I need to define the direction of the waves and the current directions different than each other.

I mean lets say is it possible to define uniform velocity distribution from bottom to sea-level in x-direction and at the same time is it possible to generate my waves traveling in y-direction?

If this setup is possible, does anybody know a tutorial/example that I can go through?

Thank you very much for your help in advance,

Best,
kilroy

It is not 100% clear from your posting what you mean "wave speed" and "boat speed", but I think your problem is more the mathematical formulation of the boundary conditions (whether you take the boat as the reference system for your velocities for instance) than the technical implementation with groovyBC.

I'm not an expert, but have a look at the ShipHydrodynamics-sessions at http://www.openfoamworkshop2013.org/...p?Main=2&sub=1 to get an idea what is being done


All times are GMT -4. The time now is 21:01.