Helyx-OS Replicating Model - help
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 |
If you upload an example case I will try to recreate your steps.
|
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:
|
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 ;-). |
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:
|
1 Attachment(s)
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:
|
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. |
Quote:
Thanks |
Looks like a possible bug :) . In controlDict, you have changed the valid and supported option
Code:
writeFormat ascii; Code:
writeFormat binary; |
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:
|
All times are GMT -4. The time now is 22:12. |