Problem with snappyHexMesh: do not work
Hello, everyone!I'm new here. I try to simulate the flange case locate in the tutorial/mesh/snappyHexMesh
First, I run the blockMesh. Than I copy the flange.stl into the fold flange/consant/triSurface. Than I run snappyHexMesh, it reported problems like below: Code:
Create time |
Same problem
Hello,
I meet the exact same problem. I thought it might come from the fact that I do not have any features.eMesh file in my case directory. I tried to build one using the tutorials command : Code:
surfaceFeatureExtract -includedAngle 150 surface.stl features Code:
Usage: surfaceFeatureExtract [OPTIONS] Thanks. |
eMesh file
Apparently the surfaceFeatureExtractDict now uses a dictionary :
http://www.openfoam.org/mantisbt/view.php?id=929 That explains my problem in making an eMesh file from the command line. Now it runs. CjjJoy, do you have a .eMesh file in your constant/triSurface folder? There should be one I think. Moreover, your snappyHexMeshDict should refer to this file in the "features" sub-dictionary. Is it the case? |
The usage for surfaceFeatureExtract has changed, in that it now uses a dictionary. You can see as the error message says that it expected zero arguments. If you look in system there should be surfaceFeatureExtractDict.
|
I agree with Guimloute and mturcios777, and because of that I met a problem. So far since the beginning I have used OpenFOAM 2.2.2 installed in my laptop which does not need any additional argument for surfaceFeatureExtract. Now, I have to run my case in a supercomputer with OpenFOAM 2.1.1 which surfaceFeatureExtract needs 2 arguments instead of 0. I don't know what I should include.. Any clue?
Thanks |
If you run with the -help option you will see what the arguments are. Off the top of my head I think its the includedAngle and the filename of the feature
|
Quote:
Suppose if I have more than one files of features, how can I incorporate all of them? In fact, I put each feature in a file, so that I have a lot of files just for one simulation. Cheers |
If you are running 2.1.x or older, you will need to run surfaceFeatureExtract once for each file. 2.2.x allows you to process all the files at once via the dictionary.
|
Hi Marco,
Cool. Thanks for your reply. Currently I face a problem when trying to run my simulation in parallel. Everything run smoothly in series, but problem occurs in parallel. I got the following error messages every time I run the code: --> FOAM FATAL IO ERROR: wrong token type - expected Scalar, found on line 3 the punctuation token '-' file: /scratch/interns2013/schristian/coba48Procs/processor10/system/data::solverPerformance::epsilon at line 3. From function operator>>(Istream&, Scalar&) in file lnInclude/Scalar.C at line 91. FOAM parallel run exiting I have tried several things, but didn't work. When I tried to search for /system/data::solverPerformance::epsilon at line 3 I couldn't find that such file. Similarly for lnInclude/Scalar.C at line 91, which doesn't exits. Is it because of a problem with MPI or OpenMPI? Do you have any clue on how to fix this problem? Cheers |
All times are GMT -4. The time now is 05:19. |