|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Fu
Join Date: Jun 2010
Location: India
Posts: 4
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 513
Rep Power: 9 ![]() |
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.
|
|
|
|
|
|
|
|
|
#3 | |
|
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.com/
Posts: 766
Rep Power: 16 ![]() |
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. |
||
|
|
|
||
![]() |
| Tags |
| blockmesh, complexgrading, read file, tanh |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem converting fluent mesh | vinz | OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... | 20 | November 17, 2012 10:54 |
| Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 120 | December 2, 2009 10: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 06:51 |
| Results saving in CFD | hawk | Main CFD Forum | 16 | July 21, 2005 20:51 |