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 15, 2021, 20:40
Default Simulation of scour around a hydrokinetic turbine in river beds
  #61
New Member
 
Thiago Vieira de Souza
Join Date: May 2021
Posts: 7
Rep Power: 4
thiago vieira is on a distinguished road
Greetings, Dr. Chauchat


I'm currently working on my master thesis investigating the effects of hydrokinetic turbines in live river beds.

The idea is to combine sedFoam with turbinesFoam so as to deploy the Actuator Line Method to represent the turbine at a low computational expense.

Unfortunately, I've been struggling with this case for quite a while. The effects of the turbine are not being computed at all throughout the simulations. Although I've imported the resources from turbinesFoam and all the files related to the turbine, I cannot seem the get the fvOptions right.

I don't really know how to include the source terms related to the turbine in order to compute the effect of energy extracted from the turbine to fluid in the near wake.

Are there any restrictions in sedfoam as to the use of fvOptions?
Is it really possible to combine the Actuator Line Method (turbinesFoam) with sedFoam as I'm trying to do?


I'd very much appreciate your response, professor. Thank you in advance!


Kind regards,
Thiago Vieira
thiago vieira is offline   Reply With Quote

Old   October 16, 2021, 03:26
Smile
  #62
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
Dear Tiago,


Are you using the latest version of sedFoam?


We have recently added and validated the fvOptions capabilities.


So i think you can test again, and i'm pretty sure it's possible to combine the actuator line with sedfoam.

Cyrille
cyss38 is offline   Reply With Quote

Old   October 16, 2021, 04:15
Default
  #63
New Member
 
Julien CHAUCHAT
Join Date: Dec 2012
Posts: 11
Rep Power: 13
julienC is on a distinguished road
Dear Tiago,


As Cyrille said we have recently implemented and validated fvOption in sedFOAM so there is no technical problem to do what you want.

You may be interested by reading this article from French colleagues who coupled Actuator disk model and Blade Element Model with sedFoam :

https://doi.org/10.1016/j.ijsrc.2021.02.003


I also encourage you to contribute to sedFoam by sharing your development with the community.


Best regards,
Julien CHAUCHAT
julienC is offline   Reply With Quote

Old   October 17, 2021, 19:39
Default Scour around hydrokinetic turbine in live river beds
  #64
New Member
 
Thiago Vieira de Souza
Join Date: May 2021
Posts: 7
Rep Power: 4
thiago vieira is on a distinguished road
Dear Dr. Chauchat and Cyrille,


Thank you for your response, I'll try and update sedfoam to its latest version and see if it works.
Also, I'll make sure to take a look at the article you recommended and share my progress with the community.


Regards,
Thiago Vieira
thiago vieira is offline   Reply With Quote

Old   October 26, 2021, 20:10
Default Scour around hydrokinetic turbine in live river beds
  #65
New Member
 
Thiago Vieira de Souza
Join Date: May 2021
Posts: 7
Rep Power: 4
thiago vieira is on a distinguished road
Dear Dr. Chauchat and Cyrille,

First of all, thank you for your help. I've updated sedFoam to its latest version, along with OpenFOAM-v2016 and it seems to be working perfectly. The fvOptions for the Actuator Line Method I'm trying to implement was read successfully.

Even though I can see the model being selected in the log file, my simulations are still illegible. The flow simply goes right past the region of the mesh where the turbine was supposed to be. Also, I'm getting empty files (only zeros) for the forces generated by the turbine as output at each time step.

Would you mind providing me with further assistance?

The fvOptions, controlDict and Ub files follow attached.
Below, the Actuator Line Method selection reads as follows in the log file:

Selecting finite volume options type axialFlowTurbineALSource
Source: turbine
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Source: turbine.blade1
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Source: turbine.blade2
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Source: turbine.blade3
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Frontal area of turbine: 0.636173
Source: turbine.hub
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Source: turbine.tower
- selecting cells using cellSet turbine
- selected 6174 cell(s) with volume 0.594442
Courant Number mean: 8.38152 max: 17.3442
Turbulence suspension term is included
Choice for faceMomentum : false

Starting time loop


Thanks in advance!
Attached Files
File Type: txt controlDict.txt (1.4 KB, 3 views)
File Type: txt Ub.txt (1.5 KB, 3 views)
File Type: txt fvOptions.txt (3.9 KB, 3 views)
thiago vieira is offline   Reply With Quote

Old   December 8, 2021, 05:55
Default
  #66
New Member
 
Thokala Divya
Join Date: Dec 2021
Posts: 9
Rep Power: 4
divyathokala01@gmail.com is on a distinguished road
Hi,
I would like to do a similar apron scour problem for my case. Could you able to do it? Can I know which version of openfoam you have used? ESI or foundation? Which is the latest version you would suggest? I feel I can get some help from older versions because people have experiences? Can someone help me to get clarified in using latest version or old version.

Divya
divyathokala01@gmail.com is offline   Reply With Quote

Old   December 10, 2021, 02:18
Default
  #67
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
we strongly suggest the latest version of openfoam.com (ESI)
cyss38 is offline   Reply With Quote

Old   May 7, 2022, 17:09
Default
  #68
New Member
 
Thokala Divya
Join Date: Dec 2021
Posts: 9
Rep Power: 4
divyathokala01@gmail.com is on a distinguished road
Quote:
Originally Posted by ajusree View Post
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?


Can I know the tutorial name please. only one 3D scour problem is there I couldn't see the results properly
divyathokala01@gmail.com is offline   Reply With Quote

Old   May 12, 2022, 14:19
Default
  #69
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
Quote:
Originally Posted by divyathokala01@gmail.com View Post
Can I know the tutorial name please. only one 3D scour problem is there I couldn't see the results properly
Indeed there is only one 3D tutorial. The case of @ajusree is a custom case i think, and @ajusree is not part of the sedfoam development team. So we don't have access to this simulation.
cyss38 is offline   Reply With Quote

Old   September 25, 2022, 03:23
Default
  #70
New Member
 
Jialin Pang
Join Date: Jul 2022
Posts: 3
Rep Power: 3
jlpang is on a distinguished road
Prof. Chauchat


I am a new openfoamer and I am trying to use sedfoam to simulate a realistic scour case. I have changed many boundary conditions and different input parameters, however, the horse shoe vortex didn't show up. With the same boundary condition and input parameters, the horse shoe vortex emerged in the pimpleFoam. Is there anything I need to take into account in a realistic case?



The parameters in the constant folder are copied from tutorials/3DScour.


Best regards,
Jialin
jlpang is offline   Reply With Quote

Old   September 26, 2022, 12:52
Default
  #71
New Member
 
Julien CHAUCHAT
Join Date: Dec 2012
Posts: 11
Rep Power: 13
julienC is on a distinguished road
Dear Jialin,


Most likely you used the default advection schemes (div schemes in system/fvSchemes) and temporal scheme (ddt) which are first order in the tutorial. You need to change to second order for both if you want to see the horseshoe vortex developing.



Best regards,
Julien Chauchat



Quote:
Originally Posted by jlpang View Post
Prof. Chauchat


I am a new openfoamer and I am trying to use sedfoam to simulate a realistic scour case. I have changed many boundary conditions and different input parameters, however, the horse shoe vortex didn't show up. With the same boundary condition and input parameters, the horse shoe vortex emerged in the pimpleFoam. Is there anything I need to take into account in a realistic case?



The parameters in the constant folder are copied from tutorials/3DScour.


Best regards,
Jialin
julienC is offline   Reply With Quote

Old   September 26, 2022, 20:56
Default
  #72
New Member
 
Jialin Pang
Join Date: Jul 2022
Posts: 3
Rep Power: 3
jlpang is on a distinguished road
Dear sir,
Thank you for the response. I will try to change the schemes and see if it works.


Best regards,
Jiali
jlpang is offline   Reply With Quote

Old   October 4, 2022, 07:08
Default scour around the cylinder
  #73
New Member
 
Jialin Pang
Join Date: Jul 2022
Posts: 3
Rep Power: 3
jlpang is on a distinguished road
Dear sir,
Thanks again for your useful suggestion, after I changed div schemes and ddt schemes to second order, the horseshoe vortex emerged. But when I check the scour around the cylinder, the alpha_a in paraview barely changed. It is not getting better after I refined the mesh. Could you please give me some suggestions to correct this?
Best regards,
Jialin
jlpang is offline   Reply With Quote

Old   January 23, 2023, 07:49
Default
  #74
zjy
New Member
 
Join Date: Jun 2022
Posts: 4
Rep Power: 3
zjy is on a distinguished road
Dear Professor:It was a great honor to read your article published on JFM(A finite-size correction model for two-fluid large-eddy simulation of particle-laden boundary layer flow).And I have some questions to consult with you:

Is the finite-size correction model included in your open-source case(3Dchannel560)?If so, can you tell me in which file to open it,If not, how can I get it?

In the 0 file in 3Dchannel560, flm, alphaPlastic,Theta file appears. Can you explain to me what it represents

Can this code be used to calculate a flow with a high sediment content, such as a sediment volume fraction around 0.2?
zjy is offline   Reply With Quote

Old   January 24, 2023, 16:29
Default
  #75
New Member
 
Antoine MATHIEU
Join Date: Jan 2018
Posts: 5
Rep Power: 8
mathiant is on a distinguished road
Quote:
Originally Posted by zjy View Post
Dear Professor:It was a great honor to read your article published on JFM(A finite-size correction model for two-fluid large-eddy simulation of particle-laden boundary layer flow).And I have some questions to consult with you:

Is the finite-size correction model included in your open-source case(3Dchannel560)?If so, can you tell me in which file to open it,If not, how can I get it?
Thank you for the interest in our publication. The finite-size correction model is not available in the latest sedFoam release but the 3DChannel560 tutorial corresponds to the configuration "GB" investigated in the paper. The source code with the finite-size correction model is available upon request. I can send you a link to download it through private message.


Quote:
In the 0 file in 3Dchannel560, flm, alphaPlastic,Theta file appears. Can you explain to me what it represents
The flm* and fmm* files correspond to variables used to compute the eddy viscosity in the dynamic Largrangian LES model, alphaPlastic is a field used in the dilatancy model (not used in this configuration) and Theta is the granular temperature in the kinetic theory.


Quote:
Can this code be used to calculate a flow with a high sediment content, such as a sediment volume fraction around 0.2?
SedFoam can be used to simulate flows with sediment concentration ranging from dense (close to maximum packing fraction) to dilute regimes. However, the finite-size correction model has only been validated for dilute configurations.

Regards,

Antoine MATHIEU
mathiant is offline   Reply With Quote

Old   January 24, 2023, 21:17
Default
  #76
zjy
New Member
 
Join Date: Jun 2022
Posts: 4
Rep Power: 3
zjy is on a distinguished road
Thank you for your reply, I have sent you a private message, please share the source code with the finite-size correction model with me, you can also send it to me via email 22034146@zju.edu.cn. Thank you again for sharing this highly innovative code
zjy is offline   Reply With Quote

Old   January 30, 2023, 05:45
Default
  #77
zjy
New Member
 
Join Date: Jun 2022
Posts: 4
Rep Power: 3
zjy is on a distinguished road
Quote:
Originally Posted by mathiant View Post
Thank you for the interest in our publication. The finite-size correction model is not available in the latest sedFoam release but the 3DChannel560 tutorial corresponds to the configuration "GB" investigated in the paper. The source code with the finite-size correction model is available upon request. I can send you a link to download it through private message.


The flm* and fmm* files correspond to variables used to compute the eddy viscosity in the dynamic Largrangian LES model, alphaPlastic is a field used in the dilatancy model (not used in this configuration) and Theta is the granular temperature in the kinetic theory.


SedFoam can be used to simulate flows with sediment concentration ranging from dense (close to maximum packing fraction) to dilute regimes. However, the finite-size correction model has only been validated for dilute configurations.

Regards,

Antoine MATHIEU
Dear sir:

Sorry to bother you again, but I don't seem to have received your private message or email. Could you please send it again?

Regards,

yang
zjy is offline   Reply With Quote

Old   May 29, 2023, 09:23
Default 2DPipelineScour tutorial.
  #78
New Member
 
Feras Algafary
Join Date: Dec 2022
Location: Germany
Posts: 1
Rep Power: 0
Feras2020 is on a distinguished road
Prof. Chauchat

Hello, I'm relatively new to the open-form software, and I've been attempting to run the 2DPipelineScour tutorial. However, I encountered an issue where the simulation stopped after only four seconds. When I checked the simulation, I noticed some unusual behaviour at the inlet boundary condition for alpha.a. To resolve this, I switched the inlet boundary condition from a coded fixed value to a zero gradient, allowing me to complete the simulation successfully.

I aim to conduct multiple simulations for this tutorial using different shear rates. The objective is to achieve diverse velocity profiles through these simulations. In the fluid velocity file (0-org/U.b), I adjusted the bottom friction velocity, starting with 0.04318, and then tried both 0.4318 and 0.004318, but found that the simulation remained unchanged from the original with a bottom friction velocity of 0.04318.



Best regards,
Feras Algafary
Attached Images
File Type: jpg alpha.a4se.jpg (20.3 KB, 22 views)

Last edited by Feras2020; May 31, 2023 at 05:56.
Feras2020 is offline   Reply With Quote

Old   July 25, 2023, 09:30
Default
  #79
New Member
 
Eduard Puig Montella
Join Date: Sep 2021
Posts: 5
Rep Power: 4
eduard.puig.montella is on a distinguished road
Hi Feras,


I checked the 2DPipelineScour tutorial and I noticed that both Kinetic theory and mu(I) rheology are on. I turned the kinetic theory off and the case works smoothly without any change at the boundary conditions.

Concerning the friction velocity I made the changes in 0_org/U.a and 0_org/U.b, and the results seem sound (see figures below. For a friction velocity of 0.0043 the bed remains horizontal) . Make sure you change both the fluid and solid frictional velocity.

Eduard


bed_profiles_0.0043.jpg

bed_profiles_0.043.jpg
FerasAlgafary likes this.
eduard.puig.montella 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 01:21.