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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2022, 08:05
Default Sampling a limited number of points using cuttingPlane
  #1
New Member
 
Join Date: Apr 2022
Posts: 8
Rep Power: 2
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 04:34
decomposePar -allRegions stru OpenFOAM Pre-Processing 2 August 25, 2015 04:58
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
[blockMesh] --> foam fatal error: lillo763 OpenFOAM Meshing & Mesh Conversion 0 March 5, 2014 11:27
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36


All times are GMT -4. The time now is 18:25.