|
[Sponsors] |
November 14, 2018, 04:11 |
Obtaining velocities at specific plane
|
#1 |
New Member
Martin Rønnov Andersen
Join Date: Oct 2018
Location: Aalborg, Denmark
Posts: 10
Rep Power: 8 |
Hey guys,
I am fairly new to openFOAM so bear with me on this: In this study, I will be trying the find the uniformity index after an expansion and in order to calculate this, i need to know the velocities after the guide vanes(See attached picture). I have tried to create a plane just after the guide vanes in Pointwise, which did not work. Then i tried using createPatch, but this did not work either. Can anyone point me in the direction of how to achieve the velocities at a specific plane, after the guide vanes? |
|
November 15, 2018, 06:18 |
|
#2 |
Senior Member
|
Hi,
Working with the surfaces functionObject, something like the following, could work if you make an stl of the plane that you want to look for the velocities. You should get a high enough resolution on this stl. Code:
velocities_on_plane { type surfaces; functionObjectLibs ("libsampling.so"); writeControl writeTime; surfaceFormat vtk; fields (U); interpolationScheme cellPoint; surfaces ( Plane { type sampledTriSurfaceMesh; surface Plane.stl; source cells; interpolate true; } ); } |
|
November 16, 2018, 04:10 |
|
#3 |
New Member
Martin Rønnov Andersen
Join Date: Oct 2018
Location: Aalborg, Denmark
Posts: 10
Rep Power: 8 |
Hi tomf,
Thanks for your response! How is one going to include a STL. file in the main geometry? |
|
November 16, 2018, 04:33 |
|
#4 |
Senior Member
|
Hi
You do not do it like that. Just place a separate plane.stl into a folder called constant/triSurface/ like you would for making a mesh using snappyHexMesh. This plane.stl you have to create separately. I do not know what software you have available, but there should be multiple solutions to this. OpenFOAM will interpolate to this plane. Hope this helps. Cheers, Tom |
|
January 1, 2019, 06:42 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
The plane can either be a regular cutting plane, or from an stl, etc via a distanceSurface with distance = 0. The latter can be rather important to obtain proper sampling per cell. There is a small example in the tutorials (compressible/rhoSimpleFoam/squareBend) that you can work from. |
||
Tags |
guide, index, plane, uniformity, vanes |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simple piston movement in cylinder- fluid models | arun1994 | CFX | 4 | July 8, 2016 03:54 |
Sign of massflow across a plane | Chander | CFX | 6 | June 14, 2012 04:36 |
error message | cuteapathy | CFX | 14 | March 20, 2012 07:45 |
Problem with Sampling plane | Chander | CFX | 10 | February 20, 2012 17:57 |
Mixing plane geometry definition | Hbet | FLUENT | 0 | January 18, 2002 08:16 |