Reading Co-ordinates from a file for blockMesh
Greetings !
Is there any way I can read the coordinates from a file rather than using simpleGrading in blockMesh . To make my point clear , I have an uniform mesh in streamwise (say x) and spanwise (say z) directions in a channel and the third direction which is non-uniform (say y) co-ordinate is to be read from a file. Can i do it by tweaking the blockMeshDict file ?. I will be more than happy if i can generate using an expression (Say, Tanh or Sinh functions) inside blockMeshDict Thanks and Regards fu-ki-pa |
This is not possible with the original blockMesh afaik. But if you make your own utility, based on this blockMesh, you will definitely be able to do something like this.
|
Quote:
You'll also notice that blockMesh now has its own library routines (see http://repo.or.cz/w/OpenFOAM-2.0.x.g...mesh/blockMesh) which should make this type of customization somewhat easier. |
All times are GMT -4. The time now is 18:45. |