|
[Sponsors] |
[swak4Foam] allowed functions in funkySetFields expression |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 1, 2012, 12:23 |
allowed functions in funkySetFields expression
|
#1 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
Hi,
I am trying to set up an alpha1 field with funkySetFields and I would like to set alpha1 to 1 based on a calculation involving the remainder of a division. I have tried using fmod(a/b) or a/b-floor(a/b) for this, but both fmod and floor are apparently not supported. My question is: what functions are supported/allowed? is there a list of them somewhere? |
|
June 1, 2012, 17:40 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
An updated documentation is in progress, but as this is unpaid work it is not very high priority so don't expect it before the end of the year |
||
June 2, 2012, 07:20 |
|
#3 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
Thanks! That one will definitely do the trick!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlet boundary condition in interFoam | Andrea_85 | OpenFOAM Running, Solving & CFD | 51 | July 20, 2017 14:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 08:24 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 01:52 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |