CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Helyx-OS (GUI for SnappyHexMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree37Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   July 26, 2012, 16:13
Thumbs up Helyx-OS (GUI for SnappyHexMesh
  #1
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi everybody,
saw that HelyxOS is ready for download!

=>HelyxOS is a preprocessor to run snappyHexMesh and setup cases for running supported solvers (means working OpenFOAM-2.1.x installation nescessary).
http://sourceforge.net/p/helyx-os/wiki/Home/
http://sourceforge.net/p/helyx-os/wi...dInstallation/

thanks to Engys for their great contribution
phsieh2005, amgode, s.m and 1 others like this.
elvis is offline   Reply With Quote

Old   July 26, 2012, 17:53
Default
  #2
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 361
Rep Power: 10
vkrastev is on a distinguished road
Downloaded the pre-compiled software: at first glance it seems promising, but I've noticed that only a few discretization schemes are available for convective terms. Though they are probably the most popular and generally effective (1st order upwind, second order linear upwind, limited CD and filtered CD) I wonder if the list will be extended in the future. Anyway, great work and many thanks to the Engys guys!

V.
vkrastev is offline   Reply With Quote

Old   July 27, 2012, 04:10
Default
  #3
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Dear Vesselin,

keep in mind that there are also some commercial product (Helyx&Elements) based on the same code.
These products will provide much more features and support, so the free of charge product can only be a teaser and full features come with the commercial product.

But it is a nice tool to handle SHM at least and create case setup to a certain point, so preprocessing process becomes less pain.

=> I am not affiliated with ENGYS or any commercial company in the OF-world
elvis is offline   Reply With Quote

Old   July 27, 2012, 04:20
Default
  #4
Senior Member
 
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 361
Rep Power: 10
vkrastev is on a distinguished road
Hi Elvis,
I do agree with you, mine was only a remark about a certainly not fundamental aspect (one can simply setup the case with the gui and then go through the fvSchemes file and modify whatever he wants). I also agree that the most interesting thing about the Helyx software is the integration with Snappy, which makes it probably the first concrete attempt to realize a fully integrated (preprocessor+solver+post processor) open source CFD tool. So, once again, thanks to the Engys team!

V.
vkrastev is offline   Reply With Quote

Old   July 27, 2012, 15:47
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

As a tie-in their official news here at the forum: Helyx-OS Open Source GUI for OpenFOAM
They've also added it to the news section at http://openfoamwiki.net

I've finished up the missing link at http://openfoamwiki.net/index.php/GUI

Mmm... which as lead me to an outdated page: http://openfoamwiki.net/index.php/Main_OtherSoftware

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 30, 2012, 08:20
Default
  #6
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Bruno,

I don't know if it is the right place where to ask this question.
I have installed the pre-compiled Helyx version.
When I launch helyx (./helyxOS.sh) I get the following message.
Helyx seems to work apart the GUI part (right side / error loading VTK libraries).

hel[25]cfs10-sanchi /home/sanchi % helyx
java -Xms128m -Xmx1024m -jar /shared/Engys/HelyxOS/v100/lib/HelyxOS.jar
vtkCommonJava loaded
vtkFilteringJava loaded
vtkGraphicsJava loaded
java.lang.UnsatisfiedLinkError: /shared/Engys/HelyxOS/v100/ext/libvtkHybridJava.so.5.10.0: libmpi.so.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1807)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1732)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at eu.engys.helyx.vtk.VTKUtil.loadLibrary(VTKUtil.jav a:87)
at eu.engys.helyx.vtk.VTKUtil.LoadAllNativeLibraries( VTKUtil.java:64)
at eu.engys.helyx.gui.Launcher.main(Launcher.java:44)
Make sure the search path is correct:
/shared/Engys/HelyxOS/v100/jre_linux_x64_VTK/lib/amd64/server:/shared/Engys/HelyxOS/v100/jre_linux_x64_VTK/lib/amd64:/shared/Engys/HelyxOS/v100/jre_linux_x64_VTK/../lib/amd64:/shared/Engys/HelyxOS/v100/ext:/shared/Engys/HelyxOS/v100/jre_linux_x64_VTK/lib/amd64/xawt:/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/paraview-3.12.0/lib/paraview-3.12:/shared/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3:/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3:/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib:/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib64:/home/sanchi/OpenFOAM/sanchi-2.1.x/platforms/linux64GccDPOpt/lib:/shared/OpenFOAM/site/2.1.x/platforms/linux64GccDPOpt/lib:/shared/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib:/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64GccDPOpt/lib:/shared/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/dummy:/opt/mpich/lib:/soft/intel/compiler81_fce/lib:/soft/ParaView/ParaView3/Utilities/VTKPythonWrapping:/soft/ParaView/ParaView3/bin:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
VTKUtil.librariesAreLoaded() false
[26]cfs10-sanchi /home/sanchi %

Regards,
Stephane.
openfoam_user is offline   Reply With Quote

Old   July 30, 2012, 09:01
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Stephane,

Search for existing files "libmpi.so*":
Code:
ls -l /shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib/libmpi.so*

ls -l /shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib64/libmpi.so*
In the folder where you have found probably the file "libmpi.so", run this command:
Code:
ln -s libmpi.so libmpi.so.0
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   July 30, 2012, 09:14
Default
  #8
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Bruno,

For my OF-installation the file "libmpi.so" is located in:
/shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib

Then:
cd /shared/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc/openmpi-1.5.3/lib
ln -s libmpi.so libmpi.so.0

And now helyx GUI works !

Thanks for your very quick help !

Stephane.
fumiya likes this.
openfoam_user is offline   Reply With Quote

Old   August 3, 2012, 09:42
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Stephane and anyone else reading this!

I've reported this issue and provided a more generic solution here: http://sourceforge.net/p/helyx-os/di...0ba8384c/#ae90

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 3, 2012, 17:35
Default
  #10
New Member
 
stefano pieretti
Join Date: Aug 2012
Posts: 12
Rep Power: 4
stez is on a distinguished road
Hi!
I have problems with libraries too.. I can start HelyxOS and set up my mesh, but when i go to "Create mesh" it gives me an error in mesh.run
"blockMesh: error while loading shared libraries: libblockMesh.so: cannot open shared object file: no such file or directory"
Same error for snappyHexMesh (with libfinitevolume.so)..
I'm running Caelinux 2011, with openfoam 2.0.x, i also installed openfoam 2.1.1 and updated /.bashrc settings, but without success.

What can i do?
stez is offline   Reply With Quote

Old   August 4, 2012, 05:52
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Stefano and welcome to the forum!

Mmm.... OK, a few questions:
  1. In your "~/.bashrc" file, are you certain that only OpenFOAM 2.1.1 is activated into the shell environment? For more on this subject: Advanced tips for working with the OpenFOAM shell environment
  2. Are you able to run blockMesh in the command line?
  3. Are you also launching Helyx-OS from the command line, the same command line where you ran blockMesh with success?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 4, 2012, 07:22
Default
  #12
New Member
 
stefano pieretti
Join Date: Aug 2012
Posts: 12
Rep Power: 4
stez is on a distinguished road
Thanks!
1. I'm not totally sure, but if it could help, I had the same error even before installing 2.1.1.
2.blockMesh works, obviously it give me an error of dict file not found if i'm not into a case directory.
3. yes, i run all from the same terminal.

Caelinux have also an "openfoam terminal": same error from that, too..

I think i will leave Caelinux for another distro and make a clean Openfoam install if problems goes on.
stez is offline   Reply With Quote

Old   August 4, 2012, 07:52
Default
  #13
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by stez View Post
I think i will leave Caelinux for another distro and make a clean Openfoam install if problems goes on.
Right now I won't be able to run some tests with CAELinux, so I can't diagnose the problem until then.

My personal feeling is that CAELinux is good for getting started with things and to get a feel on how things work on Linux per-se and with open-source CAE applications. But after getting familiar with the environment, it's a good experience to step up to the next level and create your own personal installation of a Linux distribution more to your liking and build on it!
wyldckat is offline   Reply With Quote

Old   August 7, 2012, 15:11
Default
  #14
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

Just wanted to know whether I am the only one having a bug of not having the 'boundary' file in constant/polyMesh updated correctly by HelyxOS, as well as it seems that whenever we create a new case, the 'blockMeshDict' file is saved in the 'system' folder (not sure why).

Disclaimer: I am running HelyxOS on a 32bit machine. I had to correct a number of dependencies since Engys is only providing so far a 64bit binary, and the compilation instructions seem to be for 64bit as well.

Best regards,
Jose
santos is offline   Reply With Quote

Old   August 7, 2012, 18:55
Default
  #15
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi José,

Quote:
Originally Posted by santos View Post
Just wanted to know whether I am the only one having a bug of not having the 'boundary' file in constant/polyMesh updated correctly by HelyxOS,
The "boundary" file only updated for me if I define or change a surface geometry. Volume geometries don't count for the "boundary" file.
I used only the basic geometries that Helyx-OS provides.

Quote:
Originally Posted by santos View Post
as well as it seems that whenever we create a new case, the 'blockMeshDict' file is saved in the 'system' folder (not sure why).
Same thing happens in 64bit with the official build. I was going to imply sunday driving was going on, but apparently it's taking advantage of blockMesh's option "-dict" It does make some sense to place this dict in "system" as well...

Quote:
Originally Posted by santos View Post
Disclaimer: I am running HelyxOS on a 32bit machine. I had to correct a number of dependencies since Engys is only providing so far a 64bit binary, and the compilation instructions seem to be for 64bit as well.
I've been meaning to do the same, namely building from source... but Java can be such a pain in the "#$"%#$&... (may FoamX rest in peace ...)

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   August 8, 2012, 04:48
Default
  #16
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 12
eugene is on a distinguished road
I told them to put blockMeshDict in the system directory. This is the only dictionary that is in polyMesh and makes deleting old meshes dangerous and/or forces you to learn yet another command: foamClearPolyMesh. Much better to have blockMeshDict safe and sound in the system directory. In fact, if I had my way, all input dictionaries would be in the system directory. There is too much senseless legacy in foam imo.

Eugene
eugene is offline   Reply With Quote

Old   August 8, 2012, 06:04
Default
  #17
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Bruno,
Eugene,

Thanks for your comments, it makes some sense indeed to place blockMeshDict in the system directory.

Bruno,

I was able to compile and run HelyxOS on my 32bit openSUSE 12.1 system as long as I used Oracle's Java (did not work with the IcedTea version).

Best regards,
Jose
santos is offline   Reply With Quote

Old   August 8, 2012, 08:25
Default
  #18
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by santos View Post
I was able to compile and run HelyxOS on my 32bit openSUSE 12.1 system as long as I used Oracle's Java (did not work with the IcedTea version).
The part that pains me is the need to also have to search and build the other third-party libraries... VTK and Java is almost given by most Linux distributions, but all of the other dependencies simply take a toll on my patience
wyldckat is offline   Reply With Quote

Old   August 8, 2012, 11:31
Default
  #19
New Member
 
stefano pieretti
Join Date: Aug 2012
Posts: 12
Rep Power: 4
stez is on a distinguished road
No way I can run HelixOS .. Switched from CAElinux to Ubuntu 12.04, clean install of OpenFoam 2.1.1, updated /.bashrc, works fine.
HelyxOS starts, works almost fine with his "primitives" (only problem I can't use reconstructPar after a parallel run, but i think there a fault of mine somewhere in the settings), but it can't load STL. It crash down with this line in the terminal:

/home/stefano/Engys/HelyxOS/v100/ext/libvtkWidgetsJava.so.5.10.0./helyxOS.sh: riga 124: 32672 Annullato (core dump creato) ${JAVA} ${LOCALEFLAG} ${JFLAG} ${XFLAG} ${HELYXJAR} ${HELYXARG} ${VERBOSITY_LEVEL} $@ 1>&2

and whit this file in HelyxOS folder:

ERROR: In /home/stefano/VTK/IO/vtkSTLReader.cxx, line 378
vtkSTLReader (0x7fe1540012c0): STLReader error reading file: /home/stefano/.HelyxOS/tmp/tmp_2012.08.08_17.27.54_446/tokens21702/camera2.stl_vcg Premature EOF while reading point.

I tried several ASCII STL, exported from different software (blender and meshlab), no one works.

Any suggestion?
stez is offline   Reply With Quote

Old   August 8, 2012, 11:46
Default
  #20
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 543
Rep Power: 18
chegdan will become famous soon enough
This could be a problem with the decimal separator in your STl

http://sourceforge.net/p/helyx-os/tickets/31/

Its currently listed as a known issue and getting fixed.
stez likes this.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Reply

Tags
cases setup, preprocessor, snappyhexmesh

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Helyx-OS Open Source GUI for OpenFOAM eugene OpenFOAM Announcements from Other Sources 14 July 13, 2015 10:39
TUI Commands from GUI? Carlos FLUENT 6 May 22, 2013 18:05
User Defined GUI Frederik FLUENT 0 June 23, 2006 16:12
Command Line vs. GUI Menus Go FLUENT 0 June 8, 2005 16:05
GUI window settings cmv CD-adapco 0 February 7, 2005 07:22


All times are GMT -4. The time now is 03:36.