CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] surfaceFeatureExtract, error when using sHM, about the header/file format (https://www.cfd-online.com/Forums/openfoam-meshing/107366-surfacefeatureextract-error-when-using-shm-about-header-file-format.html)

simpomann September 25, 2012 10:55

surfaceFeatureExtract, error when using sHM, about the header/file format
 
Hey there,

I have a very small geometry inside my case composition that needs to have a nearly perfect shape and shouldn't require to many cells. (A small outlet valve in a pipe system, size is like 1/1000 of the other geometry).

So I thought about using surfaceFeatureExtract and I can create the eMesh file, but I get an error from sHM.

My code in the sHM-Dict:
Code:

features
(
  {
  file "my_valve.eMesh";
    level 5;
 }
);

My eMesh:

Code:

{
    externalStart  0;
    internalStart  151;
    featureEdges    167 ( 2 5 8 10 12 13 15 17 19 21 23 24 26 28 30 32 34 37 38 41 43 45 47 49 52 54 56 58 60 62 63 66 68 69 71 73 75 77 78 81 83 85 87 88 90 92 94 96 99 101 103 105 107 109 110 112 113 116 119 122 124 127 130 133 136 138 141 144 146 149 152 154 157 159 162 166 169 172 174 176 179 181 184 186 189 192 195 198 201 203 206 209 211 214 217 220 221 223 224 226 229 233 236 239 243 246 250 254 257 258 261 263 266 269 272 275 278 281 284 287 289 291 294 297 300 304 306 309 310 327 329 333 335 337 339 341 344 346 349 351 354 356 358 361 363 407 424 431 433 618 620 253 312 313 315 316 318 320 322 323 328 331 343 425 426 434 621 );
    featurePoints  14 ( 0 13 17 57 75 96 97 109 130 131 134 137 138 144 );
}

And the error:

"Canno't find file "my_valve.eMesh" in directory "/constant/triSurface""

I have the feeling that the eMesh is missing a header or something.
The file for sure is in the specified folder (and all the debug files with it).

What went wrong?
I use OF 1.6, but there is also 2.0.1 installed on this computer.
Is there support for surfaceFeatureExtract in OF 1.6 ?

All help is highly appreciated!
Greetings,

Simon

colinB September 26, 2012 03:36

Hey Simon

the answer to your question you find here:
http://openfoamwiki.net/index.php/SnappyHexMesh

in the first paragraph: Introduction.


The solution to your problem you find here:
http://www.cfd-online.com/Forums/ope...e-machine.html

check the post #2

so you can use multiple versions of OF wo changing the bash file each time

I hope I could contribute

regards


All times are GMT -4. The time now is 12:38.