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

generate Waves in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2009, 12:55
Default
  #21
Member
 
Gautami Erukulla
Join Date: Mar 2009
Posts: 71
Rep Power: 17
gautami is on a distinguished road
Hello Mr Gschaider,

Thank you.
I think I will first try to understand and work with the distorted Cone example, and then I will implement it for the wave tank.

In your reply you said “But you should try to "go to" point values as early as possible to avoid interpolation artifacts”. I am sorry I did not understand this sentence. If you don’t mind can you please explain.

Thank you,
Gautami.
gautami is offline   Reply With Quote

Old   September 17, 2009, 18:08
Default
  #22
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by gautami View Post
Hello Mr Gschaider,

Thank you.
I think I will first try to understand and work with the distorted Cone example, and then I will implement it for the wave tank.

In your reply you said “But you should try to "go to" point values as early as possible to avoid interpolation artifacts”. I am sorry I did not understand this sentence. If you don’t mind can you please explain.
Try to achieve the same stuff using the pts() and the pos() function, think about why the pulsed-Demo-Case only gets the right parabolic profile using pts() and you will understand
gschaider is offline   Reply With Quote

Old   September 18, 2009, 06:10
Default
  #23
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
Hello,

thank you for the topic, it was really useful for my work on waves.
Maybe it was said before and I didn't see it, but using movingCone AND interDymFoam, but not groovyBC, I don't manage to modify the movingWall velocity.
Is there a way to modify it directly with the solver? I cannot find the name of the object pointMotionU in interDymFoam, so I cannot modify it. Anyone can help me please? I just miss this variable name.

Thanks a lot,

Regards,

Julien
Schag is offline   Reply With Quote

Old   October 20, 2009, 12:07
Default
  #24
Member
 
Gautami Erukulla
Join Date: Mar 2009
Posts: 71
Rep Power: 17
gautami is on a distinguished road
Hello Mr Gschaider,

At last I could model a wave tank with a piston type wave maker in InterDyMFoam using groovyBC.

Thank you very much for your guidance and prompt replies.

Thankyou,
Gautami.
gautami is offline   Reply With Quote

Old   November 19, 2013, 02:45
Default
  #25
New Member
 
Jarvis
Join Date: Jun 2013
Posts: 14
Rep Power: 13
nbyjn is on a distinguished road
Hi Niels:
I'm really want to know what do you mean by "the number of gamma evaluations per timestep needs to be 1" and how to set for this?

Thank you!
nbyjn is offline   Reply With Quote

Old   August 7, 2014, 09:52
Default Can any one tel me how can i generate wave in OpenFoam?
  #26
New Member
 
Premal Sheth
Join Date: Jun 2012
Location: Ahmadabad, Gujarat, India
Posts: 27
Rep Power: 14
premal is on a distinguished road
Send a message via Yahoo to premal Send a message via Skype™ to premal
Hello,

I read all threads but still not understand how to generate waves in OpenFoam and links given in this thread is not working so can anyone please provide me.

Can i generate waves in shallowwater Foam? if yes then please let me know

Thanks in advance

Regards,
Premal Sheth
Senior research Fellow
premal is offline   Reply With Quote

Old   January 9, 2015, 18:45
Default waves with groovyBC
  #27
New Member
 
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 16
vitor.geraldes@ist.utl.pt is on a distinguished road
I managed to simulate nice waves using the following boundary conditions together with a solver that takes into account buoyancy:

file pointmotionU:

outlet
{
type groovyBC;
value uniform (0 0 0);
valueExpression "toPoint((U&normal())/(normal()&vector(0,0,1))*vector(0,0,1))";
}

file U:
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

file p_rgh:
outlet
{
type prghPressure;
p uniform 0;
}

I have obtained nice waves, but the solver required very small time steps. The problem seems to be in the fact that the mesh is changed explicitly between time steps.
vitor.geraldes@ist.utl.pt is offline   Reply With Quote

Old   November 15, 2016, 23:16
Default
  #28
Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 10
chia87 is on a distinguished road
Hi all,

I'm doing a similar project with the thread starter, on breaking waves.

I'm trying to use the 'focussed waves method' to generate a breaking waves.
I did managed to generate a breaking wave in real life experiment, however when I tried to duplicate it in OpenFOAM, I found out that when I tried using combinedWaves with a varying phase to generate breaking wave,

I encountered some problems with the phasing as OpenFOAM would reduce all phase shift to < 2pi.

Hence i'm trying to input TSoft and phase shift for all my wave components to achieve the desired breaking waves,
---------------

I would also love to use the (displacement vs time history) of the piston strokes to produce the same results as I got for my breaking wave experimental work,

However my displacement vs time history of the piston is very irregular (since it involves as much as 28 waves components), any idea how I advance from here?

Any inputs appreciated!

Thanks,
Chia
chia87 is offline   Reply With Quote

Old   November 15, 2016, 23:50
Default
  #29
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Chia,

no idea about the combinedWaves issue, but for generating a wave focussing (or any other waves) with time series from a piston wavemaker check olaFoam:

https://www.youtube.com/watch?v=WF9zKCgsx5w
https://github.com/phicau/OLAFOAM

Best,

Pablo
chia87 likes this.
Phicau is offline   Reply With Quote

Old   November 16, 2016, 02:22
Default
  #30
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Good morning Chia,

The generation of focussed waves can be done with the irregular wave type, where you should choose focusing rather than random wave phases:

https://openfoamwiki.net/index.php/C...hasing_Methods

You can also use OceanWave3D to use your steering signal and couple with waves2Foam with the dedicated method. OceanWave3D has much better propagation properties, because of better discretization. There is a tutorial in waves2Foam on the coupling of these models.

Kind regards

Niels
chia87 likes this.
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   November 16, 2016, 02:48
Default
  #31
Member
 
Chia
Join Date: Jan 2016
Location: Singapore
Posts: 30
Rep Power: 10
chia87 is on a distinguished road
Thanks all for the reply,

Hi Niels,
I'm actually using the focussing of multiple regular waves for achieving a focussed wave. The chosen wave frequencies are arbitrary, I'm not using any specific spectrum. (had done experimental work using focussed regular waves packages)

Guess i'll look directly at the Oceanwaves3D for inputing the piston signals,

thanks again!

Chia
chia87 is offline   Reply With Quote

Reply

Tags
generate wave


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
Can OpenFoam deal with pressure waves in pipe? coompressor OpenFOAM Running, Solving & CFD 4 September 27, 2016 17:36
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 14:50


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