CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: santiagomarquezd
Forum: OpenFOAM Programming & Development February 1, 2011, 16:14
Replies: 10
Views: 3,730
Posted By santiagomarquezd
Anton, thanks for sharing your experience. These...

Anton, thanks for sharing your experience. These procedures with macros, etc. are well optimized for up two ops at the same time. In your case you have four ops and they are nested, preprocessing...
Forum: OpenFOAM Programming & Development January 17, 2011, 21:37
Replies: 10
Views: 3,730
Posted By santiagomarquezd
Anton, good question! Fields operations are quite...

Anton, good question! Fields operations are quite hard to hack, but I think I got it, max in this case:

GeometricFieldFunctions.C

00551 BINARY_TYPE_FUNCTION(Type, Type, Type, max)
...
Forum: OpenFOAM Programming & Development November 5, 2010, 08:52
Replies: 10
Views: 3,730
Posted By santiagomarquezd
I think the loop can be avoided, Did you try ...

I think the loop can be avoided, Did you try

Diff = max(upperValue*(1.0-C),lowerValue);

?

Regards.
Showing results 1 to 3 of 3

 
Forum Jump

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