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 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: mturcios777
Forum: OpenFOAM Programming & Development December 28, 2012, 17:08
Replies: 6
Views: 6,663
Posted By mturcios777
I think your problem is that you are mixing up...

I think your problem is that you are mixing up types and operators. You are trying to subtract a single constant scalar value (max(y)) from a vector field (mesh.C()). I think you can agree this...
Forum: OpenFOAM Programming & Development December 19, 2012, 14:49
Replies: 6
Views: 6,663
Posted By mturcios777
For cell center, you should be able to do...

For cell center, you should be able to do mesh[cellI].x() to get the x-coordinate of the cell center. You can do a similar operation for y and z.
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 03:25.