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

unable to get steady state

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2023, 05:54
Default unable to get steady state
  #1
New Member
 
rabs
Join Date: Jun 2023
Posts: 5
Rep Power: 3
ThatHimalayanGuy is on a distinguished road
Hi all,
I am trying to model a free surface flow problem for a small hydropower plant. The doamin of the problem looks like following when clipped in half (domain is symmetrical):
domain.jpg


The initial water surface levels are 2.5 m upstream side (F 72 -13.4794 8.25 0 5 2.5) and -5 m downstream side (F 72 8.25 16.5206 0 5 -5):
initial_WSL.PNG


The inflow rate is fixed at 9 m3/s (W 10 9), upstream water level is fixed at 2.5 m (F 61 2.5), the downstream level is guided by the flow rate and expected to reach steady condition.

I have tried multiple combination of discretization methods, numerical solvers, turning on and off initialization, turbulence model, adaptive time stepping on/off and grid spacing (15 cm ~ 850k cells, 10 cm ~ 2.8 million cells). However, I am unable to reach a steady state and the solution blows up after few thousand iterations. I am also unable to get the outflow value equal to inflow.


I have attached the control files for DIveMESH and REEF3D. I would be very grateful if somebody could help me figure out how to fix the problem.


I have attached plots of evolution of flow rate for a case without turbullence modelling and fixed time stepping. But the evolution for any other case is similar to this. FlowRate_evolution.PNG


Thank you in advance.

-Rabs
Attached Files
File Type: txt ctrl.txt (219 Bytes, 10 views)
File Type: txt control.txt (98 Bytes, 3 views)
ThatHimalayanGuy is offline   Reply With Quote

Old   September 11, 2023, 06:35
Default
  #2
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
I also need the STL in order to have a look. You could send that via private message.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   September 12, 2023, 11:36
Default
  #3
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
I think do to the turbulent nature of the flow, there are some fluctuations in the outflow, especially because there are som strong eddies directly at the end of the domain. Overall, the outflow then oscillates around the inflow value, so ok. Have a look at the attached results. Some more thoughts:

- do you need free surface? I think not.
- as always, a finer grid will improve things
- you need a turbulence model; with the current mesh RANS, with finer meshes you could use LES
- the CFL number was was too small
- use direct forcing, it works better and will soon be the default for the immersed boundary
- it looks like you run an older version of REEF3D, e.g. your F 40 options no longer exists
- best with I 10 1, the potential flow initialization will speed up the simulation
Attached Images
File Type: jpg result.jpg (146.7 KB, 27 views)
File Type: jpg inflow-outflow.jpg (37.0 KB, 18 views)
Attached Files
File Type: txt control.txt (98 Bytes, 7 views)
File Type: txt ctrl.txt (243 Bytes, 8 views)
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda is offline   Reply With Quote

Old   September 15, 2023, 09:33
Smile
  #4
New Member
 
rabs
Join Date: Jun 2023
Posts: 5
Rep Power: 3
ThatHimalayanGuy is on a distinguished road
Hi Prof. Bihs,
Thank you very much for putting in time to look into the issue. That was very kind of you


I updated to the latest patch of REEF3D and now the simulation runs without explosion. Although G 3 1 function did not work for me.


The outflow rate oscillating around inflow does make sense considering the turbulent nature at outflow.



I have few more questions:
1. Is there option to recontinue a simulation from end time of an existing simulation (hot strat)? Last time I asked the question in forum, I was told the function is currently broken.


2. If we can hotstart now, is it possible to hotstart with finer meshing?



2. Is there any trick around how to filter out water that is stationary within the solid object stl? Think would help in postprocessing.
ThatHimalayanGuy is offline   Reply With Quote

Old   September 15, 2023, 09:38
Default
  #5
Super Moderator
 
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 403
Rep Power: 19
valgrinda is on a distinguished road
Hot start is working, but only for the exact same mesh.
__________________
Hans Bihs
Team REEF3D
www.reef3d.com
valgrinda 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
Effect of initial condition for steady state vs Transient prasa ANSYS 0 August 22, 2018 05:45
Domain Reference Pressure and mass flow inlet boundary AdidaKK CFX 75 August 20, 2018 06:37
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
steady state, laminar vof_model Garima Chaudhary FLUENT 0 May 24, 2007 04:11
About the difference between steady and unsteady problems Lisa Main CFD Forum 11 July 5, 2000 15:37


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