|
[Sponsors] |
February 26, 2013, 14:50 |
Helyx-OS Replicating Model - help
|
#1 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
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' {} \; Code:
rm -rf proc* 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. |
|
February 26, 2013, 17:25 |
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
If you upload an example case I will try to recreate your steps.
|
|
February 26, 2013, 21:10 |
|
#3 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
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. Last edited by JR22; March 1, 2013 at 22:04. Reason: (updated attachement) |
|
February 27, 2013, 03:00 |
|
#4 |
Senior Member
|
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 ;-). |
|
February 27, 2013, 13:44 |
|
#5 | |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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:
|
||
February 27, 2013, 18:36 |
|
#6 | |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
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:
Last edited by JR22; February 27, 2013 at 18:44. Reason: added screenshot |
||
February 27, 2013, 18:45 |
|
#7 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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 18:49. Reason: just a little bit more info added |
|
February 27, 2013, 19:05 |
|
#8 | |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
Quote:
Thanks |
||
February 27, 2013, 19:19 |
|
#9 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
Looks like a possible bug . In controlDict, you have changed the valid and supported option
Code:
writeFormat ascii; Code:
writeFormat binary; Last edited by chegdan; February 27, 2013 at 20:34. |
|
February 27, 2013, 20:14 |
|
#10 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
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. |
|
Tags |
helyx-os |
|
|
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 13:29 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
problem with solving lagrange reaction cloud | Polli | OpenFOAM Running, Solving & CFD | 0 | April 30, 2014 08:53 |
manualInjection model in sprayFoam | Mentalo | OpenFOAM Running, Solving & CFD | 1 | April 2, 2014 10:29 |
Problems bout CFD model of biomass gasification, Downdraft gasifier | wanglong | FLUENT | 2 | November 26, 2009 00:27 |