|
[Sponsors] |
blockMesh - no spellcheck at convertToMeters; |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2018, 06:54 |
blockMesh - no spellcheck at convertToMeters;
|
#1 |
New Member
lupacexi
Join Date: Jul 2018
Posts: 1
Rep Power: 0 |
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. |
|
July 5, 2018, 04:32 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Can't reproduce with OpenFOAM-5.0.
Which version are you using? How does your blockMeshDict look like. |
|
July 5, 2018, 04:38 |
|
#3 |
Senior Member
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19 |
Hi lupacexi,
I think what happens is that since convertToMeters is an optional parameter, blockMesh looks for it in blockMeshDict and does not find it because of the typo, therefore takes the default value: 1. OpenFOAM scans the file and only reads what it needs, you could define any variable with any value in the dictionary and will not affect the program. Best, Pablo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
[blockMesh] External flow around cube with blockMesh | Woody8 | OpenFOAM Meshing & Mesh Conversion | 0 | March 31, 2015 15:54 |
blockMesh - no spellcheck at convertToMeters; | seav | OpenFOAM Bugs | 9 | January 10, 2015 19:31 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 09:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |