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: gschaider
Forum: OpenFOAM Community Contributions November 23, 2011, 13:45
Replies: 7
[swak4Foam] GroovyBC
Views: 3,194
Posted By gschaider
Since the release that has the date 2011-07-26...

Since the release that has the date 2011-07-26 (check the README) there is a binary min/max in the parser. So basically

vector(min(pos().z,1),0,0)

should work
Forum: OpenFOAM Community Contributions August 10, 2011, 18:19
Replies: 7
[swak4Foam] GroovyBC
Views: 3,194
Posted By gschaider
Hmm. At first: You're working on the patch...

Hmm. At first: You're working on the patch Entrada anyway, so there's no need to write the variables like this "ret{Entrada}=590" ("ret=590" is sufficient).

In my opinion this should not be the...
Forum: OpenFOAM Community Contributions March 23, 2011, 15:44
Replies: 7
[swak4Foam] GroovyBC
Views: 3,194
Posted By gschaider
The min-function in groovyBC takes the minimum of...

The min-function in groovyBC takes the minimum of a field and therefore only takes one argument.

The minimum of two fields a and b can be taken with the ?:-notation: (a < b ? a : b)
Showing results 1 to 3 of 3

 
Forum Jump

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