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

[Helyx OS] Helyx-OS (GUI for SnappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree44Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2013, 13:06
Default
  #81
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 12
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
Quote:
Originally Posted by chegdan View Post
Remember, HELYX-OS v1.0.2 is made to work with OpenFOAM-2.2.x.

I see that your error massage made reference to ThirdParty-2.1.x. If you would like to continue to use 2.1.x and HELYX-OS then you should download the previous version with this link.

Oh is that so. Thank you for replying so quickly. I'll try downloading the previous version and will get back to you .
rrr311 is offline   Reply With Quote

Old   June 26, 2013, 13:12
Default
  #82
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 12
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
Quote:
java -Xms128m -Xmx1024m -XX:OnError="/home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/bin/collectInfo.run" -jar /home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/lib/HelyxOS.jar HelyxOS 2>&1 | tee /home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/helyxEE.log
vtkHybridJava NOT loaded: /home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/ext/libvtkHybridJava.so.5.10.0: libmpi.so.1: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/ext/libvtkHybridJava.so.5.10.0: libmpi.so.1: 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:94)
at eu.engys.helyx.vtk.VTKUtil.LoadAllNativeLibraries( VTKUtil.java:70)
at eu.engys.helyx.gui.Launcher.main(Launcher.java:43)
Make sure the search path is correct:
/home/suse/OpenFOAM/Engys/HelyxOS/jre/lib/amd64/server:/home/suse/OpenFOAM/Engys/HelyxOS/jre/lib/amd64:/home/suse/OpenFOAM/Engys/HelyxOS/jre/../lib/amd64:/home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/ext:/home/suse/OpenFOAM/Engys/HelyxOS/v1.0.1/../jre/lib/amd64/xawt:/home/suse/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc46/paraview-3.12.0/lib/paraview-3.12:/home/suse/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/openmpi-system:/home/suse/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc46DPOpt/lib/openmpi-system:found:not:command:mpicc:/home/suse/OpenFOAM/suse-2.1.x/platforms/linux64Gcc46DPOpt/lib:/home/suse/OpenFOAM/site/2.1.x/platforms/linux64Gcc46DPOpt/lib:/home/suse/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib:/home/suse/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc46DPOpt/lib:/home/suse/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/dummy:found:not:command:mpicc:bash:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib


I installed HelyxOSv1.0.1 and this the error message. Any thoughts on this sir?
rrr311 is offline   Reply With Quote

Old   June 26, 2013, 14:35
Default
  #83
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
This was noted earlier in this thread I beleive and also located on the HELYX-OS installation page here. Depending on your operting system this error can be fixed by
Code:
ln -s $MPI_ARCH_PATH/lib/libmpi.so $MPI_ARCH_PATH/lib/libmpi.so.1
and in some, the 64 bit distribution will require instead
Code:
ln -s $MPI_ARCH_PATH/lib64/libmpi.so $MPI_ARCH_PATH/lib64/libmpi.so.1
chegdan is offline   Reply With Quote

Old   June 26, 2013, 14:45
Default
  #84
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 12
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
Oh. Is the following line supposed to appear in the error:

/home/suse/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64Gcc46DPOpt/lib/dummy:found:not:command:mpicc:bash

I got the same error when I ran it with v1.0.2.

Thanks a lot for your help Mr. chegdan
rrr311 is offline   Reply With Quote

Old   June 26, 2013, 14:54
Default
  #85
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Lets back up a bit. How did you install OpenFOAM and the Thirdparty libs on your machine? I strongly suggest compiling them instead of just installing binaries or packages.
chegdan is offline   Reply With Quote

Old   June 26, 2013, 14:58
Default
  #86
Member
 
Rahul
Join Date: Jun 2013
Location: Pennsylvania, USA
Posts: 31
Rep Power: 12
rrr311 is on a distinguished road
Send a message via AIM to rrr311 Send a message via Skype™ to rrr311
Well I have no idea how to do that... lol

My company installed OpenFOAM and the Thirdparty Tools for me in VMware... I was just trying to install HelyxOS so that I can start working on it...
rrr311 is offline   Reply With Quote

Old   July 20, 2013, 08:16
Default
  #87
COC
New Member
 
tim
Join Date: Jul 2013
Posts: 5
Rep Power: 12
COC is on a distinguished road
Hello, I get the problem that I cannot Import .STL.I don't know how to deal with it. can anyone help me?
Ubutu 12.04-64bit OpenFOAM 2.2.1 HELYX-os 1.0.3


code
asawa@ubuntu:~/OpenFOAM/Engys/HelyxOS/v1.0.3$ ./helyxOS.sh
java -Xms128m -Xmx1024m -XX:OnError="/home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/bin/collectInfo.run" -jar /home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/lib/HelyxOS.jar HelyxOS 2>&1 | tee /home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/helyxEE.log
WRITE: blockMeshDict -> /home/asawa/OpenFOAM/Model/newCase/system/blockMeshDict
WRITE: snappyHexMeshDict -> /home/asawa/OpenFOAM/Model/newCase/system/snappyHexMeshDict
WRITE: controlDict -> /home/asawa/OpenFOAM/Model/newCase/system/controlDict
WRITE: fvSchemes -> /home/asawa/OpenFOAM/Model/newCase/system/fvSchemes
WRITE: fvSolution -> /home/asawa/OpenFOAM/Model/newCase/system/fvSolution
WRITE: fvOptions -> /home/asawa/OpenFOAM/Model/newCase/system/fvOptions
WRITE: decomposeParDict -> /home/asawa/OpenFOAM/Model/newCase/system/decomposeParDict
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f45329cf761, pid=47522, tid=139934819063552
#
# JRE version: 7.0_11-b21
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.6-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libvtkFiltering.so.5.10+0x281761] vtkMergePoints::InsertUniquePoint(double const*, long long&)+0xe1
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/hs_err_pid47522.log
#
# -XX:OnError=""/home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/bin/collectInfo.run""
# Executing /bin/sh -c ""/home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3/bin/collectInfo.run"" ...
CollectInfo.main()/home/asawa/OpenFOAM/Engys/HelyxOS/v1.0.3
Exception in thread "main" java.util.FormatFlagsConversionMismatchException: Conversion = s, Flags = #
at java.util.Formatter$FormatSpecifier.failMismatch(F ormatter.java:4041)
at java.util.Formatter$FormatSpecifier.printString(Fo rmatter.java:2834)
at java.util.Formatter$FormatSpecifier.print(Formatte r.java:2718)
at java.util.Formatter.format(Formatter.java:2494)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at eu.engys.core.CollectInfo.printFile(CollectInfo.ja va:291)
at eu.engys.core.CollectInfo.listDir(CollectInfo.java :274)
at eu.engys.core.CollectInfo.getLibInfo(CollectInfo.j ava:255)
at eu.engys.core.CollectInfo.main(CollectInfo.java:85 )
COC is offline   Reply With Quote

Old   July 21, 2013, 05:49
Default
  #88
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Tim and welcome to the forum!

In what format is the STL file in? ASCII/Text or binary?

And have you read the following thread at the official discussion forum for Helyx-OS? http://sourceforge.net/p/helyx-os/di...read/4c35e4ec/

Best regards,
Bruno

PS: when posting code/output, please use the "[CODE]" marker as explained in my second signature line
__________________
wyldckat is offline   Reply With Quote

Old   July 21, 2013, 07:59
Default
  #89
COC
New Member
 
tim
Join Date: Jul 2013
Posts: 5
Rep Power: 12
COC is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings Tim and welcome to the forum!

In what format is the STL file in? ASCII/Text or binary?

And have you read the following thread at the official discussion forum for Helyx-OS? http://sourceforge.net/p/helyx-os/di...read/4c35e4ec/

Best regards,
Bruno

PS: when posting code/output, please use the "[CODE]" marker as explained in my second signature line
Dear Bruno
I tried ASCII format and it worked finally.thank you very much.
COC is offline   Reply With Quote

Old   July 31, 2013, 04:44
Default refining the mesh using Helyx-os
  #90
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
Hi everyone,

I am a new user of Helyx-os.

I have been able to set up case where i import my .stl file.
But i am not able to refine it.

example, i used the tutorial in HELYX-OS, ie the CSTR tutorial, there it contain its .stl file along with an eMesh file.

Can somone please explain how to create an emesh file?

please be patient, i am new user in openfoam and also in HELYX-OS.

Kind regards
izna
izna is offline   Reply With Quote

Old   July 31, 2013, 17:43
Default
  #91
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Izna,

This can be done using the surfaceFeatureExtract utility. Assuming you are using 2.2.x, create a file called surfaceFeatureExtractDict in the case system directory. An example of a surfaceFeatureExtractDict is here but I have made a simple one:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

NameOfStlFile.stl
{
    // How to obtain raw features (extractFromFile || extractFromSurface)
    extractionMethod    extractFromSurface;

    extractFromSurfaceCoeffs
    {
        // Mark edges whose adjacent surface normals are at an angle less
        // than includedAngle as features
        // - 0  : selects no edges
        // - 180: selects all edges
        includedAngle   180;
    }

    // Write options

        // Write features to obj format for postprocessing
        writeObj                no;
}

// ************************************************************************* //
After you have changed the name of the STL file in in your dictionary to match the actual STL file of your geometry, you can execute

Code:
surfaceFeatureExtract
in your case directory. The generated eMesh (located in the same directory as your STL files) file can then be used in HELYX-OS. I have given some steps to add the eMesh file to HELYX-OS in a presentation I gave at the last workshop located here. You can also look at other presentations at the conference, including a talk on snappyHexMesh here. I hope this helps and good luck.
atg and izna like this.
chegdan is offline   Reply With Quote

Old   August 5, 2013, 01:45
Default
  #92
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
Hello Dan,
Thanks a lot for your reply.

if i wish to mesh it finer, or in certain parts finer, can i simply copy this https://github.com/OpenFOAM/OpenFOAM...ureExtractDictand modify?
izna is offline   Reply With Quote

Old   August 5, 2013, 10:41
Default
  #93
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Izna,

To mesh finer then you would need to change the "levels" near the surface. If you are on the surface regions tab, highlight the surface you wish to modify and change the min and max levels. Higher numbers will create a finer mesh. Also, you can make the base mesh size smaller to make a finer mesh overall. Please see

A Comprehensive Tour of SnappyHexMesh

Advanced Preprocessing and Meshing with SnappyHexMesh
atg, izna and Antech like this.

Last edited by chegdan; August 6, 2013 at 10:57. Reason: Added some sources to help future readers
chegdan is offline   Reply With Quote

Old   August 6, 2013, 06:02
Default
  #94
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
hi..


after creating a case in Helyx-os, i found an error.

Quote:

blockMesh: command not found
snappyHexMesh: commad not found.
can anyone please tell me what should i do?
izna is offline   Reply With Quote

Old   August 14, 2013, 09:27
Default
  #95
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
Quote:
SOLVER: simpleFoam
/home/izna/Desktop/Askerveindan/solver.run: line 7: simpleFoam: command not found

I am using HelyxOS , when i run my case, i get this error!! what should i do?

Regards
Izna
izna is offline   Reply With Quote

Old   August 14, 2013, 09:49
Default
  #96
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Izna,

So this problem tells me that either OpenFOAM isn't sourced correctly or there is an issue with your install of HELYX-OS. This can happen sometimes so its an annoying error Some questions:
  • Does OpenFOAM work correctly outside of HELYX-OS
  • Do the variables created when OpenFOAM is initialized exist? I.e. what does the following produce
    Code:
    echo $WM_PROJECT_DIR
  • Have you run cases outside of HELYX-OS?
  • If you open a terminal and type
    Code:
    foamInstallationTest
    does this return an OK?

These are just a few things that come to mind
chegdan is offline   Reply With Quote

Old   August 14, 2013, 09:54
Default
  #97
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
hi Dan.
Thanks to comee at my aid..

command returns this

Quote:
/opt/openfoam220
outside of HElyxOS i use openfoam normally without any problems

Quote:
If you open a terminal and type
Code:
foamInstallationTest
does this return an OK?
well when i do this i get this
Quote:
izna@izna-MS-7592:~$ foamInstallationTest
Executing /opt/openfoam220/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------

FATAL ERROR: OpenFOAM environment not configured.

Please refer to the installation section of the README file:
<OpenFOAM installation dir>/OpenFOAM-2.2.0/README
to source the OpenFOAM environment.
izna is offline   Reply With Quote

Old   August 14, 2013, 10:00
Default
  #98
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
Ah ok...did you follow the "User Configuration" Section on

http://openfoam.org/download/ubuntu.php

To add some lines to your .bashrc file in your home directory?
chegdan is offline   Reply With Quote

Old   August 14, 2013, 10:08
Default
  #99
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
yes i did ..

But i am unistall and do it all again.. i will post back.
izna is offline   Reply With Quote

Old   August 14, 2013, 13:10
Default
  #100
Senior Member
 
izna O'connor
Join Date: Jun 2013
Posts: 143
Rep Power: 12
izna is on a distinguished road
hi Dan
After reinstalling Openfoam following this example http://openfoam.org/download/ubuntu.php

I obtain the same error when executing foamInstallationTest
Quote:
Executing /opt/openfoam221/bin/foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------

FATAL ERROR: OpenFOAM environment not configured.

Please refer to the installation section of the README file:
<OpenFOAM installation dir>/OpenFOAM-2.2.1/README
to source the OpenFOAM environment.

izna is offline   Reply With Quote

Reply

Tags
cases setup, preprocessor, snappyhexmesh


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
Helyx-OS Open Source GUI for OpenFOAM eugene OpenFOAM Announcements from Other Sources 31 March 9, 2020 16:55
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 Siemens 0 February 7, 2005 06:22


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