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

[Helyx OS] Helyx-OS Replicating Model - help

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By elvis

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2013, 13:50
Unhappy Helyx-OS Replicating Model - help
  #1
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
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 14:33.
JR22 is offline   Reply With Quote

Old   February 26, 2013, 16:25
Default
  #2
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
If you upload an example case I will try to recreate your steps.
chegdan is offline   Reply With Quote

Old   February 26, 2013, 20:10
Default
  #3
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
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).
http://www.cfd-online.com/Forums/ope...stl-files.html

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 21:04. Reason: (updated attachement)
JR22 is offline   Reply With Quote

Old   February 27, 2013, 02:00
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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, 12:44
Default
  #5
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
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).
http://www.cfd-online.com/Forums/ope...stl-files.html

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.
chegdan is offline   Reply With Quote

Old   February 27, 2013, 17:36
Default
  #6
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
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 17:44. Reason: added screenshot
JR22 is offline   Reply With Quote

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

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.

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

Old   February 27, 2013, 18:05
Default
  #8
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
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, 18:19
Default
  #9
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
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

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

Old   February 27, 2013, 19:14
Default
  #10
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
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


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
Antti Hellsten model: New Advanced k–ω Turbulence Model for High-Lift Aerodynamics purnp2 OpenFOAM Programming & Development 3 May 10, 2019 12:29
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
problem with solving lagrange reaction cloud Polli OpenFOAM Running, Solving & CFD 0 April 30, 2014 07:53
manualInjection model in sprayFoam Mentalo OpenFOAM Running, Solving & CFD 1 April 2, 2014 09:29
Problems bout CFD model of biomass gasification, Downdraft gasifier wanglong FLUENT 2 November 25, 2009 23:27


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