|
[Sponsors] |
April 10, 2018, 04:19 |
|
#21 | |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi Tiago,
Quote:
You must used a unique label to define the Refinement Box; therefore, you should name it "freesurface" and not "free surface". Best Regards, IHFOAM Team.
__________________
http://ihfoam.ihcantabria.com/ |
||
April 10, 2018, 05:20 |
|
#22 | |
Member
Luís Tiago Ferreira Fernandes
Join Date: Mar 2018
Posts: 30
Rep Power: 8 |
Quote:
Another thing, I think I need to use extrudeMesh after snappyHexMesh because I'll need a 2D case not 3D. How can I do it? Luís |
||
April 10, 2018, 05:36 |
|
#23 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi Luis,
(I don't know why I keep calling you Tiago when you don't sign your messages with that name, sorry about that.) We have not added yet that capability to our GUI; therefore you should run it in a terminal. Best Regards, IHFOAM Team.
__________________
http://ihfoam.ihcantabria.com/ |
|
November 15, 2018, 01:57 |
|
#24 |
New Member
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8 |
I'm sorry for my first post to be such a basic question but I would really appreciate any help! I'm desperately trying to get the GUI working but can't get any of the tutorials to open (the GUI just shuts down). I'm new to OpenFOAM so finding the learning curve very steep! I've copied the Ubuntu screen if that helps:
unners@DESKTOP-00H41C5:~/IHFOAM/IHFOAM-GUI_Ubuntu_1604_v1.15/dist/main$ ./main (main:5648): Gtk-WARNING **: Attempting to store changes into `/home/unners/.local/share/recently-used.xbel', but failed: Failed to create file '/home/unners/.local/share/recently-used.xbel.PZSFSZ': No such file or directory (main:5648): Gtk-WARNING **: Attempting to set the permissions of `/home/unners/.local/share/recently-used.xbel', but failed: No such file or directory 16:35:03: Debug: Adding duplicate image handler for 'PNG file' 16:35:03: Debug: Adding duplicate image handler for 'JPEG file' 16:35:03: Debug: Adding duplicate image handler for 'TIFF file' 16:35:03: Debug: Adding duplicate image handler for 'GIF file' 16:35:03: Debug: Adding duplicate image handler for 'PNM file' 16:35:03: Debug: Adding duplicate image handler for 'PCX file' 16:35:03: Debug: Adding duplicate image handler for 'IFF file' 16:35:03: Debug: Adding duplicate image handler for 'Windows icon file' 16:35:03: Debug: Adding duplicate image handler for 'Windows cursor file' 16:35:03: Debug: Adding duplicate image handler for 'Windows animated cursor file' 16:35:03: Debug: Adding duplicate image handler for 'TGA file' 16:35:03: Debug: Adding duplicate image handler for 'XPM file' /mnt/c/IHFOAM/IHFOAM-GUI_Ubuntu_1604_v1.15/dist/main/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. Traceback (most recent call last): File "main.py", line 67, in OnInit File "lib_frame/BuildDrawFrame.py", line 127, in __init__ File "lib_obj/storage.py", line 1986, in __init__ File "lib_obj/storage.py", line 1079, in __init__ File "lib_obj/storage.py", line 1544, in LoadCaseParameters KeyError: 'hierarchicalCoeffs' OnInit returned false, exiting... Segmentation fault (core dumped) Sorry if I'm overlooking something but I've tried searching without success. Thanks in advance Cheers |
|
November 15, 2018, 03:56 |
|
#25 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi unners,
Please, use this forum to discuss your issues or talk about the topics that you might find interesting, it was created for this purpose. I was not able to reproduce your error, can you tell me what ubuntu version are you using? Best Regards, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|
November 15, 2018, 05:11 |
|
#26 |
New Member
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8 |
Thanks for the quick reply! I'm using Ubuntu 16.04 although it is running inside windows 10. OpenFOAM 18.06 seems to be working ok outside of the GUI.
Looking forward to contributing down the track! Thanks. Dave |
|
November 15, 2018, 11:58 |
|
#27 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi unners,
I had to ask for a laptop with windows 10, then install Virtual Box, then create a virtual machine with ubuntu 16.04 64bits, then download the GUI and run it.... and it works!!! (Sorry about the poor quality of the picture, I used my mobile phone.) So, can you checked if you have installed a 32 or 64 bits ubuntu version in your virtual machine? Regards IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|
November 20, 2018, 21:37 |
|
#28 |
New Member
Jo Ju Hyun
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
I don't know to play ihfoam gui blockMesh not found
I replay to install openFoam v1612+ from openfoamwiki but nothing has improved what should I do? Please tell me the solution. |
|
November 22, 2018, 18:20 |
|
#29 | |
New Member
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8 |
Thanks for the help. It's definitely a 64 bit ubuntu version. I can get the GUI window to load up as per your picture below. The errors only occur when trying to run any of the tutorials.
Cheers Quote:
|
||
November 27, 2018, 12:04 |
|
#30 | |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi unners,
Quote:
Therefore, you need to modify the decomposeParDict and change "coeffs" by "hierarchicalCoeffs" Then, the GUI should work fine and load your case. Best Regards, IHFOAM Team.
__________________
http://ihfoam.ihcantabria.com/ |
||
March 22, 2019, 04:32 |
|
#31 | |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Quote:
Hi, Just wanted to say that I was having the same issue as unners and changing "coeffs" by "hierarchicalCoeffs" worked! Thank you for your help. Best regards, Tomás |
||
March 22, 2019, 04:39 |
|
#32 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi Tomás,
We are happy to have some feedback from the community and see that the GUI is being used. We have been working in a newer version of the GUI, that it will be released very soon: new features, new design to do it even more friendly and robust, and of course, to be adapted to the newer features of the code. Please, let us know if you have any comments, thoughts or suggestions that you would like to see in the upcoming release. Best, IHFOAM Team.
__________________
http://ihfoam.ihcantabria.com/ |
|
March 22, 2019, 07:34 |
|
#33 | |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Quote:
Dear IHFOAM team member, Thank you for the quick and helpful responses. It's great to know you are working on an even better GUI, I'm looking forwards to using it! I will make suggestions for it if I find any problems with the current GUI. I am just starting with OpenFOAM and the IHFOAM-GUI, but I am happy to share some of my difficulties so far: (I'm running Ubuntu 18.10 and OpenFOAM v1812 installed from source) 1- I had difficulties finding ParaView's location. Some things aren't so obvious for beginners as they are for more experienced users. Maybe make the GUI find it automatically or give some indications of where it might be. When doing the waveExampleStokesV tutorial: 2- In the blockMeshDict change "scale" to "converToMeters". 3- Running blockMesh gave an error related to the "......./libstdc++.so.6: version 'GLIBCXX_3.4.22' not found. Found a solution online: delete "libstdc++.so.6" from folder IHFOAM_GUI/dist/main. From what the forum explained, it then uses Ubuntu's library (and not IHFOAM's). Anyway, it worked. 4- That detail you mentioned earlier of changing "coeffs" to "hierarchicalCoeffs" in the decomposeParDict. 5- When clicking "setFields" I got an error. Go to Numerical Setup, fvSchemes, fluxRequired, change default to "yes" and check the alpha.water box. I realised that if you change default to "no" and don't check any boxes, it also works. Not sure of which to chose. Can you give some feedback on this please? 6- Could you please share the final waveExampleStokesV tutorial folder? It might be good to compare with our files when we encounter errors. Kind regards, Tomás |
||
April 24, 2019, 07:02 |
Overtopping flow
|
#34 |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Dear IHFOAM Team,
I am working on studying the overtopping flow over a breakwater. I am using the surfaceFieldValue function, defining a faceZone on top of the breakwater and measuring the flow through it. I added this code to the controlDict: Code:
overtopping { type surfaceFieldValue; libs ("libfieldFunctionObjects.so"); log true; writeControl timeStep; writeFields true; surfaceFormat none; regionType faceZone; name galgamento; operation sum; weightField alpha.water; fields (phi); } Code:
actions ( { name g; type faceSet; action new; source boxToFace; sourceInfo { box (14.410 0 .75)(14.456 0.04 1); } } { name galgamento; type faceZoneSet; action new; source setToFaceZone; sourceInfo { faceSet g; } } ); I am not sure of what these values represent, but I think I have the flow in m3/s/m right? Or should I integrate to get it? (I am working at a scale of 1:50 just as reference). Thank you very much for your help! Best regards, Tomas |
|
July 25, 2019, 02:36 |
|
#35 | |
New Member
Dave Unwin
Join Date: Nov 2018
Posts: 9
Rep Power: 8 |
Hi Tomas
I'm still battling away trying to get the GUI to work. Can I ask you a couple of questions? Are you running Ubuntu within Windows 10 (WSL)? Where did you find the Paraview installation in the end? I've installed the windows build paraview, but can't seem to point the GUI to the bin folder in the program files. Running blockMesh for me gives this error which I can't seem to get past: /bin/sh: 1: eval: Syntax error: "(" unexpected Thanks in advance for any help! Cheers Dave Quote:
|
||
July 31, 2019, 05:26 |
|
#36 | ||
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Hi Dave,
Quote:
Quote:
Please, let us know any new feature or improvement that you would like to have in the newer version. It will be released after summer, and we have put all our effort in creating a very robust tool with a complete new design. Regards, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|||
October 18, 2019, 11:59 |
|
#37 | |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Quote:
Sorry for the late reply, I haven't been using OpenFOAM recently and so I haven't come to the forum. The IHFOAM Team has already replied to your questions, but just for your information I am running the IHFOAM-GUI in Ubuntu. About the second error, I don't have any more clues than the IHFOAM Team member. The Paraview location in Ubuntu is /home/username/OpenFOAM/ThirdParty-v1812/platforms/linux64Gcc/ParaView-5.6.0/bin/paraview Let me know if I can be of any help! Kind regards, Tomás |
||
October 18, 2019, 12:43 |
Line probes
|
#38 |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Dear IHFOAM Team,
I have been struggling with how to plot the time series of the water free surface, and using it to validate the results against experimental tests. I created line probes using the GUI, and the alpha.water values are stored in the postProcessing/line folder, separated by time step. Inside, there is a file for each line probe showing the value of alpha.water from 0 to 1 on 0.01 steps. Here is an example for one probe for one time step: Code:
0 1 0.01 1 0.02 1 0.03 1 0.04 1 0.05 1 0.06 1 0.07 1 0.08 1 0.09 1 0.1 1 0.11 1 0.12 1 0.13 1 0.14 1 0.15 1 0.16 1 0.17 1 0.18 1 0.19 1 0.2 1 0.21 1 0.22 1 0.23 1 0.24 1 0.25 1 0.26 1 0.27 1 0.28 1 0.29 1 0.3 1 0.31 1 0.32 1 0.33 1 0.34 1 0.35 1 0.36 1 0.37 1 0.38 1 0.39 1 0.4 1 0.41 1 0.42 1 0.43 1 0.44 1 0.45 0.999999 0.46 0.959999 0.47 0.719999 0.48 0.479999 0.49 0.24 0.5 7.81867e-07 0.51 4.06571e-07 0.52 3.12747e-08 0.53 -9.77141e-31 0.54 -1.39592e-31 0.55 -1.48462e-37 0.56 -2.96932e-38 0.57 -6.11277e-43 0.58 -1.52819e-43 0.59 -1.42905e-49 0.6 -4.20308e-50 0.61 -1.66073e-57 0.62 -5.53576e-58 0.63 0 0.64 0 0.65 0 0.66 0 0.67 0 0.68 0 0.69 0 0.7 0 0.71 0 0.72 0 0.73 0 0.74 0 0.75 0 0.76 0 0.77 0 0.78 0 0.79 0 0.8 0 0.81 0 0.82 0 0.83 0 0.84 0 0.85 0 0.86 0 0.87 0 0.88 0 0.89 0 0.9 0 0.91 0 0.92 0 0.93 0 0.94 0 0.95 0 0.96 0 0.97 0 0.98 0 0.99 0 1 0 How can I use this data to plot the time series of the water free surface? I know there is a utility on the GUI to draw it, but sometimes it doesn't work and I would prefer to be able to manipulate the data myself. Thank you very much for your help. Kind regards, Tomás |
|
October 18, 2019, 16:41 |
Unable to view the CrownWall and other breakwater stl's
|
#39 |
New Member
OVERSEAS
Join Date: Oct 2019
Posts: 2
Rep Power: 0 |
Hi,
I'm a student who is currently doing my dissertation on numerical simulation. And I found IHFoam GUI very interesting and helpful for my dissertation. I was getting familiarized with IHFoam GUI, and going through the tutorial. Tutorial no 4, regular wave interaction with Rubble-mound breakwater, after importing the crownWall, it is not visible in my Domain Viser and also after running the setFields, the whole rubblemound breakwater is missing. The visible part is only water and the blockMesh output. I'm kind of running out of time hence would appreciate it if anyone can assist me in solving this issue. Thank you Regards, Asra |
|
October 22, 2019, 06:06 |
New version of IHFOAM-GUI !!!!
|
#40 |
Senior Member
IHFOAM The Environmental Hydraulics Institute "IHCantabria"
Join Date: Sep 2017
Location: Santander (Spain)
Posts: 120
Rep Power: 9 |
Dear foamers,
We are very happy to announce the release of the new version of IHFOAM-GUI, written from scratch in Qt and C++. - Free to download. - Modulable. - Oriented to Coastal and Offshore Engineering. - All OpenFOAM (ESI version) functionalities included (now or in the future). - Clear methodology: Installation wizard, Case Manager, Mesh Setup, Numerical Parameters, Pre-Processing and Post-Processing. - Modificable on demand. Link to the web page: https://ihfoam.ihcantabria.com/model/gui/ Please, let us know your feedback, issues or thing to improve. Regards, IHFOAM Team
__________________
http://ihfoam.ihcantabria.com/ |
|
|
|
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 |