CFD Online Logo CFD Online URL
Home > Forums

Alt to funkySetFields, setFields OF - setExpS _ setExpV

Register Blogs Members List Search Today's Posts Mark Forums Read

Rate this Entry

Alt to funkySetFields, setFields OF - setExpS _ setExpV

Posted September 25, 2021 at 04:28 by Fluidentity13

./setExpS ./setExpV
Alt for funkySetFields-swak4Foam with easy setup for setting initial Scalar or Vector fields using a math expression.

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.

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
Posted in Uncategorized
Views 537 Comments 0 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 0



All times are GMT -4. The time now is 05:26.