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: alberto
Forum: OpenFOAM September 17, 2010, 10:29
Replies: 17
Views: 3,640
Posted By alberto
The correct syntax would be ...

The correct syntax would be

thermo().T().max(300)

but T is returned only as const, so it cannot be modified at this stage.

You can either define a second method to return T without the const...
Forum: OpenFOAM September 17, 2010, 00:53
Replies: 17
Views: 3,640
Posted By alberto
Hmm, why not a simple T.max(300); P.S....

Hmm, why not a simple

T.max(300);

P.S. Yes, max, it is not a typo. The max method is equivalent to max(T,300) looped over all cells.

P.P.S. I have no idea why you are doing this, but it...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -4. The time now is 21:04.