Difference between revisions of "Sig WindE/Getting Processing Terrain Data"
(added reference to the page for contrib_roughnessToFoam) |
|||
Line 1: | Line 1: | ||
− | + | == short description == | |
− | + | The aim of this page is to describe instructions and tools on how to generate terrain data for use with OF, in particular to model ABL flows. | |
+ | == Terrain modelling == | ||
'''(0) Matlab tool for processing a cloud of points. | '''(0) Matlab tool for processing a cloud of points. | ||
Line 24: | Line 25: | ||
There is a description here on how to use Blender to generate a landscape based on real maps: | There is a description here on how to use Blender to generate a landscape based on real maps: | ||
[http://blenderunderground.com/forums/viewtopic.php?f=12&t=1685&start=0&sid=ee5073955db766655cfd4cfdf]. | [http://blenderunderground.com/forums/viewtopic.php?f=12&t=1685&start=0&sid=ee5073955db766655cfd4cfdf]. | ||
+ | |||
+ | == Roughness length modelling == | ||
+ | |||
+ | '''(0) an OpenFoam utility for reading WAsP map files and converting to roughness height in a OF dictionary format and in the nut roughWall BC | ||
+ | |||
+ | A page describing the utility can be found here [[Contrib_roughnessToFoam]] |
Revision as of 15:02, 15 October 2012
1 short description
The aim of this page is to describe instructions and tools on how to generate terrain data for use with OF, in particular to model ABL flows.
2 Terrain modelling
(0) Matlab tool for processing a cloud of points.
This is a nice Matlab tool to generate an STL file from a cloud of points. Typical usage is as simple as: data=load('data.xyz');
x=data(:,1);
y=data(:,2);
z=data(:,3);
stlwrite('landscape.stl',x,y,z,'mode','ascii');
The tool is here: File:Stlwrite.zip. Another Matlab tool, for data in surface format (ie, as in Matlab's surf function), can be found here: File:Surf2stl.m.gz. An example STL file, generated using this tool with the set of data from this link [1], can be found here: File:AskerveinHill20m.stl.gz.
(1) Landscapes based on real life maps, using Blender.
There is a description here on how to use Blender to generate a landscape based on real maps: [2].
3 Roughness length modelling
(0) an OpenFoam utility for reading WAsP map files and converting to roughness height in a OF dictionary format and in the nut roughWall BC
A page describing the utility can be found here Contrib_roughnessToFoam