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

OF 4.0 sample

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2016, 07:20
Default OF 4.0 sample
  #1
New Member
 
anonymous
Join Date: Nov 2016
Posts: 29
Rep Power: 9
rr3245 is on a distinguished road
Hi all,

I am running simulations for flow past a cylinder (2D at the moment) and I would like to sample pressure values on the cylinder surface. I have created a sampleDict file and I am runnning the following command: "postProcess -func sampleDict". The postProcess function seems to be generating something, but I can't find anything saved.

My sampleDict file looks like this:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  3.0.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat raw;
surfaceFormat raw;

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


interpolationScheme cellPoint;

// Fields to sample.
fields
(
    p
);

sets
(
);

surfaces
(
    cylinderwall
    {
        type            wall;
        patches         ("CYLINDERWALL");
    }
);


// ************************************************************************* //


Regards,
RH.
rr3245 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
Sample utility bug? For many cloud points in the sampleDict, some are neglected! brandius OpenFOAM Post-Processing 10 August 22, 2022 10:56
OpenFOAM 4.0 sample utility Bazinga OpenFOAM Running, Solving & CFD 0 August 30, 2016 11:36
heat conducting in a solid domain Rogerio Fernandes Brito FLUENT 0 March 18, 2008 18:25
heat conducting in a solid domain Rogerio Fernandes Brito CFX 0 March 18, 2008 18:20
CAE program for heat conducting Rogerio Fernandes Brito FLUENT 0 February 3, 2008 12:22


All times are GMT -4. The time now is 11:49.