# Surface intgrals

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 May 3, 2006, 13:09 Hi all, can someone please #1 Member   Anja Stretz Join Date: Mar 2009 Posts: 92 Rep Power: 9 Hi all, can someone please explain me, how I can get the size of one cell/face within a patch? I'm trying to write an application for surface integrals. Thanks Anja

 May 4, 2006, 02:48 Hi Anja, I have written a mod #2 theof Guest   Posts: n/a Hi Anja, I have written a module for paraview that allows surface integrals for flow rate computations, torque, energy losses, etc. Into your own compiled paraview, it can be easily added as an extra external module. Is that what you need? Let me know if you are interested and I'll make it available. thf

 May 8, 2006, 10:00 Hi, for the moment I'm just t #3 Member   Anja Stretz Join Date: Mar 2009 Posts: 92 Rep Power: 9 Hi, for the moment I'm just trying to get surface integrals for the pressure, meaning calculating an average for an inlet. Any suggestions for that? Anja

 May 9, 2006, 03:45 Hi Theophane Foggia, I woul #4 atzaru Guest   Posts: n/a Hi Theophane Foggia, I would be very interested in the module you have written. and if is possible a brief description of how this can be integrated with paraview. thanks a lot atzaru

 May 9, 2006, 05:32 Simply averaging the pressure #5 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 725 Rep Power: 13 Simply averaging the pressure values would be a very bad idea, i.e. p_average != average(p); Rather p_average should be volume or surface weighted. For a known patch ID: patchID scalar patchPmean = gSum(p.boundaryField()[patchID] * mesh.boundary()[patchID].magSf())/gSum(mesh.boundary()[patchID].magSf()); Using gSum instead of sum allows the expression to work in parallel as well.

 May 9, 2006, 06:13 But in the programmers guide ( #6 Member   Anja Stretz Join Date: Mar 2009 Posts: 92 Rep Power: 9 But in the programmers guide (chapter 2.4.10) it's saying that the function average "produces an area weighted average". But when I tried, it did not work.

 May 15, 2006, 05:11 Hi The filter I mentioned abo #7 theof Guest   Posts: n/a Hi The filter I mentioned above is available here as an extra external module for paraview: http://public.kitware.com/pipermail/paraview/attachments/20060322/cf8b2475/vtkCS CSIntegrateVariables.tar.bin In paraview-2.4.3 the integrate attribute filter will work as well for 2D integration. It is much more advanced stuff but less easy to get through.

 August 3, 2006, 11:30 Hi Theophane, could you pleas #8 Member   Mélanie Piellard Join Date: Mar 2009 Posts: 86 Rep Power: 9 Hi Theophane, could you please give me hint to install this module as I never worked with CMake and I'm using paraFoam ? Thanks ! melanie

 August 4, 2006, 01:43 Hi Melanie, I think you shoul #9 theof Guest   Posts: n/a Hi Melanie, I think you should first try to use the Integrate Attributes filter in ParaView. It is available in paraview 2.4.* and above. If you really want to install the Integrate Variables filter, the README should tell what to do. Theophane

 August 4, 2006, 06:26 Thanks Theophane, I tried thi #10 Member   Mélanie Piellard Join Date: Mar 2009 Posts: 86 Rep Power: 9 Thanks Theophane, I tried this morning the Integrate Attributes, but I cannot find a guide to understand how it works... I am not able to select the surface I want the attribute be calculated on !

 August 4, 2006, 06:54 Well it works like any other p #11 theof Guest   Posts: n/a Well it works like any other paraview filter, it should select automatically the surface you want to integrate on. Make sure the surface is highlighted in the selection window before applying the Integrate Attributes filter.

 August 4, 2006, 07:20 ok, now I've understood! I hav #12 Member   Mélanie Piellard Join Date: Mar 2009 Posts: 86 Rep Power: 9 ok, now I've understood! I have to create a cut and apply the filter on it. meanwhile I have another question: for me it does not work if I create a cut exactly located on a boundary, because there are no attributes on the created cut ? is there a reason for this ? thank you

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Jerry Tanner CFX 0 August 20, 2008 12:48 suresh CD-adapco 1 July 7, 2006 06:54 Abrem FLUENT 1 April 30, 2006 03:41 Robert Main CFD Forum 0 May 2, 2002 07:34 name Main CFD Forum 1 September 21, 2001 09:54

All times are GMT -4. The time now is 22:31.

 Contact Us - CFD Online - Top