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

[waves2Foam] Unstable simulation when using 'stokesFirstwCurrent'

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2017, 23:53
Default Unstable simulation when using 'stokesFirstwCurrent'
  #1
Member
 
Ahmed Elhanfi
Join Date: Nov 2014
Posts: 30
Rep Power: 11
Ahmed Elhanafi is on a distinguished road
Hi Everyone,

I'm using waves2foam to generate waves and current via the library "stokesFirstwCurrent". I could generate only waves and only current with very good agreement compared to wave theory and with minimal reflection from the outlet boundary even for a long time simulation. However, when I generate waves+current, the results look good for few cycles but I got reflection from the outlet boundary and an increase in water level even though I'm using an outlet relaxation zone of two wavelengths.

The second issue I'm facing is when running a simulation of waves+current (or only current with velocity 4 m/s) on a fixed cylinder. I'm using a time step 0.001 s; however, the solver crashes after 7 time steps with Max(alpha1) = 2e+24 !!!. I have increased nAlphaSubCycles to 10, but did not work. I think it is a stability issue. If I use adjustTimeStep "yes" with maxCo and maxAlphaCo = 0.25, the solution becomes more stable but very slow as deltaT automaticaly decreases to e-5 s.

Any suggestions on how to fix up these issues are highly appreciated.

Thanks in advance.
Kind regards,
Ahmed
Ahmed Elhanafi is offline   Reply With Quote

Old   October 19, 2017, 13:45
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ahmed,

You make reference to a wave theory, which is not distributed as standard with waves2Foam. This might explain, why people are not responding to your question.

For my part, I am unable to assist.

Kind regards

Niels
__________________
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

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
Slowing down unstable multiphaseEulerFoam simulation rahulksoni OpenFOAM Running, Solving & CFD 0 September 7, 2017 00:35
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 02:28
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 15:06
Unstable LES simulation - Courant going higher throughout time - Flow around a sphere beluiz93 OpenFOAM Running, Solving & CFD 11 November 3, 2016 06:05
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 03:16


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