|
[Sponsors] |
Reading Co-ordinates from a file for blockMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2011, 07:30 |
Reading Co-ordinates from a file for blockMesh
|
#1 |
New Member
Fu
Join Date: Jun 2010
Location: India
Posts: 4
Rep Power: 16 |
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 |
|
June 28, 2011, 07:45 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
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, 06:20 |
|
#3 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Problem converting fluent mesh | vinz | OpenFOAM Meshing & Mesh Conversion | 28 | October 12, 2015 07:37 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05: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 21:51 |