Hi all, can someone please
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.
Hi Anja, I have written a mod
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.
Hi, for the moment I'm just t
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?
Hi Theophane Foggia, I woul
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
Simply averaging the pressure
Simply averaging the pressure values would be a very bad idea, i.e.
p_average != average(p);
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.
But in the programmers guide (
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.
Hi The filter I mentioned abo
The filter I mentioned above is available here as an extra external module for paraview:
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.
Hi Theophane, could you pleas
could you please give me hint to install this module as I never worked with CMake and I'm using paraFoam ?
Hi Melanie, I think you shoul
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.
Thanks Theophane, I tried thi
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 !
Well it works like any other p
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.
ok, now I've understood! I hav
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 ?
|All times are GMT -4. The time now is 01:34.|