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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: cliffoi
Forum: OpenFOAM Programming & Development May 27, 2022, 02:44
Replies: 9
Views: 2,972
Posted By cliffoi
#include "fvcSurfaceIntegrate.H" ...

#include "fvcSurfaceIntegrate.H"

fvc::surfaceSum sums the face values for each cell and returns a volField.

fvc::volumeIntegrate simply multiples the cell values by the cell volume.
Forum: OpenFOAM Programming & Development May 26, 2022, 06:27
Replies: 9
Views: 2,972
Posted By cliffoi
Dear Hari, I think you need to be more specific...

Dear Hari,
I think you need to be more specific about what you're trying to achieve. What value are you trying to get at the cell centres. Are you trying to get face-area-averaged value for each...
Forum: OpenFOAM Programming & Development March 7, 2011, 12:25
Replies: 9
Views: 2,972
Posted By cliffoi
This might be a much simpler alternative. Again,...

This might be a much simpler alternative. Again, you need to sort out the discretization and mathematical correctness.
X = fvc::surfaceSum(fvc::interpolate(X.oldTime())*M.oldTime())
Forum: OpenFOAM Programming & Development March 7, 2011, 12:10
Replies: 9
Views: 2,972
Posted By cliffoi
Something along these lines should do the trick....

Something along these lines should do the trick. You're going to have to sort out the the discretization and mathematical correctness of it all. Since the mesh is unstructured you'll probably need to...
Showing results 1 to 4 of 4

 
Forum Jump

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