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

[Other] sedFoam: two-phase flow sediment transport model

Register Blogs Community New Posts Updated Threads Search

Like Tree20Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2019, 11:09
Default
  #21
New Member
 
neginmondegari
Join Date: Sep 2019
Posts: 9
Rep Power: 6
neginmondegari is on a distinguished road
even i want to model the turbidity current in dam in 2D in sedFOAM and interFOAM , the computational cost is huge if I want to couple them?
I know if i modelthe turbidity current in dam in sedFOAM is wrong , because sedFOAM is for close surface , but if I model it in sedFOAM this fault is it noticable or can be ignore ?
if I model the turbidity current in dam in 2D in sedFOAM is computational cost reduce and the better choice?
neginmondegari is offline   Reply With Quote

Old   October 17, 2019, 10:42
Default
  #22
New Member
 
neginmondegari
Join Date: Sep 2019
Posts: 9
Rep Power: 6
neginmondegari is on a distinguished road
thanks for your response, i have a question. does sedFOAM has RNGkEpsilon model for RAS models?
neginmondegari is offline   Reply With Quote

Old   November 6, 2019, 21:38
Default About the runtime of tutorials, 2Dscour
  #23
New Member
 
chunping ren
Join Date: May 2016
Posts: 8
Rep Power: 9
handsomedog is on a distinguished road
Hi Julien,
I'm starting to use sedFoam and I am running the tutorials, 2Dscour. The tutorial has been run 2 days but I only got the modelling results from0s to 4.5s . I do not make any changes about this tutorial.
Could you please tell me about the runtime of this tutorial ? And can I change the number of processor when I run this tutorial ? I am not sure if I could use SedFoam to run my case because there are only 8 processors in my computer. Is it enouge to run a 3-D scour case using SedFoam?
I am looking forward your response!
Best regards!
Chunping
handsomedog is offline   Reply With Quote

Old   December 9, 2019, 00:32
Default Combine fvOptions with sedFoam in OpenFoam
  #24
New Member
 
Lin Xiangfeng
Join Date: Dec 2016
Posts: 11
Rep Power: 9
Linxiangfeng is on a distinguished road
Dear julienC,
I am now using the sedFoam to simulate scour induced by a tidal stream turbine and want to use fvOptions available in openFoam to represent a turbine. However, the sedFoam is not compatible with fvOptions I think. Could you please provide some ideas or tips on how to modify the sedFoam?

Thank you very much.
Xiangfeng
Linxiangfeng is offline   Reply With Quote

Old   December 9, 2019, 03:26
Default
  #25
New Member
 
Antoine MATHIEU
Join Date: Jan 2018
Posts: 5
Rep Power: 8
mathiant is on a distinguished road
Quote:
Originally Posted by Linxiangfeng View Post
Dear julienC,
I am now using the sedFoam to simulate scour induced by a tidal stream turbine and want to use fvOptions available in openFoam to represent a turbine. However, the sedFoam is not compatible with fvOptions I think. Could you please provide some ideas or tips on how to modify the sedFoam?

Thank you very much.
Xiangfeng

Xiangfeng,

You are right, for the moment sedFoam is not compatible with fvOptions.

If you want to incorporate one of its functionalities, I suggest that you check how it is incorporated in an other available solver having that functionality and include it in sedFoam in a similar way.

If you are happy with your implementation, you can make a pull request on github to submit your modification and potentially make it available for other sedFoam users.

Best regards,


Antoine M.
mathiant is offline   Reply With Quote

Old   December 20, 2019, 02:21
Default Sedfoam for channel flow
  #26
New Member
 
Ajusree
Join Date: Jun 2019
Posts: 5
Rep Power: 6
ajusree is on a distinguished road
Respected Sir,
I am doing my MS project work on river flow dynamics. In that, I wanted to simulate channel flow using sedfoam. Is it possible to do so?

Thank you.
ajusree is offline   Reply With Quote

Old   December 24, 2019, 03:39
Default
  #27
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
yes


Why not?
cyss38 is offline   Reply With Quote

Old   December 24, 2019, 04:03
Default
  #28
New Member
 
Ajusree
Join Date: Jun 2019
Posts: 5
Rep Power: 6
ajusree is on a distinguished road
Sir,
I have been trying to modify the sedfoam code of scour downstream of an apron tutorial. I wanted to simulate a river flow in 3D with erodible boundaries. So I kept a rectangular box in blockMeshDict and I gave river geometry as my initial condition in funkySetFieldsDict. But the code got terminated after some time even without reaching 1 sec. When I checked the log file, I found an abrupt rise in the values of some of the variables.

Could you please give me some suggestions to correct this?
ajusree is offline   Reply With Quote

Old   December 24, 2019, 11:30
Default
  #29
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
  • reduce the time step
  • refine the interface zone..
Do you have check the output fields just before it diverges?
cyss38 is offline   Reply With Quote

Old   January 4, 2020, 01:56
Default Log file
  #30
New Member
 
Ajusree
Join Date: Jun 2019
Posts: 5
Rep Power: 6
ajusree is on a distinguished road
Sir,
I am attaching the log file before the code getting terminated. The time step I have chosen was 1e-06. And my mesh(rectangular block) is uniformly refined.


Thank you.
Attached Images
File Type: png error.png (134.2 KB, 37 views)
ajusree is offline   Reply With Quote

Old   January 7, 2020, 10:12
Default
  #31
New Member
 
Antoine MATHIEU
Join Date: Jan 2018
Posts: 5
Rep Power: 8
mathiant is on a distinguished road
Quote:
Originally Posted by ajusree View Post
Sir,
I am attaching the log file before the code getting terminated. The time step I have chosen was 1e-06. And my mesh(rectangular block) is uniformly refined.


Thank you.

Hi,

Sometimes the particulate pressure "pa" can become unstable and reach very high values making the simulation to crash.

You can try to decrease the particulate pressure relaxation coefficient relaxPa in the file constant/granularRheologyProperties by at least one order of magnitude.

This might solve your stability issue.

Antoine M.
mathiant is offline   Reply With Quote

Old   January 10, 2020, 16:35
Default Unstable running of sedFoam
  #32
New Member
 
Lin Xiangfeng
Join Date: Dec 2016
Posts: 11
Rep Power: 9
Linxiangfeng is on a distinguished road
Quote:
Originally Posted by mathiant View Post
Hi,

Sometimes the particulate pressure "pa" can become unstable and reach very high values making the simulation to crash.

You can try to decrease the particulate pressure relaxation coefficient relaxPa in the file constant/granularRheologyProperties by at least one order of magnitude.

This might solve your stability issue.

Antoine M.

Hi mathiant,
I am testing sedFoam to simulation scour around a cylindrical pile these days. The simulation easily crashed if the turbulent suspension term is included (i.e set the SUS to 1 in the twophaseRASproperties). Does the term have to be included in the simulation ? or Are there any methods to run the tests with the term included?

Thank you if you can provide any ideas.

best regards,
Xiangfeng
Linxiangfeng is offline   Reply With Quote

Old   January 13, 2020, 03:41
Default
  #33
New Member
 
Antoine MATHIEU
Join Date: Jan 2018
Posts: 5
Rep Power: 8
mathiant is on a distinguished road
Quote:
Originally Posted by Linxiangfeng View Post
Hi mathiant,
I am testing sedFoam to simulation scour around a cylindrical pile these days. The simulation easily crashed if the turbulent suspension term is included (i.e set the SUS to 1 in the twophaseRASproperties). Does the term have to be included in the simulation ? or Are there any methods to run the tests with the term included?

Thank you if you can provide any ideas.

best regards,
Xiangfeng

Hi Xiangfeng,

The turbulent suspension term SUS is the inverse of the turbulent Schmidt number used to model the dispersion of particles by the turbulence. Its value should be parameterized depending on the flow conditions (value ranging from 1 to 3).

It controls the concentration profile of suspended sediment which can contribute to an important fraction of the total sediment flux so it should be carefully chosen.

An empirical expression was given by Van Rijn (1984) in his paper dealing with suspended load:

SUS = 1 + 2*(ws/u*)^2

with ws the particles fall velocity and u* the bed friction velocity.

If you have stability issues, I also suggest that you try to reduce the timestep, refine the mesh where there are strong concentration gradients (at the interface) and maybe modify the coefficient relaxPa if you are using Mu(I) rheology as mentioned in the previous posts.

Antoine M.
mathiant is offline   Reply With Quote

Old   February 18, 2020, 14:17
Default Flow in a river confluence
  #34
New Member
 
Ajusree
Join Date: Jun 2019
Posts: 5
Rep Power: 6
ajusree is on a distinguished road
Hello Sir,
I have been trying to simulate flow in a river confluence with erodible bank material using sedFOAM. I modified the 2DScour example accordingly. The code starts to run, but after some time it got killed.

I am attaching the system folder and the boundary condition files. Kindly help me out if anybody knows the corrections which I should make in the code.




Thanks.
Ajusree
ajusree is offline   Reply With Quote

Old   May 8, 2020, 10:10
Default Dynamic Mesh
  #35
New Member
 
Joost Linthorst
Join Date: May 2020
Posts: 8
Rep Power: 5
JoostLinthorst is on a distinguished road
Hi all, I am trying to implement a dynamic mesh in sedfoam. The model is of an object falling onto a sediment bed. So far every time I run the simulation, the simulation works up until sedFoam_rbgh is "Selecting FluidViscosityModel BoyerEtAl". After this step the solver stops without giving an error message.
Is it possible to implement a dynamic mesh in OpenFOAM?
JoostLinthorst is offline   Reply With Quote

Old   May 8, 2020, 18:49
Default
  #36
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
In OpenFoam yes it is possible (for example with pimpleFoam solver).

Regarding sedfoam, I started to look at how to do it but it is not yet implemented in the official version.


But do not hesitate to implement it and make a pull request :-)
cyss38 is offline   Reply With Quote

Old   May 11, 2020, 03:42
Default
  #37
New Member
 
Joost Linthorst
Join Date: May 2020
Posts: 8
Rep Power: 5
JoostLinthorst is on a distinguished road
Hello Cyrille, thank you for your quick response. I'll admit that I have no experience or training in developing software, so if there is some other way in which this could be implemented, I would be very grateful.
I will spend some time on it now trying to implement it these next few days, any guidance would be much appreciated as well.
JoostLinthorst is offline   Reply With Quote

Old   September 6, 2020, 23:06
Default
  #38
New Member
 
songmuqing
Join Date: Aug 2020
Posts: 8
Rep Power: 5
songmuqing is on a distinguished road
Hello Sir,

I have been trying to simulate the local scour around a pier in a river. The code has been successfully run, but the time step is too short, which will take a lot of time to simulate. Can I set different time steps for the flow phase and sediment phase to accelerate the simulation of sediment erosion? And how to do it?

Thank you in advances.
songmuqing is offline   Reply With Quote

Old   November 6, 2020, 08:43
Exclamation applying a wall jet velocity profile to 2DScour
  #39
New Member
 
Alaa Ghzayel
Join Date: Nov 2020
Posts: 1
Rep Power: 0
AlaaGhz is on a distinguished road
hello sir.


I want to run a simulation on the formation of a scour so I am using the tutorial file 2DScour but I want to change the velocity profile and consider it as a wall jet, how can i implement the equation that I attached in an image file to the 2DScour tutorial.
note: The equation variable Y1/2 is the height where U = Um / 2 .


furthermore, is it possible to change the geometry and add a sluice gate at the entrance and leave the same velocity profile in the 2DScour before the gate and would the solver consider it after the sluice gate as a wall get instead of changing the whole equation? and input a flow rate on the openning of the gate?


just to note that I am new to OpenFOAM and SedFoam, and I hope that you can help.
thank you in advance.
Attached Images
File Type: png Capture d’écran de 2020-11-06 14-28-24.png (11.7 KB, 13 views)
AlaaGhz is offline   Reply With Quote

Old   February 9, 2021, 06:43
Post edit drag coefficients
  #40
New Member
 
David
Join Date: Jan 2021
Posts: 13
Rep Power: 5
dalschouten is on a distinguished road
Hi there, is it possible to edit the drag coefficients to an own equation? I am considering a modelling approach with Microplastics using sedfoam.
dalschouten 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
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
use mixture model to simulate two-phase flow with phase change dxm2008 Fluent Multiphase 5 September 7, 2016 14:15
Free Surface Flow with Sediment Transport M. Riffai CFX 3 September 5, 2013 09:45
How do model two phase granular flow in Porous media? bahman FLUENT 1 December 6, 2012 04:39
Transitional Flow Shear Stress Transport (SST) k-omega Turbulence Model josechen FLUENT 0 July 20, 2011 16:06


All times are GMT -4. The time now is 12:03.