CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Equidistant points on sample surface?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 22, 2016, 05:04
Default Equidistant points on sample surface?
  #1
Member
 
Join Date: Feb 2015
Posts: 39
Rep Power: 11
HenningW is on a distinguished road
Hello everyone,

I almost feel slightly embarrassed to ask this because it seems so simple:

Is it possible to sample a plane (in control dict or sampleDict) with equidistant probing points (e.g. you give the amount of points in the 2 directions)? And if it is possible, how is it done?

I want to use the sampled planes as inlet conditions for another case, but when i use

Code:
        cuttingPlane
        {
                type            surfaces;
                functionObjectLibs
                (
                        "libsampling.so"
                );
                outputControl   timeStep;
                outputInterval  4;
                surfaceFormat   foamFile;
                fields          
                ( 
                        p U k epsilon
                );
                interpolationScheme cellPoint;
                surfaces
                        (
                            yNormal_OF
                            {
                                type cuttingPlane;
                                planeType pointAndNormal;
                                pointAndNormalDict
                                {
                                    basePoint (0.5 0 0);
                                    normalVector (1 0 0);
                                }
                                interpolate true;
                            }
                        );
        }
in my controlDict, the meshes have a varying number of points, since I have a dynamic mesh and this messes up the inlet-boundary condition, since it seems to require the same amout of points at the same spot. As least from what I see it does not read the points for each time step but a constant one at the beginning.

So how can I get the points at the same spot at all times? Or how can I convert the results the easiest way? By the way, the position and size of the cutting area remains the same, its just the points within that cange.

Any help is appreciated,

Henning
HenningW is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 08:34
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
sample from curved surface Smed OpenFOAM Post-Processing 14 October 21, 2015 01:02
[snappyHexMesh] Snap Precision to a STL Surface malaboss OpenFOAM Meshing & Mesh Conversion 16 July 26, 2013 02:44
How to input surface value using sample nygbook OpenFOAM Post-Processing 3 June 9, 2012 23:45


All times are GMT -4. The time now is 19:12.