blockMesh - no spellcheck at convertToMeters;
Hello.
Today I've sadly discovered there is no spellcheck at function convertToMeters; in blockMeshDict dictionary file. BlockMesh just read it anyway without any error or information. ex. converToMeters 0.001; will be read by blockMesh and it wont be actually converted to 0.001 scale. ...otherwise convertToMeters 0.001; will be read too but it will convert to correct scale. This is in my opinion an error which can give very very bad informations. And can make confusions especially with new users. Cheers. seav |
Do you have any ideas on how to actually implement this?
|
Hello Mr Jasak,
In my opinion simple spellcheck a phrase "convertToMeters" before blockMesh does his job should be enough. If the phrase is correct blockMesh should go on and if its not should crash with an error. Sadly admit, I am not skilled with OpenFOAM programing to give source code. Cheers, seav. |
Well ;) guess it's a test, change
Code:
// optional 'convertToMeters' or 'scale' scaling factor |
Greetings to all!
This feature request has now been posted at the following locations:
Bruno |
Hi,
Thank you for replay. Cheers, seav |
if you change the first character t of converttToMeters o a capital C you get an access violation... took a wee while to work that one out.
|
Quote:
|
Quote:
|
nope cant recreate it...
drat.. |
All times are GMT -4. The time now is 17:22. |