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

[IHFOAM] IHFOAM Vegetation Module

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By IHFOAM Team
  • 1 Post By IHFOAM Team
  • 1 Post By dylan_OF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2017, 05:01
Default IHFOAM Vegetation Module
  #1
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 119
Rep Power: 8
IHFOAM Team is on a distinguished road
Dear all,

You can now download the fully validated (Maza et al. 2015, 2016) IHFOAM vegetation module here (code & a validation case):

https://github.com/IHCantabria/ihFOAM_mangroves

It works for OpenFOAM-v1612+ and OpenFOAM-v1706.

You can find more information in:

http://ihfoam.ihcantabria.com
http://www.openfoam.com/releases/ope...ave-generation

Regards,
IHFOAM Team.
Daniel_Khazaei likes this.
__________________
http://ihfoam.ihcantabria.com/
IHFOAM Team is offline   Reply With Quote

Old   July 3, 2018, 05:30
Default
  #2
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 119
Rep Power: 8
IHFOAM Team is on a distinguished road
Hi,

We are very happy to announce that you can find the fluid-vegetation module in OpenFOAM v1816 release:

https://www.openfoam.com/releases/op...ve-interaction




Two papers were published:


Tsunami wave interaction with mangrove forests: A 3-D numerical approach.
Maza, M, Lara, J.L., & Losada, I.J. [2015]
Coastal Engineering [Vol.98, pp. 33-54]
https://doi.org/10.1016/j.coastaleng.2015.01.002


Solitary wave attenuation by vegetation patches.
Maza, M, Lara, J.L., & Losada, I.J. [2016]
Advances in Water Resources [Vol.98, pp. 159-172]
hhttps://doi.org/10.1016/j.advwatres.2016.10.021


Regards,
IHFOAM Team
Daniel_Khazaei likes this.
__________________
http://ihfoam.ihcantabria.com/
IHFOAM Team is offline   Reply With Quote

Old   March 5, 2020, 02:36
Default
  #3
New Member
 
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6
ms.hashempour is on a distinguished road
I have this error with GUI and I cant click on Toposet:


ERROR!!

--> FOAM FATAL ERROR:
Unable to find cellZone c0
Valid cellZones are:0()

From function virtual bool Foam::fv::multiphaseMangrovesSource::read(const Foam::dictionary&)
in file fvOptions/multiphaseMangrovesSource/multiphaseMangrovesSource.C at line 235.

FOAM exiting
ms.hashempour is offline   Reply With Quote

Old   December 17, 2020, 12:18
Default iHFoamMangrove - wmake fvOptions Error
  #4
New Member
 
Luiz Ferreira
Join Date: Oct 2020
Posts: 7
Rep Power: 5
lppferreira is on a distinguished road
Hi,

I am using OpenFOAM-v1812 at wsl2 Ubuntu 18.04 and I have already compiled iHFoam solver.

I am trying to compilate IHFoamMangrove solver but when I run wmake at /opt/OpenFOAM/OpenFOAM-v1812/src/fvOptions, after copied multiphaseMangrovesSource" and "multiphaseMangrovesTurbulenceModel" folders into src/fvOptions/ and edited fvOptions/Make/files as
"
>>/* iHFoam Mangrove */
>>
>>multiphaseMangrovesSource/multiphaseMangrovesSource.C
>>multiphaseMangrovesTurbulenceModel/multiphaseMangrovesTurbulenceModel.C

LIB = $(FOAM_LIBBIN)/libfvOptions"

appears the folllowing error message:

" multiphaseMangrovesSource/multiphaseMangrovesSource.C: In member function ‘virtual bool Foam::fv::multiphaseMangrovesSource::read(const Foam::dictionary&)’:
multiphaseMangrovesSource/multiphaseMangrovesSource.C:193:52: error: invalid initialization of reference of type ‘const Foam::word&’ from expression of type ‘Foam::ITstream’
const word& zoneName = modelDict.lookup("cellZone");
~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target '/opt/OpenFOAM/OpenFOAM-v1812/build/linux64GccDPInt32Opt/src/fvOptions/multiphaseMangrovesSource/multiphaseMangrovesSource.o' failed
make: *** [/opt/OpenFOAM/OpenFOAM-v1812/build/linux64GccDPInt32Opt/src/fvOptions/multiphaseMangrovesSource/multiphaseMangrovesSource.o] Error 1 "

How can I fix it?

Thanks!
lppferreira is offline   Reply With Quote

Old   April 7, 2021, 20:50
Default
  #5
New Member
 
Dylan James
Join Date: Dec 2020
Posts: 7
Rep Power: 5
dylan_OF is on a distinguished road
Quote:
Originally Posted by lppferreira View Post
Hi,

I am using OpenFOAM-v1812 at wsl2 Ubuntu 18.04 and I have already compiled iHFoam solver.

I am trying to compilate IHFoamMangrove solver but when I run wmake at /opt/OpenFOAM/OpenFOAM-v1812/src/fvOptions, after copied multiphaseMangrovesSource" and "multiphaseMangrovesTurbulenceModel" folders into src/fvOptions/ and edited fvOptions/Make/files as
"
>>/* iHFoam Mangrove */
>>
>>multiphaseMangrovesSource/multiphaseMangrovesSource.C
>>multiphaseMangrovesTurbulenceModel/multiphaseMangrovesTurbulenceModel.C

LIB = $(FOAM_LIBBIN)/libfvOptions"

appears the folllowing error message:

" multiphaseMangrovesSource/multiphaseMangrovesSource.C: In member function ‘virtual bool Foam::fv::multiphaseMangrovesSource::read(const Foam::dictionary&)’:
multiphaseMangrovesSource/multiphaseMangrovesSource.C:193:52: error: invalid initialization of reference of type ‘const Foam::word&’ from expression of type ‘Foam::ITstream’
const word& zoneName = modelDict.lookup("cellZone");
~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target '/opt/OpenFOAM/OpenFOAM-v1812/build/linux64GccDPInt32Opt/src/fvOptions/multiphaseMangrovesSource/multiphaseMangrovesSource.o' failed
make: *** [/opt/OpenFOAM/OpenFOAM-v1812/build/linux64GccDPInt32Opt/src/fvOptions/multiphaseMangrovesSource/multiphaseMangrovesSource.o] Error 1 "

How can I fix it?

Thanks!
hi,I had the same problem as you, did you fix it?
baccaperina likes this.
dylan_OF is offline   Reply With Quote

Old   December 1, 2022, 21:21
Default
  #6
New Member
 
GUOhq
Join Date: Sep 2022
Posts: 1
Rep Power: 0
GUOhq is on a distinguished road
Hi,
I am using OpenFOAM-v2006 ,I tested mangroves tutorials.The wave type is solitary wave,Can regular waves be applied to this model?
I don't consider mangroves. I use the kE model of the tutorials to test regular waves. The wave height at the end of the flume decreases obviously with time. Is there any good way to deal with this problem?
Thanks!
GUOhq is offline   Reply With Quote

Old   December 5, 2022, 16:16
Default
  #7
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 119
Rep Power: 8
IHFOAM Team is on a distinguished road
Hi there,

Yes, you can generate waves, please copy the set-up of any waves tutorial provided in the official release (stokesI for example).

In order to reduce wave damping, please consider for example checking your cell discretization and use the Devolder--Larsen&Fuhtman approach. link

Best,
IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/
IHFOAM Team 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
Vegetation Module in IHFOAM has been released! MarEMotion OpenFOAM Announcements from Other Sources 0 September 13, 2017 10:53
[foam-extend.org] Module file foam-extend 3.2 CentOS cluster KarthickRajkumar OpenFOAM Installation 2 March 26, 2017 13:52
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51
Lamboot trouble r2d2 OpenFOAM Installation 4 October 17, 2005 04:27


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