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

About surface weighed average

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2007, 12:45
Default Hello, I want to calculate
  #1
Member
 
anne dejoan
Join Date: Mar 2009
Location: madrid, spain
Posts: 66
Rep Power: 17
anne is on a distinguished road
Hello,

I want to calculate a surface weighed average at
a fixed plane of my computational domain DURING the computation. I controle it well for boundary fields patches but not at all for internal field surfaces.

I have looked at the diffferent threats but it is not clear for me and have some questions:

1) The value I want to interpolate at the surface is a scalar. Is it possible to use the function fvc::interpolate(Myscalar) ?

2)Now, guessing I have the interpolated value, I need to estimate my surface area. I can do it using magSf() for example. However, how do I know which faceI indice it is
relatively to my cell location ? For example
I know the indices of the two cells that surrounds the plane surface on which I want the interpolated value but I don't know how to indice the faceI to be sure to get the right
indice location.

Will mesh.Sf()[2] give me all the surface area in the direction [2] ? Is there any findFace as there is a findCell function ?

Thanks you,

anne
anne is offline   Reply With Quote

Old   July 6, 2010, 16:06
Default
  #2
New Member
 
Join Date: Jun 2010
Posts: 14
Rep Power: 16
maximeg is on a distinguished road
Quote:
Originally Posted by anne View Post
Hello,

I want to calculate a surface weighed average at
a fixed plane of my computational domain DURING the computation. I controle it well for boundary fields patches but not at all for internal field surfaces.

I have looked at the diffferent threats but it is not clear for me and have some questions:

1) The value I want to interpolate at the surface is a scalar. Is it possible to use the function fvc::interpolate(Myscalar) ?

2)Now, guessing I have the interpolated value, I need to estimate my surface area. I can do it using magSf() for example. However, how do I know which faceI indice it is
relatively to my cell location ? For example
I know the indices of the two cells that surrounds the plane surface on which I want the interpolated value but I don't know how to indice the faceI to be sure to get the right
indice location.

Will mesh.Sf()[2] give me all the surface area in the direction [2] ? Is there any findFace as there is a findCell function ?

Thanks you,

anne
Hi Anne!
Did you find any answer (on your 2nd point more precicely)? I have the same problem:
I'd like to know how I can access/choose the area (of only one of the 6 faces) of an internal cubical finite volume (not near a patch).
I know I have to use the magSf command, but I don't know which face area (or which direction) of the finite volume it gives me.
If you have any infos on this can you foward them to me? If you don't have any, good luck for your search (if I find anything I'll think about you)!
Maxime
maximeg is offline   Reply With Quote

Reply


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
Average Facet, Surface Vertex or Area-Weighted Emmanuel FLUENT 3 March 27, 2020 11:55
make average on a surface during time steps David FLUENT 3 November 8, 2006 10:27
RANS from time average -- How about space average? TT Main CFD Forum 1 April 11, 2006 15:38
Monitoring surface average Jim CFX 0 January 6, 2006 22:39
How does FLUENT compute the average surface integral ? Andre FLUENT 3 December 21, 1999 11:40


All times are GMT -4. The time now is 11:56.