CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] Error message "stripInvalid called for"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2015, 11:47
Default Error message "stripInvalid called for"
  #1
New Member
 
Join Date: Jun 2015
Posts: 2
Rep Power: 0
Amadeus88 is on a distinguished road
Hi,

I'm very greenboy in using cfMesh and I've tried create a mesh within my geometry in stl format. Firstly I've been intending just some plain mesh, only test one.

I used that very simple "meshDict" below as you can see, but it didn't work at all. And clearly I don't know why. The error message is in the attachement file. Thank you in advance for your help.


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | cfMesh: A library for mesh generation |
| \\ / O peration | |
| \\ / A nd | Author: Franjo Juretic |
| \\/ M anipulation | E-mail: franjo.juretic@c-fields.com |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object meshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

surfaceFile "volute_4.stl";

maxCellSize 5;

// ************************************************** *********************** //
Attached Images
File Type: jpg error.jpg (45.6 KB, 38 views)
Amadeus88 is offline   Reply With Quote

Old   June 30, 2015, 03:27
Default
  #2
New Member
 
Tomislav Lugarić
Join Date: Jun 2015
Location: Zagreb, Croatia
Posts: 18
Rep Power: 10
tlugaric is on a distinguished road
Hi Amadeus88,

thank you for your interest in cfMesh.
As far as I can see from this, you meshDict is completely OK. I have tried to run cfMesh with it, and it runs fine on my machine.
We have observed the error message you are receiving on couple ocassions when invalid characters were encountered in paths, patch names, etc. I see you have a non-english version of linux (I am guessing Ubuntu). Does your STL file have any patches (solids) with names that contain your language specific chars? Is there a possibility you share the STL file with me so I can replicate your problem?
__________________
Lead software developer at Creative Fields
Social media: Facebook, Twitter, LinkedIn, Google+, Pinterest, YouTube
tlugaric is offline   Reply With Quote

Old   June 30, 2015, 12:44
Default
  #3
New Member
 
Join Date: Jun 2015
Posts: 2
Rep Power: 0
Amadeus88 is on a distinguished road
Hi Tomislav,

thank so much, you were right. The problem is in stl file, but unfortunately I can't provide you the original stl file, because it's property of commercial company. When I've tried a other geomerty designed by mi own, it worked just fine. The issue is that the original geometry designed somebody else and I had the use of only igs file. I'm not aware of some specific symbol in the original stl file. Once more thank you.

Have a nice day
Amadeus88 is offline   Reply With Quote

Old   June 30, 2015, 13:39
Default
  #4
New Member
 
Tomislav Lugarić
Join Date: Jun 2015
Location: Zagreb, Croatia
Posts: 18
Rep Power: 10
tlugaric is on a distinguished road
Hi Amadeus88

Just for future reference, whenever you see this "stripInvalid called for..." kind of error, this generally indicates that there are some unreadable characters in the file being parsed. This is (unfortunately) a limitation of OpenFOAM.

In case you wish to learn more about working with cfMesh, have you checked out the tutorials that are provided in the installer? they can be selected as an additional option during installation, and they show you how to use various kinds of refinements, as well as how to use MPI paralelisation.

Feel free to contact us if you run into any more problems.
__________________
Lead software developer at Creative Fields
Social media: Facebook, Twitter, LinkedIn, Google+, Pinterest, YouTube
tlugaric is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How is the turbulence model called in openfoam? hz283 OpenFOAM 3 May 4, 2017 21:20
terminate called after throwing an instance of 'int' b614910 SU2 10 July 27, 2014 22:16
understanding how turbulence models are called romant OpenFOAM Programming & Development 0 March 21, 2012 09:22
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 05:49


All times are GMT -4. The time now is 08:32.