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

How to write the sampled field values of a curved internal surface?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 15, 2021, 12:51
Default How to write the sampled field values of a curved internal surface?
  #1
New Member
 
Lewis
Join Date: Jun 2021
Posts: 26
Rep Power: 4
cfdcheckers is on a distinguished road
I am trying to sample the field values on an internal curved surface. The way I managed to sample the values was using the function object surfaceInterpolate in controlDict. For this I created a dummy surface where I needed the sampling and defined it as "empty" physical surface, and correspondingly making it empty in each 0 folder files.



Code:
functions
{
    dummySurfaceData
    {
        type            surfaceInterpolate; //surfaceFieldValue;
        libs            ("libfieldFunctionObjects.so");
        writeControl    writeTime;
        writeFields     true;
        surfaceFormat   raw;
        regionType      faceZone; //faceZone;
        name            dummySurface;
        operation       none;
        fields
        (
            (p pNear) (T TNear) (U UNear)
        );
   }
}
If I open the results in paraview I can see the data on the faceZone but I did not find any file written for the dummySurface field values in the case folder. All I see is the pNear, TNear and UNear files in the time folders but the entries for the dummySurface are none in those.


So am wondering if there's any way I can write these sampled field values to a (csv) file?
cfdcheckers is offline   Reply With Quote

 

Tags
curved surface, cylinder, functionobject, sampling, sampling data


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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? EternalSeekerX SU2 3 October 9, 2020 18:28
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 18:19
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
Phase locked average in run time panara OpenFOAM 2 February 20, 2008 14:37


All times are GMT -4. The time now is 22:32.