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   March 12, 2020, 08:41
Default
  #61
Member
 
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6
CallumG is on a distinguished road
Hi Santiago,

Thank you very much for the reply I appreciate it! I managed to get some success using OF-v1806 (discarding the GUI), I didn't manage to complete either of the first tutorials on the IHFoam website however, due to errors.

Could I ask with IHFoam now intergrated into official OpenFOAM releases, is the interFoam solver the same as the ihFoam solver? Is there any need to comile the IHFoam source code?

Cheers
Callum
CallumG is offline   Reply With Quote

Old   April 9, 2020, 05:01
Default
  #62
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 CallumG,

Quote:
Could I ask with IHFoam now intergrated into official OpenFOAM releases, is the interFoam solver the same as the ihFoam solver?

IHFOAM will be added in the future to the official release, meanwhile you must compile it as it is explained here:
https://ihfoam.ihcantabria.com/model/gui/


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

Old   July 2, 2020, 18:25
Default
  #63
tcl
New Member
 
Tomas Cuevas
Join Date: Feb 2019
Posts: 4
Rep Power: 7
tcl is on a distinguished road
Hi IHFoam Team,

I'm quite new with openfoam.
I'm trying to run the tutorials but I'm having problems with blockMesh. I'm getting this error message: (I have ubuntu 20.04)
ERROR!! /usr/bin/sh: 136: .: Can't open /openfoam7/etc/config.sh/functions

I changed the permissions of the complete openfoam installation folder to be read, write and execute, but the problem remains.

My OF installation is working perfectly outside the IHFoam GUI.

It is possible to run IHFoam with OF7?? (downloaded from https://openfoam.org/).

Thanks!
Tomás
tcl is offline   Reply With Quote

Old   July 15, 2020, 04:20
Default
  #64
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 Tomás,

Quote:
It is possible to run IHFoam with OF7?? (downloaded from https://openfoam.org/).
No, it just compiles and runs for ESI's official release (https://www.openfoam.com/)

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

Old   October 27, 2020, 10:15
Default IHFoam compile error and GUI installation
  #65
New Member
 
Hattab Abdelhak
Join Date: Oct 2020
Posts: 8
Rep Power: 6
Doum2 is on a distinguished road
i'm begginer in OpenFoam and want to learn to use it. i'm not sure if this is the right place to expose my problem (correcte me if i'm wrong), i donloaded OPENFOAM v1812 and succefully compile it (not got error) but when i try to compile IHFoam using Allmake script gor error (see attached screenshot), what's wrong ?
secondly , i want to use IHFoam GUI v2_3, i dwnloaded it but not have any idea how to install it, i tried to excute it directly but got error, any wone can help me to resolve this problems?

thank's
Attached Images
File Type: jpg IHFoam error.jpg (126.4 KB, 18 views)
Doum2 is offline   Reply With Quote

Old   November 5, 2020, 07:32
Default
  #66
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

Quote:
what's wrong ?
Please, check that you are trying to install IHFOAM-v1812, because it seems that you are using an old version.
Download it from here:
https://ihfoam.ihcantabria.com/source-code/

Quote:
any wone can help me to resolve this problems?
Please, look for more info here:
https://ihfoam.ihcantabria.com/model/gui/
And use the tutorials to start learning how to use it:
https://ihfoam.ihcantabria.com/source-code/tutorials/

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

Old   November 11, 2020, 05:38
Default
  #67
Member
 
philip lu
Join Date: Aug 2019
Posts: 87
Rep Power: 7
philiplu is on a distinguished road
Hello, IHFOAM Team,

in your tutorial "Breaking solitary waves on a mild slope (2D)", the "U" in "outlet" of "0.org" shall be updated to
outlet { type noSlip; }
from
outlet { type waveVelocity; value uniform (0 0 0); }
why or is it correct?

yes, the outlet in this case is on bank top, i.e. is open/air (instead of inside water), so the "type waveVelocity;" of U needs update, but why "noSlip"?


thanks, best

@Doum2 "... can you ... show me how you compile IHFoam ? ....":
Compiling "GUI": I've no experience, assume, following the manual, it can be done
Comiling "command version": there's also manual, according to which compiling can be done by means online or offline

Last edited by philiplu; November 12, 2020 at 07:40.
philiplu is offline   Reply With Quote

Old   November 12, 2020, 06:13
Default
  #68
New Member
 
Hattab Abdelhak
Join Date: Oct 2020
Posts: 8
Rep Power: 6
Doum2 is on a distinguished road
Quote:
Originally Posted by philiplu View Post
Hello, IHFOAM Team,

in your tutorial "Breaking solitary waves on a mild slope (2D)", the "U" in "outlet" of "0.org" shall be updated to
outlet { type noSlip; }
from
outlet { type waveVelocity; value uniform (0 0 0); }
why or is it correct?

yes, the outlet in this case is on bank top, i.e. is open/air (instead of inside water), so the "type waveVelocity;" of U needs update, but why "noSlip"?


thanks, best
Hello, please can you help me , and show me how you compile IHFoam ?
i would appriciate
Doum2 is offline   Reply With Quote

Old   December 15, 2020, 06:19
Default IHFoam GUI error
  #69
New Member
 
Hattab Abdelhak
Join Date: Oct 2020
Posts: 8
Rep Power: 6
Doum2 is on a distinguished road
I'm sorry once again for my questions but this time I have a new error which appears after I run the set patches names command as you can see on the screenshots
I have checked the project folder and the blockMeshDict file exists with the settings I entered on IHFoam GUI.

any Idea?
Doum2 is offline   Reply With Quote

Old   December 17, 2020, 13:39
Default Problem to use IHFOAM GUI
  #70
New Member
 
Luiz Ferreira
Join Date: Oct 2020
Posts: 7
Rep Power: 6
lppferreira is on a distinguished road
Hi everyone,

I am running OpenFOAM-v1812, wsl2 Ubuntu 18.04 and I am trying to install IHFOAM GUI. Unfortunately there has been some errors in the program.
- 1st: When I try to create a new Project, everytime appears the following message "ERRROR!! Couldn't initialize the OpenGL context." and "ERROR!! The project has not been created"

Error.jpg

Error2.jpg

- 2nd: When I try to click at "Load Tutorials" nothing happens.
Load_Tutorials.jpg

After I leave the program the following message appears in the terminal:

"QMetaObject::connectSlotsByName: No matching signal for on_btnOpenFoamPreferences_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnParaviewPreferences_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_menuLoad_Recent_Project_Item_triggered(QAction* )
QMetaObject::connectSlotsByName: No matching signal for on_btnOk_NamePatches_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnCancel_NamePatches_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnStatusBar_clicked()
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast"
Rosy likes this.
lppferreira is offline   Reply With Quote

Old   February 26, 2021, 12:55
Default OpenFOAM v1812 + IHFoam 2.3
  #71
New Member
 
Milad
Join Date: Jul 2020
Posts: 4
Rep Power: 6
MIH_ANSYS is on a distinguished road
Hello Guys,

I would be appreciated if you could answer my question.

I installed IHFoam on ubuntu 20.04 on virtual box. and compiled OpenFOAM 1812.
when I want to do blockMesh I got this error.
Attached Images
File Type: png Shot 0005.png (61.5 KB, 16 views)
MIH_ANSYS is offline   Reply With Quote

Old   April 9, 2021, 06:35
Default "Export icon" kudos
  #72
New Member
 
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7
habitatguy is on a distinguished road
Quote:
Originally Posted by ms.hashempour View Post
Would you plz add "export icon" for exporting the free surface elevation data to excel or other programs? It is really necessary.

Also, adding sediment transport majola can enhance the GUI and Meets all needs.

Thanks for your attention and providing this Amazing tool



I agree that adding this "export icon" to export data as csv would be awesome and really help those that don't usually work with Linux and Python. Otherwise, the tool is becoming great!
Do you have an ETA on when the "Export Case" button will be available?


Thanks!
habitatguy is offline   Reply With Quote

Old   April 9, 2021, 08:12
Default Probes data to csv
  #73
New Member
 
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7
habitatguy is on a distinguished road
Quote:
Originally Posted by ms.hashempour View Post
Would you plz add "export icon" for exporting the free surface elevation data to excel or other programs? It is really necessary.

Also, adding sediment transport majola can enhance the GUI and Meets all needs.

Thanks for your attention and providing this Amazing tool

ms.hasempour I found a Python script that exports the line probes data to a csv file, it is easy to use and seems to work well: https://github.com/NKrvavica/LineProbes


I also recommend making it executable and adding to the $PATH if you want to use it often, as suggested by him.


Let me know if you need help using it!


Cheers
habitatguy is offline   Reply With Quote

Old   June 21, 2021, 01:09
Default
  #74
New Member
 
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8
unners is on a distinguished road
I'm trying to use the GUI with OpenFoam-v2012 but I'm also getting the "The OpenFoam path was not found..." error.

OpenFoam itself is working fine, and I have specified the correct path in the GUI (/opt/OpenFOAM/OpenFOAM-v2012)

Can anyone help out where I'm going wrong?

Thank you!

Cheers

Dave

Last edited by unners; June 22, 2021 at 06:59.
unners is offline   Reply With Quote

Old   July 20, 2021, 05:42
Default Installation IHFOAM
  #75
New Member
 
Rosangela
Join Date: Jul 2021
Posts: 4
Rep Power: 5
Rosy is on a distinguished road
Hello everyone!

I want to use IHFOAM for modeling solitary waves impacting two cylinders.

Unfortunately, I am having problems installing the tool. On the Ubuntu Virtual machine I have already installed OpenFOAM version 8. I also downloaded IHFOAM software and, after receiving the email from The IHFOAM Team, I cloned the repository with the reference manual, additional materials and tutorials on my computer. I can't update the software with "git checkout" and "git pull" and also from the GUI I can't even load a tutorial. I was wondering if you would be kind enough to help me solve this problem.

Thank you in advance!
Rosy is offline   Reply With Quote

Old   July 20, 2021, 09:44
Default
  #76
New Member
 
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8
unners is on a distinguished road
Quote:
Originally Posted by lppferreira View Post
Hi everyone,

I am running OpenFOAM-v1812, wsl2 Ubuntu 18.04 and I am trying to install IHFOAM GUI. Unfortunately there has been some errors in the program.
- 1st: When I try to create a new Project, everytime appears the following message "ERRROR!! Couldn't initialize the OpenGL context." and "ERROR!! The project has not been created"

Attachment 81615

Attachment 81616

- 2nd: When I try to click at "Load Tutorials" nothing happens.
Attachment 81617

After I leave the program the following message appears in the terminal:

"QMetaObject::connectSlotsByName: No matching signal for on_btnOpenFoamPreferences_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnParaviewPreferences_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_menuLoad_Recent_Project_Item_triggered(QAction* )
QMetaObject::connectSlotsByName: No matching signal for on_btnOk_NamePatches_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnCancel_NamePatches_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_btnStatusBar_clicked()
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast"
Did you find any answers to the above problems? (i'm having the same issues). I think it may be related to the Nvidia drivers but I've tried installing the correct drivers with no luck.
unners is offline   Reply With Quote

Old   July 22, 2021, 08:12
Default
  #77
New Member
 
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8
unners is on a distinguished road
Further to my earlier post, I've reinstalled OpenFoam in the User directory, but still getting the "The OpenFoam path was not found... error". In the GUI, it doesn't seem to remember the locations for OpenFoam or Paraview?
unners is offline   Reply With Quote

Old   August 23, 2021, 16:25
Default Help with IHFoam GUI Installation
  #78
New Member
 
Scott Hicks
Join Date: Aug 2021
Posts: 3
Rep Power: 5
shicks99 is on a distinguished road
I have installed OpenFoamv1906 (and also have tried with OpenFoamv2012 and I get the same issue). I have downloaded the IHFoam installer (IHFoamV2_3). When I run the installer, I get the following error:


QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-shicks33'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.


Any suggestions as to what could be causing this and how to resolve it?

Thanks!
shicks99 is offline   Reply With Quote

Old   October 11, 2021, 12:32
Default
  #79
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 Dave,

Quote:
Originally Posted by unners View Post
In the GUI, it doesn't seem to remember the locations for OpenFoam or Paraview?
For new cases, you must always define which OF and Paraview version you are using. (Click en Edit-->Preferences.)

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

Old   October 11, 2021, 12:35
Default
  #80
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 Rosangela,

Quote:
Originally Posted by Rosy View Post
... I have already installed OpenFOAM version 8.!
IHFOAM-GUI just works under the ESI's official release. Please, download it from here:
https://www.openfoam.com/news/main-news/openfoam-v2106

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
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 01:20.