CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Mesh Utilities

Get elevation profile between 2 points on STL

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 3, 2012, 13:09
Default Get elevation profile between 2 points on STL
Join Date: Sep 2011
Posts: 45
Rep Power: 6
ic3wall is on a distinguished road
Hi all,

Is there a tool in OpenFoam I could use to find the elevation profile (xyz preferably) between two given points on an STL file.

Here's what I want to do:

I have a large topo map in STL format, I define a diamond domain in blockMesh with 8 vertices and then run MoveDynamicMesh. See picture of the result below. On the picture you see only the inlet patch.

From that, I need to have the inlet elevation profile in order to extrude it on a given distance to run a cyclic simulation on it. Then, I want to map the results of the inlet of this cyclic simulation on the inlet of my diamond domain (both profiles are supposed to be the same).

To map the results from one simulation to another, not only for MapFields, but for me it's important that both profiles are identical.

In summary, I need to extrude the mesh of the inlet patch shown below ..

Please help!
Attached Images
File Type: jpg cfd_online.jpg (48.1 KB, 15 views)
ic3wall is offline   Reply With Quote

Old   February 3, 2012, 13:23
Join Date: Sep 2011
Posts: 45
Rep Power: 6
ic3wall is on a distinguished road
ok for those looking do to something silimar, there exists a tool called extrudeMesh.

It does exactly what I wanted!

Last edited by ic3wall; February 3, 2012 at 16:06.
ic3wall is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 6 August 26, 2015 09:38
Unsteady Boundary Profile with data file Arianna FLUENT 27 August 9, 2015 14:56
How to Connect Points in Design Modeler to make airfoil profile (2D) andrew_diablo CFX 2 November 12, 2012 06:28
STL units and Surface elevation plot MAB FLOW-3D 11 May 9, 2010 15:55
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36

All times are GMT -4. The time now is 04:20.