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 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: hjasak
Forum: OpenFOAM Running, Solving & CFD March 20, 2005, 09:35
Replies: 2
Views: 3,611
Posted By hjasak
Try: vector c = sum(mesh.V(

Try:

vector c = sum(mesh.V()*mesh.C().internalField())/sum(mesh.V());

You will, of course, need a mesh for your geometry.

Enjoy,

Hrv
Showing results 1 to 1 of 1

 
Forum Jump

All times are GMT -4. The time now is 09:32.