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

Sampling a limited number of points using cuttingPlane

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2022, 07:05
Default Sampling a limited number of points using cuttingPlane
  #1
New Member
 
Join Date: Apr 2022
Posts: 8
Rep Power: 3
sezer is on a distinguished road
Hello everyone,

I have a simulation of a building and I try to use cuttingPlane trought the building.
Since the plane has 1974 faces, I was expecting to get the same amound samples but I got around 4000.
Is there any way to limit the number of points to 1974?
Here's my surfaces file:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/

surfaces
{
  
  type            surfaces;
    libs            ("libsampling.so");

    writeControl    writeTime;

    surfaceFormat   raw;
    fields          ( U k epsilon);

    interpolationScheme cellPoint;

    surfaces
    (
        zNormal
        {
            type            cuttingPlane;
            planeType       pointAndNormal;
            pointAndNormalDict
            {
                point   (320 0 0);
                normal  (1 0 0);
            }
            interpolate     false;
        }
    );
}


// ************************************************************************* //
Thanks for your help!
sezer 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
[Other] Equal decomposition of cylindrical fluid domain Sean95 OpenFOAM Meshing & Mesh Conversion 3 February 12, 2019 03:34
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 03:58
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
[blockMesh] --> foam fatal error: lillo763 OpenFOAM Meshing & Mesh Conversion 0 March 5, 2014 10:27
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 06:40.