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

patchIntegrate over a specified patch

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 14, 2009, 11:04
Default Hello, in my case I want to
  #1
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 8
booz is on a distinguished road
Hello,

in my case I want to integrate over the patch "outlet".

Any idea how I can do this with openFoam?

Thanks and best regards
Khaled
booz is offline   Reply With Quote

Old   February 16, 2009, 03:52
Default Hi Khaled, try the utility
  #2
kbr
New Member
 
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 8
kbr is on a distinguished road
Hi Khaled,

try the utility "patchIntegrate":

patchIntegrate <root> <case> <fieldname> <patchname>.

Kerstin
kbr is offline   Reply With Quote

Old   February 16, 2009, 05:01
Default Hi Kerstin, first thanks. I
  #3
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 8
booz is on a distinguished road
Hi Kerstin,

first thanks. I tried this, but it doesn´t work.

My case is "caseGeometrie", the fieldname is "p" for pressure and the patchname is "outlet".

So i triesd with

pathchIntegrate . caseGeometrie.p.outlet

But it output an error message.

Regards,
Khaled
booz is offline   Reply With Quote

Old   February 16, 2009, 05:10
Default Hi Khaled, just try pat
  #4
kbr
New Member
 
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 8
kbr is on a distinguished road
Hi Khaled,

just try

patchIntegrate 'name of the directory your case is located' caseGeometrie p outlet

If it doesn't work put the error message in your thread, please.

Kerstin
kbr is offline   Reply With Quote

Old   February 16, 2009, 05:18
Default Hi Khaled, just try pat
  #5
kbr
New Member
 
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 8
kbr is on a distinguished road
Hi Khaled,

just try

patchIntegrate 'name of the directory your case is located' caseGeometrie p outlet

If it doesn't work put the error message in your thread, please.

Kerstin
kbr is offline   Reply With Quote

Old   February 16, 2009, 05:18
Default Hi Kerstin well here is th
  #6
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 8
booz is on a distinguished road
Hi Kerstin

well here is the error message:


:~/OpenFOAM/studi8-1.4.1/tutorials$ patchIntegrate object caseGeomtrie p outlet
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : patchIntegrate object caseGeomtrie p outlet
Date : Feb 16 2009
Time : 10:19:27
Host : fed-lin44
PID : 12011
Root : object
Case : caseGeomtrie
Nprocs : 1


--> FOAM FATAL ERROR : patchIntegrate: Cannot open case directory "object/caseGeomtrie"


FOAM exiting

Khaled
booz is offline   Reply With Quote

Old   February 16, 2009, 05:21
Default Hi Khaled, maybe there's on
  #7
kbr
New Member
 
Kerstin
Join Date: Mar 2009
Posts: 16
Rep Power: 8
kbr is on a distinguished road
Hi Khaled,

maybe there's only a mistake in writing, isn't it? Have a look on your case name: 'caseGeomtrie'

Kerstin
kbr is offline   Reply With Quote

Old   February 16, 2009, 05:39
Default Oh, thanks a lot. That was the
  #8
Member
 
Join Date: Mar 2009
Posts: 35
Rep Power: 8
booz is on a distinguished road
Oh, thanks a lot. That was the mistake!

Now it is running.

Regards,
Khaled
booz is offline   Reply With Quote

Old   April 17, 2009, 15:06
Default How to do the patch integrate
  #9
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 206
Rep Power: 9
nandiganavishal is on a distinguished road
Hello,

I have a square geometry and would like to calculate the average velocity across the channel at different points along my channel.. Hence I would to integrate the velocity across the channel to calculate the average values.. May I know how exactly we should do this..

Kindly do the needful

Regards

Vishal Nandigana
nandiganavishal 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
HELP NEEDED HOW TO MAP VALUES FROM PATCH OF ONE MESH TO PATCH OF ANOTHER MESH mkraposhin OpenFOAM Running, Solving & CFD 3 September 4, 2011 09:42
patch value laure FLUENT 0 June 6, 2007 10:14
VOF Patch Adour FLUENT 0 April 5, 2007 05:01
patch lu FLUENT 2 September 4, 2003 03:48
Patch Eric FLUENT 5 December 1, 2000 11:14


All times are GMT -4. The time now is 01:33.