sunagra27 |
April 14, 2022 02:33 |
Unable to retrieve anything from surfaceInterpolate function
Hi,
I am running a steady state simulation. For post-processing, I am trying to get the surfaceField using surfaceInterpolate function. Below is the functional code implemented in "system" folder. After running the simulations, I am unable to retrieve any data from it. The simulation runs correrctly.
Code:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Interpolates the volume field values to surface linearly.
\*---------------------------------------------------------------------------*/
surfaceInterpolate1
{
// Mandatory entries
type surfaceInterpolate;
libs ("libfieldFunctionObjects.so");
fields (T TInterp);
// Optional (inherited) entries
region patch;
enabled true;
log true;
timeStart 0;
timeEnd 100;
executeControl runTime;
executeInterval 1;
writeControl runTime;
writeInterval 1;
}
// ************************************************************************* //
I have added the file in the controlDict as:
Code:
functions
{
#includeFunc surfaceInterpolate1 //File name given in system folder
}
Where do I look for the output?
Regards,
Sunag R A.
|