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

OlaFlow Solitary+Current

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 23, 2019, 11:58
Default OlaFlow Solitary+Current
  #1
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Hi all,

I have a simulation that I ran with solitary wave, now, I am re-running it with combination of solitary+current flow. From the tutorials, I know how to model solitary wave and current separately, but I do not have any idea how to use them both for my model. Could anyone please help me how to put both together?

Best,
Shima
shimakasaei is offline   Reply With Quote

Old   October 24, 2019, 00:44
Default
  #2
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Shima,

it is as easy as using the currentWaveFlume tutorial and changing the wave conditions to a solitary wave (waveType solitary; waveTheory Grimshaw; )

Best,

Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   October 24, 2019, 12:36
Default
  #3
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi Shima,

it is as easy as using the currentWaveFlume tutorial and changing the wave conditions to a solitary wave (waveType solitary; waveTheory Grimshaw; )

Best,

Pablo
Thank you Pablo.
So should I add series of wave height, period and phase that I have for my solitary wave as it showed in irregular tutorial?
shimakasaei is offline   Reply With Quote

Old   October 24, 2019, 16:51
Default
  #4
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Shima,

Using periodic wave components to generate a solitary wave sounds weird, but yes, you need to add those is you wish so.

In the end it is only a matter of blending whichever wave conditions you desire with the waveDict in the current case. Effectively this means adding the "uCurrent (Ux Uy 0.);" line.

Best,

Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   October 30, 2019, 10:48
Default
  #5
Member
 
shima
Join Date: Feb 2018
Posts: 58
Rep Power: 8
shimakasaei is on a distinguished road
Quote:
Originally Posted by Phicau View Post
Hi Shima,

Using periodic wave components to generate a solitary wave sounds weird, but yes, you need to add those is you wish so.

In the end it is only a matter of blending whichever wave conditions you desire with the waveDict in the current case. Effectively this means adding the "uCurrent (Ux Uy 0.);" line.

Best,

Pablo
Thanks Pablo,
It is working the way you suggested, but I faced a problem modeling current only by setting wave dict as:

waveType regular ;
genAbs 1;
absDir 0.0;
nPaddles 1;

uCurrent (0.02329 0. 0.);

I know it is different from the way it has in tutorial/ current wave flume, but it models regular wave in tutorial and in this part of simulation, I do not have any wave to be regular or irregular..

Could you help me through this part as well..

Best,
Shima.
shimakasaei is offline   Reply With Quote

Old   October 30, 2019, 15:23
Default
  #6
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Hi Shima,


select any sensible wave conditions in StokesI and set H = 0.


Take a look at the manual and reference/waveDict folder for examples and requirements to generate waves.


Best,


Pablo
__________________
Check out my new project: olaFlow --> The olaFlow Support Thread
Phicau is offline   Reply With Quote

Old   January 23, 2023, 19:11
Default
  #7
Member
 
Amir
Join Date: Jan 2017
Posts: 32
Rep Power: 9
albet is on a distinguished road
Hi Pablo,

By any chance, can a fully developed current flow profile (e.g. log-low equation) be combined with wave in olaFlow?
if yes, could you please let me know how!

Kind regards,
Amir
albet is offline   Reply With Quote

Reply


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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 15:33
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 08:48
How to set current Jendge FLOW-3D 3 November 25, 2014 19:48
What is the difference between current time step and current time djing FLUENT 4 May 1, 2012 17:18


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