View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003381||OpenFOAM||Patch||public||2019-11-10 13:55||2019-12-28 17:41|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0003381: additional function1 functions|
|Description||In addition to current Function1s, |
I think it is nice to have frequently used functions such as exponential, squared cosine/sine.
I have made a code.
please review if it is useful.
|Tags||No tags attached.|
function1s.tar.gz (3,256 bytes)
Have you based this implementation on the latest Function1 functions? In order that these functions are generally useful integrate in needed, also it is better that scaling is applied externally to support this, see the latest Sine implementation.
Author: Will Bainbridge <http://cfd.direct>
Date: Thu Oct 17 19:11:05 2019 +0100
Function1: Implemented integral evaluations
Integral evaluations have been implemented for all the ramp function1-s,
as well as the sine and square wave. Bounds handling has also been added
to the integration of table-type functions.
In addition, the sine wave "t0" paramater has been renamed "start" for
consistency with the ramp functions.
||I did not catch up the recent changes. I will check it.|
code based on the latest of OpenFOAM-dev is attached.
function1s-dev.tar.gz (3,525 bytes)
Do you have a particular use-case for these functions? It might be useful to include them in a tutorial.
We have not needed them and they have never been requested.
||If there is a need for a lot more Function1 forms, particularly is combinations of functions are needed other than simple multiplication perhaps it would be better to implement a codedFunction1 like codedFixedValueFvPatchField.|
Please re-open if these additional functions are still required and provide example cases which can be used as tutorials to demonstrate and test the implementation.
Alternatively if other more general functions or combination of functions are required it would be better to implement a codedFunction1.
|2019-11-10 13:55||handrake0724||New Issue|
|2019-11-10 13:55||handrake0724||File Added: function1s.tar.gz|
|2019-11-10 14:21||henry||Note Added: 0010872|
|2019-11-10 16:27||handrake0724||Note Added: 0010873|
|2019-11-10 17:00||handrake0724||File Added: function1s-dev.tar.gz|
|2019-11-10 17:00||handrake0724||Note Added: 0010874|
|2019-11-10 17:24||henry||Note Added: 0010875|
|2019-11-12 11:40||henry||Note Added: 0010887|
|2019-11-20 11:46||henry||Assigned To||=> henry|
|2019-11-20 11:46||henry||Status||new => closed|
|2019-11-20 11:46||henry||Resolution||open => suspended|
|2019-11-20 11:46||henry||Note Added: 0010923|