mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Add basic scalar functions to calcEntry.
This commit is contained in:
@ -37,7 +37,13 @@ p this calculation #calc{
|
||||
is done inplace;
|
||||
|
||||
|
||||
flowRate #calc{ $flowRatePerHour / 3600};
|
||||
flowRate #calc{ $flowRatePerHour / 3600 };
|
||||
|
||||
sin45 #calc{ sin( 45*pi() / 180 ) };
|
||||
cos45 #calc{ cos( degToRad(45) ) };
|
||||
pow #calc{ pow( $x, $y ) };
|
||||
log10 #calc{ log( 1e6 ) };
|
||||
// list #calc{ list() };
|
||||
|
||||
xxx yyy;
|
||||
foo 30;
|
||||
|
||||
Reference in New Issue
Block a user