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

get variables by sampling

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 18, 2014, 07:08
Post get variables by sampling
  #1
Member
 
Reza
Join Date: Feb 2012
Posts: 67
Rep Power: 14
gooya_kabir is on a distinguished road
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.
gooya_kabir is offline   Reply With Quote

 


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
sampling interval and sampling frequency beauty FLUENT 13 November 9, 2022 08:23
[swak4Foam] A way to update groovyBC variables during the solution immortality OpenFOAM Community Contributions 10 February 4, 2013 00:56
sampling Data during calculation JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10
PHI file structure Eugene Phoenics 9 November 2, 2001 22:00
Saving variables on a user patch with physical coordinates Zoltan Turzo CFX 2 April 20, 2000 15:05


All times are GMT -4. The time now is 20:14.