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

get variables by sampling

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2014, 07:08
Post get variables by sampling
  #1
Member
 
Reza
Join Date: Feb 2012
Posts: 63
Rep Power: 5
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

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sampling interval and sampling frequency beauty FLUENT 3 November 6, 2014 11:09
A way to update groovyBC variables during the solution immortality OpenFOAM Running, Solving & CFD 10 February 4, 2013 01:56
sampling Data during calculation JimKnopf OpenFOAM Post-Processing 0 May 27, 2011 04:10
PHI file structure Eugene Phoenics 9 November 2, 2001 23: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 03:39.