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

get values of p at some points

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2014, 10:48
Default get values of p at some points
  #1
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 9
bieshuxuhe is on a distinguished road
hi,
I am tring to get how the value of p changes over time at some points(votecies of the cell) ! the mesh is moving(without topology change) ,so I couldn't use "probes" which is stationary .
but I know we could use "sets" in controlDict for example
Code:
functions
{
    somePoints
    {
        type            sets;
        functionObjectLibs ("libsampling.so");
        outputControl   timeStep;
        outputInterval  1;
        setFormat   raw; 
        interpolationScheme cellPointFace;   
        fields
        (
            p
        );

        sets
        (
            movingpoints
            { 
               type            curve;  
               axis            xyz;
               points
               (
                  ( 0  0  0 )
                  ( 0  35 0 )
                  ( 0  70 0 )
                  ( -8 -0 0 )
                  ( -8 35 0 )
                  ( -8 70 0 )
               );
            }
         );
    }
}
then we could get a folder named somePoints in which there are many time folders , and each time folder has a file named movingpoints_p.xy which give the value of p at every point .

but what I really want is a file which we often get when using probes in controlDict . for example
Code:
#           x           -10 
#           y             0 
#           z             0 
#        Time               
         0.01       8.55623 
         0.02       26.1144 
         0.03       44.2005 
         0.04       62.3417 
         0.05       80.3637 
         0.06       98.1519 
         0.07       115.613 
         0.08       132.664 
         0.09       149.228 
          0.1       165.235 
         0.11       180.616 
         0.12       195.308 
         0.13       209.251 
         0.14       222.387 
         0.15       234.663 
         0.16       246.031 
         0.17       256.444 
         0.18       265.862 
         0.19       274.246 
          0.2       281.562 
         0.21       287.783 
         0.22       292.883 
         0.23       296.841 
         0.24       299.643 
         0.25       301.275 
         0.26       301.735 
......
do you know how to get a file like this ?
do you have any sugest ?

thanks
xuhe
bieshuxuhe is offline   Reply With Quote

Reply

Tags
sample

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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 12 March 11, 2020 17:16
[DesignModeler] DM's JScript: FPoint()'s GetPoint(i) function picks points backwards? ANT ANSYS Meshing & Geometry 2 July 23, 2012 16:25
Numerical errors in nested domain with pre-calculated boundary values Arnoldinho OpenFOAM Running, Solving & CFD 3 April 4, 2012 11:31
Interpolation values in nodes and cells mrestrepo30 FLUENT 0 April 27, 2010 10:20
exact face values RubenG Main CFD Forum 0 June 22, 2009 12:09


All times are GMT -4. The time now is 09:43.