|
[Sponsors] |
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 11, 2018, 17:22 |
Run snappyHexMesh steps (castellated, snap, addlayer) separately
|
#1 |
New Member
Join Date: Apr 2018
Posts: 3
Rep Power: 8 |
Hi everybody,
as the title stats i want to run every snappyHexMesh phase separately in order to use a dict specific for each step. I want to do so because i need to specify three different meshQuality dicts in order to better control the mesh generation process. My problem is that snappyHexMesh seems not to recognize the mesh he has generated before. For instance if i run just the castellated phase (saved in the 0.0001 directory) with his dict and then the snap phase (saved in the 0.0002 directory), the latter will try to snap the blockmesh (saved in the constant directory) instead of the castellated mesh. Does anyone knows how to force snappy to use the correct directory? Thanks for the patience |
|
August 13, 2018, 03:34 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
1. Try with "startTime LatestTime;" in the controldict. I don't know if it works but there is no arg for this in snappy so i think this is the way to do. 2. If not, then just rename the directory to 0 where you wanna start. 3. Or just run snappy with the -overwrite switch so you will have your mesh in the 0 time always. I'm not sure if 1 and 2 are working, but 3 must be ok. |
|
August 13, 2018, 05:32 |
|
#3 |
New Member
Join Date: Apr 2018
Posts: 3
Rep Power: 8 |
Thank you very much simrego. I'm going to try asap your suggestions. I'll post the results.
Last edited by Glc; August 13, 2018 at 07:14. |
|
August 13, 2018, 07:13 |
|
#4 | |
New Member
Join Date: Apr 2018
Posts: 3
Rep Power: 8 |
Quote:
|
||
August 13, 2018, 07:31 |
|
#5 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
You're welcome!
|
|
April 7, 2020, 11:53 |
|
#6 | |
New Member
Youjiang Wang
Join Date: Apr 2015
Location: Hamburg
Posts: 22
Rep Power: 11 |
Quote:
|
||
October 8, 2021, 03:50 |
|
#7 | |
Member
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 85
Rep Power: 6 |
In foamExtend 4.1, when we do snappyHexMesh -overwrite, it keeps on asking alpha1 file for each and every time step. From other threads, I came to know that extend versions have issues with sHM. even generating the eMesh by
Quote:
|
||
Tags |
snappy hex mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] How to run snappyHexMesh in parallel? | klausb | OpenFOAM Meshing & Mesh Conversion | 2 | August 4, 2022 05:51 |
[snappyHexMesh] SnappyHexMesh AddLayer Control | rdrr84 | OpenFOAM Meshing & Mesh Conversion | 28 | May 30, 2014 06:32 |
[snappyHexMesh] snappyHexMesh parallel run error | dhruv | OpenFOAM Meshing & Mesh Conversion | 2 | February 16, 2012 05:34 |
SnappyHexMesh OF-1.6-ext crashes on a parallel run | norman1981 | OpenFOAM Bugs | 5 | December 7, 2011 13:48 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |