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: olesen
Forum: OpenFOAM Programming & Development August 9, 2010, 06:20
Replies: 31
Views: 19,469
Posted By olesen
If you use the zero-sized volScalarField 'E' as...

If you use the zero-sized volScalarField 'E' as above, you are headed for a segfault.
You need to allocate/dimension it beforehand.

If all of the values are indeed constants, then I'd think you'd...
Forum: OpenFOAM Programming & Development August 6, 2010, 04:22
Replies: 31
Views: 19,469
Posted By olesen
If you just need the value without the...

If you just need the value without the dimensions:

T[i ]= TSat.value();
should work.
This method is covered in the doxygen for dimensioned types:...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 08:10.