CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   get variables by sampling (https://www.cfd-online.com/Forums/openfoam-post-processing/137539-get-variables-sampling.html)

gooya_kabir June 18, 2014 07:08

get variables by sampling
 
Dear All,

I used some libraries in interFOAM such as contactAngle. I run the simulation and got the results. Now I want to extract some variables by sampleDict. The problem is that for getting
PHP Code:

theta0_ 

as static contact angle or
PHP Code:

uwall 

as velocity of cell close to wall, I do not know which patch or line I should define in the sampleDict.

I tried fixedWall patch (the wall that we apply contact angle) and also a line close to the wall, but I just can extract
PHP Code:

and 

and not the contact angle. below is my sampleDict directory.
PHP Code:

interpolationScheme cellPoint;

setFormat    raw;
sets
(
    
fixedWall
    
{
        
type    uniform;
        
axis    x;
        
start   0 0 0.000002);
        
end     0.0008 0 0.000002);
        
nPoints 100;
    }
);
fields          uwall U theta0_ p); 

I appreciate any help to be able to extract these variables.


All times are GMT -4. The time now is 17:04.