Add Variables Together
Foam Gods: Can results files be added together and scaled easily?
As they are text files I'm wondering if it's easier to bodge together something in python (after hunting all afternoon on the forums) ... but there has to be a better way? Looked in postProcess, but "add" and "scale" aren't there. funkySetFields isn't installed so would need compiling... (Using blueCore openfoam 4.x) |
Quote:
Code:
postProcess -func "add(FIELD1, FIELD2)" |
Thanks so much ... will use that when I get to foam 5...
Until then it's python time... |
All times are GMT -4. The time now is 02:56. |