groovyBC + sinusoidial waves
Hello togeher ...
maybe this ist a simple question, but nevertheless I am al little confused about and hope someone could help me. I woluld like to use the groovyBC for the creation of a sinusoidial water wave ... and later for a standing wave ... first in 2dim. At this point it is more or less a question for me of understanding, how to deal with this kind of boundaray conditition ... Thanks in advance ... Axel |
Quote:
Basically write the boundary conditions down on a piece of paper. That is the difficult part. Implementing them in groovyBC ist pretty straightforward. There is an example case groovyWaveTank floating around somewhere. I understand that it doesn't work with the latest versions of OF, but it might give you an idea |
Thanks for your answer. I would like to use the groovyBC for the generation of water waves in a wave tank.
I've found the "groovyWaveTank case" you mentioned and got it working for OpenFOAM 2.0.x. ... but I still have problems in understanding the syntax of the "value expression" part. Normaly at this point I reduce a problem to something I am more familiar with. So my idea of generating sinusoidial water wave with the groovyBC. there seems to be three parts in the value expression " .... ? ... : ... " ... the first one seems to describe the wave as a scalar, the second as a vector .... standing for the propagation of the wave in each direction (?). But playing with this didn't bring me very far. Any hint for me? Thanks again and have a nice weekend! Greetings ... Axel |
Quote:
http://openfoamwiki.net/index.php/Co...e_implemented: Basically "a ? b : c" means "if a is true in a face then use b else use c" |
thanks for your help ...
this seems to be one more thing of the "I should have known" type ... :rolleyes: |
Quote:
|
All times are GMT -4. The time now is 12:56. |