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

Problem Loading an existing OpenFoam case into HELYX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 19, 2013, 11:15
Default Problem Loading an existing OpenFoam case into HELYX
  #1
New Member
 
Nick Dale
Join Date: Feb 2013
Posts: 9
Rep Power: 4
RocketMan1691 is on a distinguished road
Hi,

This is the first time I have tried to do this so...

I don't know if anyone can help me, I'm trying to run HELYX OS. It launches fine and I can create new meshes in it but I can't seem to get it to load existing cases.

Symptoms are: After a dialogue prompt for serial or parallel, it fails to find the BlockMeshDict or the stl file (both of which are present in the right folders because the case ran in OpenFoam) and then hangs with the progress bar fixed at 20%

Has anyone had similar problems? If so, can anyone offer a fix.

Thanks
RocketMan1691 is offline   Reply With Quote

Old   February 26, 2013, 17:43
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
Can you post the case you are trying to load (or a similar one that will result in the same issue you are encountering) in HELYX-OS? There was another post mentioning a similar observation.
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; February 27, 2013 at 14:36.
chegdan is offline   Reply With Quote

Old   March 2, 2013, 16:03
Default HELYXOS path info
  #3
New Member
 
Nick Dale
Join Date: Feb 2013
Posts: 9
Rep Power: 4
RocketMan1691 is on a distinguished road
Thank you for responding to my query.

The problem arises as follows:

I select Open and get the Open Dialogue window. The first attachment shows a typical case I am trying to visualise in HELYXOS. When I select a folder. A load dialogue opens and stalls at 20% (2nd attachment). The terminal window shows a java exception. (3rd file).

I could not find any references to a similar problem. My only thoughts are that it might be a path issue. Either I have not initialised HELYXOS properly or the path is too many characters. Being new to Linux that did not get me very far!

Any light you might shed would be very welcome.

Regards

Nick
Attached Images
File Type: png HELYX Path2.png (24.9 KB, 17 views)
File Type: png HELYX Error Message2.png (14.0 KB, 15 views)
File Type: jpg HELYX error Message2.jpg (88.9 KB, 17 views)
RocketMan1691 is offline   Reply With Quote

Old   March 3, 2013, 16:26
Default
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
Nick,

Looking at your screenshot of the terminal, I think you might be suffering from something similar to what is described here. The path to your OpenFOAM install is being removed. It has been accepted as a ticket to be fixed in upcoming maintenance releases of HELYX-OS. I suggest that you try the fix on those threads until HELYX-OS can be updated. if you are feeling little more adventurous, you could try to compile OpenFOAM yourself from the git repo, where instructions to do so are located here. Don't be intimidated by the thought...its actually not too difficult. I suggest this because it seems that there are a lot of threads where people have problems with compiling custom solvers, using additional community supplied tools/code, and using HELYX-OS when they are using the Ubuntu OpenFOAM deb package.

For the blockMeshDict error, remember that blockMeshDicts that are made in HELYX-OS are located in the system folder (different than the normal constant/polyMesh folder). Before there is an uprising about blockMeshDict not being in the constant/polyMesh folder....all the other major *Dict files are in system (snappyHexMeshDict, decomposeParDict, controlDict, etc.)...except for blockMeshDict.
__________________
Dan

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

Old   March 4, 2013, 15:29
Default No stl file
  #5
New Member
 
Nick Dale
Join Date: Feb 2013
Posts: 9
Rep Power: 4
RocketMan1691 is on a distinguished road
Thanks for the reply.

I had seen, and thought I had implemented, the fix you describe. However, my path was to version 211 not 210! Doh! So I re-fixed all the files and moved the BlockMeshDict (I'm sure there is a logical reason HELYXOS to put this file in the wrong place but...).

Unfortunately that did not move me forward much. HELYXOS can still not find the .stl file. This was in the triSurface dictionary. I tried copies in both the polyMesh and system folders but no joy.

Am I out of options or can avoid recompiling OpenFoam for a little longer?

Regards

Nick
RocketMan1691 is offline   Reply With Quote

Old   March 4, 2013, 15:52
Default
  #6
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
Quote:
Am I out of options or can avoid recompiling OpenFoam for a little longer?
Compiling OpenFOAM
You could stay with what you have, but honestly it takes a lunch break compilation or press go and go get a coffee (or 3) to get OpenFOAM compiled.

STL file Problem
Maybe some more questions are in order:
  1. Have you been able to create, setup, and run cases in HELYX-OS before?
  2. Is your STL in ASCII format? Binary format is not currently supported
  3. Can you post a smaller case that reproduces the exact same error? Or, Can you post/attach your snappyHexMeshDict file?
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; March 4, 2013 at 16:16. Reason: a little clean up
chegdan is offline   Reply With Quote

Old   March 5, 2013, 17:05
Default No Stl File
  #7
New Member
 
Nick Dale
Join Date: Feb 2013
Posts: 9
Rep Power: 4
RocketMan1691 is on a distinguished road
Dan,

Answering the questions 1 point at a time.

STL file Problem
Maybe some more questions are in order:
  1. Have you been able to create, setup, and run cases in HELYX-OS before? - It seems to generate at least the geometry for a new case, although my focus at the time was issues with Meshing so I wasn't that concerned about later stages in the process
  2. Is your STL in ASCII format? Binary format is not currently supported. That's a pity. I had wondered if that would be the issue but no, my file is in ASCII format
  3. Can you post a smaller case that reproduces the exact same error? Or, Can you post/attach your snappyHexMeshDict file? Yes I will do.
RocketMan1691 is offline   Reply With Quote

Old   March 5, 2013, 18:39
Default
  #8
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 546
Rep Power: 18
chegdan will become famous soon enough
The issue with the case not reading into HELYX-OS was that "mapped" BC was set for one of the boundaries. Currently, mapped patches are not supported in the GUi but will be included in future releases. A ticket has been filed on sourceforge
__________________
Dan

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

Reply

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
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 alsdia OpenFOAM Running, Solving & CFD 3 October 22, 2012 11:25
Problem with 0012 simple case Tetragramm OpenFOAM Native Meshers: blockMesh 3 June 20, 2012 03:44
Editing the motorBike case, loading diffirent .stl btgyd OpenFOAM Native Meshers: snappyHexMesh and Others 1 September 26, 2011 17:24
Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 maverick OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 June 18, 2011 04:36
CAD -> gMsh -> enGrid -> OpenFOAM Problem AlGates OpenFOAM 7 August 6, 2010 12:46


All times are GMT -4. The time now is 12:21.