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

[IHFOAM] The IHFOAM-GUI Thread

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2017, 10:35
Default The IHFOAM-GUI Thread
  #1
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Greetings to all!

We are very proud to announce here the release of IHFOAM-GUI which contains IHFOAM developments during the last years and already included in release v1706. Additionally other physics not included in v1706 release are incorporated in the GUI, such as porous media flow (fully validated, published in four papers) and vegetation fields, (fully validated, published in two papers).



IHFOAM-GUI has been designed following the request of many IHFOAM users to decrease the learning curve in the use of OpenFOAM® for coastal and ocean engineering. It is more than a standard OpenFOAM® GUI since it is especially designed to deal with free surface flows. The user will be able to set-up, in a short time, a numerical wave tank to analyze the interaction of waves with coastal and offshore structures. IHFOAM-GUI builds up the folders and the files needed to set-up a case guiding the user along several menus. Additionally, numerical proves can be inserted and post-processed along the GUI menu.




IHFOAM-GUI is freely downloadable from the following link including a tutorial:
http://ihfoam.ihcantabria.com/model/gui/


IHFOAM-GUI has been designed within the Coastal Hydrodynamics and Infrastructures Group in IHCantabria comprised by ten members. Future IHFOAM developments will be included in OpenFOAM® to be released by ESI Group and included in IHFOAM-GUI.


IHCantabria developments has passed along a thorough validation with existing or tailored designed laboratory tests. Validation results are published in peer reviewed journals. Visit our web page for further details.


We look forward to having feedback from you in this thread.


Best regards,
IHFOAM Team
Environmental Hydraulics Institute “IHCantabria” - Universidad de Cantabria


OPENFOAM® is a registered trade mark of OpenCFD Limited, producer and distributor of the OpenFOAM software via wwww.openfoam.com
__________________
http://ihfoam.ihcantabria.com/

Last edited by Tobi; September 22, 2017 at 03:15.
IHFOAM Team is offline   Reply With Quote

Old   September 20, 2017, 12:38
Default
  #2
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Thanks for your work on the GUI. I can download the GUI manual successfully, but fail to download the GUI, can you check the links?
lin is offline   Reply With Quote

Old   September 20, 2017, 12:51
Default
  #3
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Lin

Quote:
Originally Posted by lin View Post
can you check the links?
We have just re-checked everything and it works wonderfully... if you can donwload the tutorial you should be able to download the code.

Can we suggest you to try with another internet browser?
If the problem persists, let us know and we will try to solve it.

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

Old   September 20, 2017, 13:09
Default
  #4
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Thanks for your reply. I check the links again. I can download the ihFoam_mangroves.tar.gz ihFoam.tar.gz and Manual_GUI_IHFOAM_v1.pdf files, but for the IHFOAM-GUI_Ubuntu_1404_v1.15.tar.gz and IHFOAM-GUI_Ubuntu_1604_v1.15.tar.gz, I get the following error:

Website unreachable
The page or website that you try to reach doesn’t exist or is unreachable.
lin is offline   Reply With Quote

Old   September 20, 2017, 14:50
Default
  #5
Member
 
Brian Willis
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 58
Rep Power: 15
Dipsomaniac is on a distinguished road
Also checked, and the links work as expected.
Dipsomaniac is offline   Reply With Quote

Old   September 20, 2017, 22:35
Default
  #6
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
I tried just now at the office, the download links are usable. Thanks for your confirmation.
IHFOAM Team likes this.
lin is offline   Reply With Quote

Old   September 27, 2017, 23:35
Default
  #7
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
I'm interested in this GUI and want to give some feedback.

Since now the openfoam.com releases the binary version with the docker technology, the users could install it on any operating system, without bothering compiling from the source code. The centos system is used. But the GUI is built with ubuntu, this means if one want to use the GUI one have to compile the source code.

It may be better to release the GUI versoins on a system compatible with the openfoam.com release.
lin is offline   Reply With Quote

Old   September 28, 2017, 07:17
Default
  #8
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Quote:
Originally Posted by lin View Post
I'm interested in this GUI and want to give some feedback.
Thanks!!!


Quote:
Originally Posted by lin View Post
It may be better to release the GUI versions on a system compatible with the openfoam.com release.
Yes, you are absolutely right. We will move in the future in this direction and make IHFOAM-GUI compatible with any operating system.

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

Old   October 3, 2017, 13:57
Default
  #9
New Member
 
Join Date: Oct 2017
Posts: 4
Rep Power: 9
toby.jhnsn is on a distinguished road
Just wanted to say that I am extremely interested in the potential of this model and the new GUI interface.

I'm a first time user both with IHFOAM and Linux. I have successfully installed and compiled both openFoam 1612+ and Paraview following the tutorial on the openFOAM wiki here.

I am not yet comfortable enough to get the docker installation method working alongside the GUI so went ahead and compiled 1612+ locally as apparently it is also compatible.

I am having an issue trying to execute any of the openFoam commands from within the GUI. For instance, following the GUI tutorial i am faced with the following error upon trying to execute the blockMesh command inside the StokesV interFoam example.

/bin/sh: 1: blockMesh: not found

The same issue persists for any of the other commands that are executed. It seems to me as some kind of path error related to the way the GUI is using the shell but I do not have the experience to figure this out. Has anybody faced this issue or know how to go about solving it?

Just so you are aware the blockMesh command works fine outside of the GUI interface.

Regards,
Toby

Last edited by toby.jhnsn; October 4, 2017 at 05:39.
toby.jhnsn is offline   Reply With Quote

Old   October 4, 2017, 05:42
Default
  #10
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Toby,

Quote:
Originally Posted by toby.jhnsn View Post
Just wanted to say that I am extremely interested in the potential of this model and the new GUI interface.
That sounds great!!

Quote:
Originally Posted by toby.jhnsn View Post
For instance, following the GUI tutorial i am faced with the following error upon trying to execute the blockMesh command inside the StokesV interFoam example.

/bin/sh: 1: blockMesh: not found

Please, can you check if you have set in Edit/Preferences the correct path to OpenFOAM?
Check section 2.3 in the GUI-Manual:
http://ihfoam.ihcantabria.com/IHcode..._IHFOAM_v1.pdf

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

Old   October 4, 2017, 06:51
Default
  #11
New Member
 
Join Date: Oct 2017
Posts: 4
Rep Power: 9
toby.jhnsn is on a distinguished road
Quote:
Please, can you check if you have set in Edit/Preferences the correct path to OpenFOAM?
Check section 2.3 in the GUI-Manual:
http://ihfoam.ihcantabria.com/IHcode..._IHFOAM_v1.pdf
I have already included the paths to both openFoam and Paraview. Just to be sure the correct directory to provide should be the root directory for the openFoam version right (i.e the folder with bin, doc, platforms, src etc.). I tried other directories however i was given an error telling me that bashrc could not be located.

As part of the openFoam installation i was required to set up an alias in ~/.bashrc to the openFoam bashrc file to load the correct shell environment for openFoam. Could this have anything to do with the issue?
toby.jhnsn is offline   Reply With Quote

Old   October 5, 2017, 08:13
Default
  #12
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Toby,

Quote:
Originally Posted by toby.jhnsn View Post
Just to be sure the correct directory to provide should be the root directory for the openFoam version right (i.e the folder with bin, doc, platforms, src etc.).
Yes, it is the OpenFOAM-version folder.
In my case: ~/OpenFOAM/OpenFOAM-v1706/

(If you check that folder, you should see:
"Allwmake" "applications/" "bin/" "build/" "BuildIssues.txt" "COPYING" "doc/" "etc/" "platforms/" "README.md" "src/" "tutorials/" "wmake")

Did you compile OpenFOAM or do you use a pre-compiled version?
Which version of OpenFOAM are you using?
Are you using Ubuntu-14.04 or Ubuntu-16.04?

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

Old   October 5, 2017, 08:59
Default
  #13
New Member
 
Join Date: Oct 2017
Posts: 4
Rep Power: 9
toby.jhnsn is on a distinguished road
Ok, the Openfoam folder path has been provided correctly. I am running Ubuntu 16.04 and compiled openFoam myself following the wiki guide that I listed previously. There does not seem to be any issue running openFoam outside the GUI.

Have you referenced any additional paths to the openFoam bashrc file in either your ~/.basrc or ~/.profile files?
toby.jhnsn is offline   Reply With Quote

Old   October 5, 2017, 15:31
Default
  #14
New Member
 
Join Date: Oct 2017
Posts: 4
Rep Power: 9
toby.jhnsn is on a distinguished road
As an update to my issues, I managed to get the GUI to work. The issue was entirely my fault and due to permission errors on the ~/openFOAM folder. I recompiled the entire package from scratch and no longer have this issue.
toby.jhnsn is offline   Reply With Quote

Old   October 6, 2017, 03:33
Default
  #15
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Toby,

Quote:
Originally Posted by toby.jhnsn View Post
I managed to get the GUI to work.
Great news!!!

Please, let us know if you have any other issue or any feedback that you would like to share.

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

Old   April 5, 2018, 19:28
Default
  #16
Member
 
Luís Tiago Ferreira Fernandes
Join Date: Mar 2018
Posts: 30
Rep Power: 8
ltiago94 is on a distinguished road
Hello everyone. I've managed to install the gui and started to create a new case.
When I run snappyHexMesh I get a error saying " keyword castellatedMeshControls is undefined in dictionary"

Can anyone help me ?
ltiago94 is offline   Reply With Quote

Old   April 9, 2018, 05:28
Default
  #17
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Tiago

Quote:
When I run snappyHexMesh I get a error saying " keyword castellatedMeshControls is undefined in dictionary"
Which OpenFOAM version are you using?
Have you tried any of the tutorials that are included in the folder: tutorials/multiphase/interFoam/laminar/?

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

Old   April 9, 2018, 11:54
Default
  #18
Member
 
Luís Tiago Ferreira Fernandes
Join Date: Mar 2018
Posts: 30
Rep Power: 8
ltiago94 is on a distinguished road
I'm using openfoam-v1706 for the ihfoam gui.
I've tried one of the tutorials but if I'm not mistaken, none of them uses snappyhexmesh.
ltiago94 is offline   Reply With Quote

Old   April 9, 2018, 12:46
Default
  #19
Senior Member
 
IHFOAM Team's Avatar
 
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9
IHFOAM Team is on a distinguished road
Hi Tiago,

Quote:
Originally Posted by ltiago94 View Post
I'm using openfoam-v1706 for the ihfoam gui.
I've tried one of the tutorials but if I'm not mistaken, none of them uses snappyhexmesh.
Yes indeed; I just wanted to make sure that your OF version was working properly.

It looks to me as there must be a problem when you define your .stl files (maybe the names or a missing bracket). Can you post your snappyHexMeshDict file here?

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

Old   April 9, 2018, 18:39
Default
  #20
Member
 
Luís Tiago Ferreira Fernandes
Join Date: Mar 2018
Posts: 30
Rep Power: 8
ltiago94 is on a distinguished road
Quote:
Originally Posted by IHFOAM Team View Post
Hi Tiago,



Yes indeed; I just wanted to make sure that your OF version was working properly.

It looks to me as there must be a problem when you define your .stl files (maybe the names or a missing bracket). Can you post your snappyHexMeshDict file here?

Regards,
IHFOAM Team.
Hello, you can find the snappyHexMeshDict that the GUI generates attached.

Luís
Attached Files
File Type: zip snappyHexMeshDict.zip (1.2 KB, 5 views)
ltiago94 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
Divergence detected in AMG solver: k when udf loaded google9002 Fluent UDF and Scheme Programming 3 November 8, 2019 00:34
udf problem jane Fluent UDF and Scheme Programming 37 February 20, 2018 05:17
UDF velocity profile willroca Fluent UDF and Scheme Programming 2 January 10, 2016 04:13
Error messages atg enGrid 7 August 30, 2013 12:16
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 15:37


All times are GMT -4. The time now is 17:18.