![]() ![]() The condition must evaluate to bool, the fields a and b must be of the same type. ? and : : Ternary operator for cond ? a : b. ![]() = != : : Equality and inequality-operators.& || : The logical and and or operators.& : Inner product for vectors and tensors.More advanced information about macro or dictionary substitutions is provided in later sections. Since expressions may easily grow in complexity, internal documentation of expressions is encouraged in the form of C/C++ style comments internal to the expression. sqrt(), mag(), magSqr() wherever possible. uses standard and OpenFOAM function names e.g.This means, for example, that scalar-vector multiplication works as expected. uses OpenFOAM operator overloads wherever possible.the usual operator precedence rules apply. ![]() The basic syntax of the expressions largely resembles that of the OpenFOAM source code: Use face values for its native structure, with the possibility of accessing point values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |