|
[Sponsors] |
March 24, 2016, 07:44 |
funkyDoCalc write fields
|
#1 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
Note: Solved. Turns out funkySetFields actually is the solution to what I want, since this tool only requires a dummy field to be prepared that can then be filled with the desired expression.
For further reference, below the original post. --- Hey guys, I'm currently trying to evaluate my simulation, and would need to do some calculations. As foamCalc is quite incapable of anything, I figured funkyDoCalc was the way to go. But as far as I understood the source code, it appears that the utility only writes information to STDOUT and a file that is similar to the postProcessing stuff. Am I missing something, or is it simply not possible to write new (internal/boundaryFields) to a time-folder? I also tried to add the lines Code:
driver->createWriterAndRead(name) driver->tryWrite() I called the tool with funkyDoCalc -latestTime testDict. My testDict used for the utility, which should be usable with any case that calculates U: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } uSqr { valueType internalField; expression "mag(U)"; accumulations ( average ); } Last edited by Astrodan; March 24, 2016 at 09:07. Reason: Solution found |
|
Tags |
foamcalc, funkydocalc, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam does not write converged time step | Tobi | OpenFOAM Bugs | 6 | October 14, 2017 12:41 |
modify pimpleFoam to write sampled fields on a patch each runtime | moh-farmani | OpenFOAM Programming & Development | 0 | August 19, 2017 16:17 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 10:15 |
write nut fields in simpleFoam | maurice | OpenFOAM Running, Solving & CFD | 5 | March 23, 2009 02:57 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |