|June 28, 2011, 06:30||
Reading Co-ordinates from a file for blockMesh
Join Date: Jun 2010
Posts: 4Rep Power: 8
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
|June 28, 2011, 06:45||
Join Date: Sep 2009
Posts: 790Rep Power: 13
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.
|June 29, 2011, 05:20||
Join Date: Mar 2009
Posts: 779Rep Power: 19
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.
|blockmesh, complexgrading, read file, tanh|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problem converting fluent mesh||vinz||OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...||28||October 12, 2015 06:37|
|Version 15 on Mac OS X||gschaider||OpenFOAM Installation||120||December 2, 2009 11:23|
|Regarding FoamX running Kindly help out||hariya03||OpenFOAM Pre-Processing||0||April 18, 2008 04:26|
|Problem with rhoSimpleFoam||matteo_gautero||OpenFOAM Running, Solving & CFD||0||February 28, 2008 07:51|
|Results saving in CFD||hawk||Main CFD Forum||16||July 21, 2005 20:51|