|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
ziaf-damha
Join Date: Oct 2012
Posts: 3
Rep Power: 2 ![]() |
Hi guys,
I'm doing a research that simulates airflow over urban buildings, therefore I need to create geometries of those buildings with certain spacing. Does anyone know the effective way of setting this up in OpenFOAM? The figure below is the example of the simulation model I need to set up:
|
|
|
|
|
|
|
|
|
#2 |
|
Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 58
Rep Power: 5 ![]() |
Hello,
have a look at the m4 programming language. With the help of this language you can create parametric meshes. I attached a zip-archive with a m4 file and a screenshot from paraView to give you an idea what this script creates. To use this script change type something like this: Code:
m4 cuboidMesh_BlaBla > blockMeshDict After that you simply run blockMesh. You can play with the mesh generated by my script and place a single block in the flow. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
ziaf-damha
Join Date: Oct 2012
Posts: 3
Rep Power: 2 ![]() |
Thanks man will have a look. It seems reasonable.
|
|
|
|
|
|
![]() |
| Tags |
| multiple blocks, openfoam |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| foamLog not solving for Ux, Uy, Uz | aerospain | OpenFOAM Post-Processing | 5 | April 18, 2012 10:01 |
| [ICEM] Multiple fluide zone in ICEM Hexa Block problem | ddqp | ANSYS Meshing & Geometry | 2 | May 14, 2011 00:56 |
| How to create multiple solid-fluid domain? | Harendra | CD-adapco | 6 | January 28, 2005 13:58 |
| How to create multiple domain? | Mishar | CD-adapco | 2 | January 28, 2005 09:41 |
| multiple block technique | Ray | Main CFD Forum | 0 | August 26, 1999 11:00 |