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   February 20, 2014, 12:53
Default Obtaining Force Coefficients from Helyx?
  #121
New Member
 
Andrew Kennedy
Join Date: Feb 2014
Posts: 2
Rep Power: 0
akennedy is on a distinguished road
Hi,
I've been using the Helyx software to model the flow over finite wings, and I am having some difficulty during the post processing stage.

Is there any way to obtain a force coefficients file after the solver has run?

So far I have tried inserting a '#include "force coeffs"' into the control dict as well as adding a force coeffs file into the systems directory, but this doesn't seem to produce anything.
Thanks to anyone who is able to help me,
Andrew
akennedy is offline   Reply With Quote

Old   February 20, 2014, 13:01
Default
  #122
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
@Antech (Andrew),

To fully resolve small regions you can try several approaches:
  1. Use a refinement box with a higher level that will refine in the region where you are getting collapsed cells. This will help prevent that but you will have a jump in cell refinement that you may need to change some other settings in snappyHexMesh.
  2. lower your base mesh size, however this could make your mesh really large.
  3. Bump your levels up, but you have already noted that this does not have much affect on your mesh.
  4. use explicit feature snappng with eMeshes. This means that you would need to do a surfaceFeatureExtract and create the emesh files and load them into the GUI

I would try various combinations of these strategies to prevent collapsed cells and also resolve your small structures.

@ AKennedy (Andrew)
If you run your solver from HELYX-OS (i.e. the run button) , it will remove entries that where not written by the GUI. As a bit of a workaround, you can try using echo in the run script (hit "edit script" in the run options subsection in the caseSetup and Run tab) to write some lines at the end of your control dict.

Code:
echo "
functions 
{ 
    #include \"forceCoeffs\" 
}" >> $CASE/system/controlDict
just above the lines

Code:
$SOLVER -case $CASE 2>&1 | tee $LOG
or the mpirun command if you are running in parallel. this is of course assuming you have a file called forceCoeffs in your system directory like the motorbike example. I hope this helps

Last edited by chegdan; February 20, 2014 at 16:07. Reason: too many andrews....made it more specific
chegdan is offline   Reply With Quote

Old   February 21, 2014, 00:41
Default
  #123
New Member
 
Andrew
Join Date: Feb 2014
Location: Russia
Posts: 20
Rep Power: 12
Antech is on a distinguished road
chegdan
Thanks for your reply! I'll try to do the approaches you mentioned.
Refining initial blockMesh is "no chance" in my case, I think. It will be too large. Orifice diameter is 8 mm, domain bounding box is about 600x2000x2000 mm. Tests are performed in virtual machine with 8 GB of memory. Geometry contains about 1300 orifices (8 mm diameter) and it's only a test case. Real case is 5 times larger.

Why does HelyxOS (version 2) zero my min and max surface refinement levels when I click Create mesh? I can understand that snappyHexMech with simple settings may not work properly on very small features like my orifices but why min and max ref levels in snappyHexMeshDict generated with HelyxOS are zeros when I input non-zero values via GUI? And then, after mesh generation, GUI shows zeros too?

BTW, I have reviewed several HelyxOS v1 presentations and pictures show that initialy very coarse blockMesh catches very small features (much smaller than initial mesh cell) after Snappy. Possibly they used something like volume refinement box or extract features...
Antech is offline   Reply With Quote

Old   February 24, 2014, 00:36
Default
  #124
New Member
 
Andrew
Join Date: Feb 2014
Location: Russia
Posts: 20
Rep Power: 12
Antech is on a distinguished road
chegdan
Hello. Here are results of experiments using your suggestions.
1. Using the refinement box via Helyx-OS. It works, but:
1.1. It doesnt catch geometry automatically and it's not interactive so one must define all refinement boxes by coordinates in STL that are different from SolidWorks model (zero point is shifted).
1.2. With this method one can only refine a simple shapes (box, sphere e.t.c) that will lead in very excessive mesh element consumption on complex geometries due to refinement not only in required areas.
2. Lower base size. It's absolutely unreal in my case. Initial mesh will not fit in memory.
3. Increase refinement levels. Helyx-OS v2.0.0 still zeroes my surface refinement levels so I can't increase them... And I didn't find Helyx-OS v1 on the Net.
4. Feature extraction (surfaceFeatureExtract). OK, it works, but subject (Helyx-OS) doesn't support it via GUI. Am I wrong?

For now I find the only method working for me. I take a motor bike mesh example from OpenFOAM 2.x tutorials and supply it with my geometry. Then I changing refinement limits and levels and running Allrun script. After that paraFoam shows beautiful mesh but it's offtopic here...

Last edited by Antech; February 24, 2014 at 00:40. Reason: Syntax
Antech is offline   Reply With Quote

Old   February 24, 2014, 11:02
Default
  #125
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
Quote:
Increase refinement levels. Helyx-OS v2.0.0 still zeroes my surface refinement levels so I can't increase them
If you have a test case that does this then I would like to take a look at this.
chegdan is offline   Reply With Quote

Old   February 25, 2014, 02:36
Default
  #126
New Member
 
Andrew
Join Date: Feb 2014
Location: Russia
Posts: 20
Rep Power: 12
Antech is on a distinguished road
chegdan
Here is my test case: http://rghost.net/52650670
Take a look at Geometry => Slice => Refinement => SURFACE (min/max levels).
Helyx-OS version: 2.0.0

Thanks for your help.
Antech is offline   Reply With Quote

Old   March 13, 2014, 11:02
Default
  #127
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
Antech,

Your issue has been fixed in the maintenance release of HELYX-OS v2.0.1 just uploaded about an hour ago. The maintenance is continuing with OpenFOAM 2.2.x for now, but there are some changes that need to be made for compatibility...which will happen soon to support 2.3.x Give this version a try and report future issues to the sourceforge page ticket tracker, as that will send me (us) an email immediately so i can follow up quickly.

Dan

Quote:
Originally Posted by Antech View Post
chegdan
Here is my test case: http://rghost.net/52650670
Take a look at Geometry => Slice => Refinement => SURFACE (min/max levels).
Helyx-OS version: 2.0.0

Thanks for your help.
wyldckat, JR22 and RTom like this.
chegdan is offline   Reply With Quote

Old   March 14, 2014, 07:19
Default
  #128
New Member
 
Andrew
Join Date: Feb 2014
Location: Russia
Posts: 20
Rep Power: 12
Antech is on a distinguished road
chegdan
Thanks! New version tested and seems to work fine with surface refinement settings on my test case. Hope I'll perform more tests when I'' got the time.
chegdan likes this.
Antech is offline   Reply With Quote

Old   April 16, 2014, 15:15
Default
  #129
atg
Member
 
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15
atg is on a distinguished road
Just had to reinstall my system.

I installed OF 2.3.0. Will Helyx 2.0.1 work with OF230? If not I will uninstall and recompile 2.2.x.


Thanks,
Karl

Last edited by atg; April 16, 2014 at 20:52.
atg is offline   Reply With Quote

Old   April 16, 2014, 15:39
Default
  #130
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
Karl,

At present, HELYX-OS 2.0.1 is meant to work with OpenFOAM-2.2.2. There are slight differences in 2.2.x to 2.3.x that are being resolved for a future release in the coming months. You can always have multiple version of OpenFOAM installed if you like 2.3.x...and point HELYX-OS to a 2.2.2 install using the Edit > preferences dropdown. When you launch HELYX-OS it will load what you have set in your preferences.

Quote:
Originally Posted by atg View Post
Just had to reinstall my system.

I installed OF 2.3.0. Will Helyx 2.0.1 work with OF230? If not I will uninstall and recompile 2.2.x.

Also, where is the pricing information on the full Helyx (not OS)? Just wondering how many zeros are involved.

Thanks,
Karl
chegdan is offline   Reply With Quote

Old   May 24, 2014, 11:57
Default
  #131
New Member
 
Reamonn Mac Reamoinn
Join Date: Mar 2014
Posts: 7
Rep Power: 12
RMacReamoinn is on a distinguished road
Quote:
Originally Posted by jlp56 View Post
I previously asked this on sourceforge but was redirected here: The gui looks great from the screenshots so I am keen to try it. I am running into problems installing the bin file on mac osx - during the install, at the select install directory prompt it doesn't seem to recognise any destination I give it. It always returns "destination doesn't exist". Any pointers would be greatly appreciated.

Cheers
jlp56,

Did you ever resolve this issue? I'm running into the same problem now.

Réamonn
RMacReamoinn is offline   Reply With Quote

Old   June 11, 2014, 13:42
Default
  #132
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18
JR22 will become famous soon enough
Any news? I think I saw something on sourceForge....
JR22 is offline   Reply With Quote

Old   June 18, 2014, 13:24
Default STL File unit problem
  #133
New Member
 
Oliver King-Smith
Join Date: Jun 2014
Posts: 1
Rep Power: 0
oliverks is on a distinguished road
I am importing an STL file into HelyxOS. My STL file is set up in mm, but HelyxOS seems to assume meters. Is there a way to specify that my STL file is in mm or do I need to convert my STL file to meters?

Oliver
oliverks is offline   Reply With Quote

Old   June 18, 2014, 13:29
Default
  #134
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
Quote:
Originally Posted by oliverks View Post
I am importing an STL file into HelyxOS. My STL file is set up in mm, but HelyxOS seems to assume meters. Is there a way to specify that my STL file is in mm or do I need to convert my STL file to meters?

Oliver
when you import your STL, there is a column called "scale" with an x, y, and z component. Enter 0.001 for each of those entries and it will be scaled properly to mm in HELYX-OS.
chegdan is offline   Reply With Quote

Old   July 28, 2014, 03:03
Default
  #135
Member
 
Abhijit
Join Date: Jul 2014
Posts: 75
Rep Power: 12
Jetfire is on a distinguished road
hii,
will helyxOS V2.1.1 work on openfoam 2.2.2?
Jetfire is offline   Reply With Quote

Old   July 30, 2014, 10:57
Default
  #136
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
@Jetfire

The answer is yes and no. There are things that have changed from 2.2->2.3 so those are different. You have two options:
  1. Use and older version of HELYX-OS that officially supports 2.2
  2. Move to OpenFOAM 2.3 and use the newest HELYX-OS release

Good luck!
chegdan is offline   Reply With Quote

Old   July 30, 2014, 13:08
Default
  #137
Member
 
Abhijit
Join Date: Jul 2014
Posts: 75
Rep Power: 12
Jetfire is on a distinguished road
hii chegdan

thanks for your reply
Jetfire is offline   Reply With Quote

Old   July 31, 2014, 01:57
Default
  #138
Member
 
Abhijit
Join Date: Jul 2014
Posts: 75
Rep Power: 12
Jetfire is on a distinguished road
@chegdan

i have installed helyxOS 2.1.1 and tried simulating flow over a cylinder.
i was unable to import the stl file of the cylinder properly, this was the error shown in vtkerror.txt file

ERROR: In /home/stefano/VTK5/SRC/IO/vtkOpenFOAMReader.cxx, line 4636
vtkOpenFOAMReaderPrivate (0x7f7898080eb0): Error opening /home/eatin/OpenFOAM/Engys/HELYX-OS/v2.1.1/trail/constant/polyMesh/faces.gz: Can't open. If you are trying to read a parallel decomposed case, set Case Type to Decomposed Case.


ERROR: In /home/stefano/VTK5/SRC/Filtering/vtkExecutive.cxx, line 756
vtkCompositeDataPipeline (0x7f7898081480): Algorithm vtkPOpenFOAMReader(0x7f7898078520) returned failure for request: vtkInformation (0x7f789807a390)
Debug: Off
Modified Time: 464173
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1




ERROR: In /home/stefano/VTK5/SRC/Common/vtkLookupTable.cxx, line 117
vtkLookupTable (0x7f789807b160): Bad table range: [0, -1]

Please help me with this. Thanks
Jetfire is offline   Reply With Quote

Old   July 31, 2014, 09:54
Default
  #139
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
Post the STL of your cylinder and I will take a look.

Also, what is the value of

Code:
locale
command in your terminal?

Also, from the post that was previously edited

Quote:
i have installed helyxOS 2.1.1 and tried simulating flow over a cylinder.
helyx imports the stl file of simple solid cylinder created on proE without showing any errors but doesnt show up on the display screen, i even changed the scaling factors to 0.001 to convert from mm to meters.
Can you help me with this as in the future i have to import stl files of complex geometries.
Can you open this STL from ProE in ParaView?

Last edited by chegdan; July 31, 2014 at 10:43. Reason: added more info
chegdan is offline   Reply With Quote

Old   August 1, 2014, 02:29
Default
  #140
Member
 
Abhijit
Join Date: Jul 2014
Posts: 75
Rep Power: 12
Jetfire is on a distinguished road
Please find the STL file in the attachments.

locale command in terminal gives utf-8

yes, i am able to open it in paraView

thanks.
Attached Files
File Type: zip cylinder.stl.zip (8.3 KB, 5 views)
Jetfire 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 17:55
TUI Commands from GUI? Carlos FLUENT 6 May 22, 2013 19:05
User Defined GUI Frederik FLUENT 0 June 23, 2006 17:12
Command Line vs. GUI Menus Go FLUENT 0 June 8, 2005 17:05
GUI window settings cmv Siemens 0 February 7, 2005 07:22


All times are GMT -4. The time now is 06:16.