|
[Sponsors] |
Alt to funkySetFields, setFields OF - setExpS _ setExpV |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 23, 2021, 03:42 |
Alt to funkySetFields, setFields OF - setExpS _ setExpV
|
#1 |
New Member
|
./setExpS ./setExpV
Alt for funkySetFields-swak4Foam with easy setup for setting initial Scalar or Vector fields using a math expression. https://github.com/Fluidentity/setExpS_V C++ program to set initial fields of an OpenFOAM scalar or vector using a math-expression, taking co-ordinates as parameter. The expressions are based off of exprtk library by Arash Partrow. Check the link beneath for more info. readme.txt file describess expression syntax and involves exhaustive mathematical manipulation. https://github.com/ArashPartow/exprtk This is an alternative to funkySetFields {swak4Foam) or setFields, for those who couldn't get them to work on their OpenFoam version. I couldn't get it to work on OF-8, but I won't take credit away from multiple versions & environments it's working on already. Minimum effort on getting it to work . Simple Scalar Vector Formulation. Make good use of this quick fix. ------------------------------------------------------------- An exemplary testCase folder for scalarTransportFoam can be found in the repository, with custom ./Allclean & ./Allrun scripts. |
|
Tags |
funkysetfields, initial fields, openfoam, setfields, user expression |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
funkysetfields and setfields | saj216 | Mesh Generation & Pre-Processing | 0 | December 9, 2019 03:01 |
[swak4Foam] setFields or funkySetFields with STL file? | vinz | OpenFOAM Community Contributions | 1 | February 21, 2013 12:29 |