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

Check field into domain

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 7, 2010, 07:34
Default Check field into domain
  #1
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 7
andrea.pasquali is on a distinguished road
Hello,
How can I check a field (like U or p) on a surface into my domain?
Is there a command like patchAverage or patchIntegrate for surfaces?

Thank in advance for any reply

Andrea
__________________
Andrea Pasquali
andrea.pasquali is offline   Reply With Quote

Old   January 7, 2010, 11:36
Default
  #2
Member
 
santhosh
Join Date: Apr 2009
Location: pune, India
Posts: 67
Rep Power: 8
santoo_cfd is on a distinguished road
check out this link

http://openfoamwiki.net/index.php/Co...unctionObjects
santoo_cfd is offline   Reply With Quote

Old   January 8, 2010, 10:33
Default
  #3
Senior Member
 
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 7
andrea.pasquali is on a distinguished road
Thank you very much santhosh!
I compiled it and it works fine.
I would like to check the U field onto a surface in my domain.
I wrote in my controlDict
Quote:
functions
(
surface
{
type surfaces;
functionObjectLibs
(
"libsimpleFunctionObjects.so"
);
verbose true;
// outputControl outputTime;
outputControl timeStep;
outputInterval $writeInterval;
fields
(
U
p
);
checkSurface
(
constantPlane
{
type plane; // always triangulated
basePoint (0.0 -0.11 0.0);
normalVector (0 -1 0);
}
);
}
);
The solver creates a new directory "checkSurface" whit in the sub-directory for each $writeInterval.
The problem is these sub-directory are empty!
Where did I make mistake?

Thanks
__________________
Andrea Pasquali
andrea.pasquali 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
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
CHT Problem - Domain Imbalance Parthipan CFX 5 September 11, 2007 10:13
rotating domain in rotating domain, different axis Robert Stringer CFX 3 December 4, 2006 08:04
Solver error message!!! IoSa CFX 1 September 14, 2006 04:48


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