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 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: l_r_mcglashan
Forum: OpenFOAM September 27, 2011, 04:27
Replies: 6
Views: 3,566
Posted By l_r_mcglashan
Well S will be a field of 1s and 0s. You're then...

Well S will be a field of 1s and 0s. You're then integrating, which will mean you sum all the 1s multiplied by the size of the volume they are in.

Do it on a simpler field with a much smaller size...
Forum: OpenFOAM September 26, 2011, 05:20
Replies: 6
Views: 3,566
Posted By l_r_mcglashan
Ok, don't include Scalar.H, it will compile fine....

Ok, don't include Scalar.H, it will compile fine. Scalar.H contains template specialisations for type Scalar. If you're interested have a look at http://www.cantrip.org/traits.html.
Forum: OpenFOAM September 26, 2011, 04:44
Replies: 6
Views: 3,566
Posted By l_r_mcglashan
Works for me. Post up the simplest test case you...

Works for me. Post up the simplest test case you have. What version of OF are you using?
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 23:45.