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

Helyx-OS Replicating Model - help

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

Like Tree2Likes
  • 2 Post By elvis

Reply
 
LinkBack Thread Tools Display Modes
Old   February 26, 2013, 14:50
Unhappy Helyx-OS Replicating Model - help
  #1
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 123
Rep Power: 8
JR22 will become famous soon enough
Helyx-OS works very well to get a quickstart on OpenFoam models. Using the GUI + a few steps, a model is built. However, trying to copy and modify a model that already ran has proven a bit frustrating. Any body has experience with this? What am I missing?

This are the steps I take:
1. Copy the entire folder into a new one (new folder = new_name)
2. I rename any file name with the old_name to the new_name
3. I try to change any text within the old files to the new_name
Code:
find ./ -type f -exec sed -i 's/singleSnozzle-1m/singleSnozzle-2m/g' {} \;
4. The I remove the previous processors data from the run directory
Code:
rm -rf proc*
5. I go back to Helyx-OS, change the mesh parameters, and re-run it.
6. After blockMesh+snappyHexMesh do their job, you reload the case from within Helyx-OS, and it is supposed to let you move into the case parameters themselves (boundaries, etc). However, this does not happen, and it never lets me set the boundaries. Has anybody tried this? It sure would be nice a "Save-as" capability to do precisely this.

Thanks very much in advance,

Jose

Last edited by JR22; February 26, 2013 at 15:33.
JR22 is offline   Reply With Quote

Old   February 26, 2013, 17:25
Default
  #2
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
If you upload an example case I will try to recreate your steps.
__________________
Dan

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

Old   February 26, 2013, 21:10
Default
  #3
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 123
Rep Power: 8
JR22 will become famous soon enough
Hi Dan,

The description of the steps is here (I answered my own question and applied it to this problem).
Best way to create inlet/outlet out of STL files?

Please find the case attached to this thread (I meshed it, ran it, and then delted the results by deleting the proc* folders and the 1000 folder (results at step 1000). My problem is in trying to re-establish a Helyx-OS case after erasing the results.

Quote:
Originally Posted by chegdan View Post
If you upload an example case I will try to recreate your steps.

Last edited by JR22; March 1, 2013 at 22:04. Reason: (updated attachement)
JR22 is offline   Reply With Quote

Old   February 27, 2013, 03:00
Default
  #4
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,

if you have PyFoam installed what about using pyFoamCloneCase.py
"Creates a copy of a case with only the most essential files" http://openfoamwiki.net/index.php/Co...ting_case_data

I call PyFoam a must have for any serious OF user ;-).
atg and JR22 like this.
elvis is offline   Reply With Quote

Old   February 27, 2013, 13:44
Default
  #5
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
Jose,

So I looked at the case and was able to start from scratch, mesh, run, reconstruct*, delete proc* and 1000, and then load the case back in Helys-OS and define BCs again and run again.

if you want to remesh the domain, you need to go in and rename/remove the polyMesh folder and when you load the case. helyx-OS will read the existing settings from the snappyHexMeshDict. You will then need to go in and redefine the base mesh accordingly in helyx-os. This will be improved in future releases.


Quote:
Originally Posted by JR22 View Post
Hi Dan,

The description of the steps is here (I answered my own question and applied it to this problem).
Best way to create inlet/outlet out of STL files?

Please find the case attached to this thread (I meshed it, ran it, and then delted the results by deleting the proc* folders and the 1000 folder (results at step 1000). My problem is in trying to re-establish a Helyx-OS case after erasing the results.
__________________
Dan

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

Old   February 27, 2013, 18:36
Default
  #6
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 123
Rep Power: 8
JR22 will become famous soon enough
Hi Dan,

I followed your directions by renaming the main directory and the .foam file to "gasExpansion2", erased the polymesh and the proces*, then open with HelyxOS, and clicked on the Generate Mesh button. It went to the terminal and went about its business well. However, when I reload the file into HelyxOS to show the meshing results, it did not do it. The meshing did not load into HellyxOS. I added a screenshot of the HelyxOS messages.

Thanks

Quote:
Originally Posted by chegdan View Post
if you want to remesh the domain, you need to go in and rename/remove the polyMesh folder and when you load the case. helyx-OS will read the existing settings from the snappyHexMeshDict. You will then need to go in and redefine the base mesh accordingly in helyx-os. This will be improved in future releases.
Attached Images
File Type: png helyxOS_Screenshot.png (13.6 KB, 18 views)

Last edited by JR22; February 27, 2013 at 18:44. Reason: added screenshot
JR22 is offline   Reply With Quote

Old   February 27, 2013, 18:45
Default
  #7
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
Ah ok.

When you delete the polyMesh it deletes the mesh. So a simultaneous look at the mesh and the action to allow a remesh in the mesh tab (that may be confusing) is not possible. Also, it is not necessary to change the name of the *.foam file.

Edit: Also, when I loaded your case that you provided without doing anything...I get the same error in your screenshot. When cloning, there is no need to find and replace things.
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; February 27, 2013 at 18:49. Reason: just a little bit more info added
chegdan is offline   Reply With Quote

Old   February 27, 2013, 19:05
Default
  #8
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 123
Rep Power: 8
JR22 will become famous soon enough
Quote:
Originally Posted by chegdan View Post
When you delete the polyMesh it deletes the mesh. So a simultaneous look at the mesh and the action to allow a remesh in the mesh tab (that may be confusing) is not possible.
I only tried to reload after generating the mesh in the same way I would with a fresh case. It normaly lets me move to the options in the "Case" tab. In this case, it didn't.

Thanks
JR22 is offline   Reply With Quote

Old   February 27, 2013, 19:19
Default
  #9
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
Looks like a possible bug . In controlDict, you have changed the valid and supported option

Code:
writeFormat ascii;
to a currently incompatible

Code:
writeFormat binary;
when you ran your case. If you go into the controlDict and change that back to ascii, then it should read into HELYX-OS fine. This will get fixed in an upcoming release if its accepted I recorded a ticket on sourceforge
__________________
Dan

Find me on twitter @dancombest and LinkedIn

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

Old   February 27, 2013, 20:14
Default
  #10
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 123
Rep Power: 8
JR22 will become famous soon enough
It worked!!!. I introduced that bug. When I ran it the first time, I set the "Write Format" in the "Run Controls" to Binary.

When the meshing ran, I did the reload, and it did update the mesh. When I went to the "Case Setup" mesh. It picked up my previous "Solution Modeling" options. It did not pick up the "Boundary Conditions". But that would be too much to ask. It works.

Thanks.


Quote:
Originally Posted by chegdan View Post
Looks like a possible bug . In controlDict, you have changed the valid and supported option
JR22 is offline   Reply With Quote

Reply

Tags
helyx-os

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
eddy dissipation model: combustion doesn't occur roukaia FLUENT 0 December 25, 2011 14:50
eddy dissipation model: combustion doesn't occur roukaia FLUENT 0 December 24, 2011 10:10
Problems bout CFD model of biomass gasification, Downdraft gasifier wanglong FLUENT 2 November 26, 2009 00:27
Reynolds Stress model in CFX vs Fluent Tim CFX 1 October 7, 2009 06:19
Grid resolution for full-scale and down scaled model gravis Main CFD Forum 0 October 2, 2009 10:27


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