writing execFlowFunctionObjects
how can write the results of execFlowFunctionObjects in postProcessing folder instead of terminal only?
|
(At least with OpenFOAM 2.2.x) the results are written in the postProcessing folder (additionally to the terminal window). Do you just want to get rid of the terminal output? Then you can redirect the output to /dev/null, e.g.
Code:
execFlowFunctionObjects -noFlow -latestTime >/dev/null |
Hi Joachim
I want to execFlowFunctionObjects write values in all time steps as I've set in controlDict,now it writes only for latest time,I use this command: Code:
mpirun -np 4 execFlowFunctionObjects -parallel -time '0.005598:' |
Just remove the -time option. Then all time steps are written in one file (per variable) in the directory whose name is the time of the first time step.
|
I want to values after 0.005598 be written in folders,but I'll test it,thanks.
---------------- I deleted that option but still only latest time value is written in each file and replaces to previous value instead of be written below it.only one value(for latest time) is shown in the list. |
Which version of OpenFOAM do you use?
Here is part of my controlDict: Code:
functions |
then its because of outputTime,can't use it instead of timeStep?:( this way information become very much higher written in folders.
it's one of dictionaries: Code:
n1_Average |
I think outputControl outputTime can only be used during the actual run of the solver not in post processing.
|
Greetings to all!
@Ehsan: Please post the main settings for "controlDict" or email me the whole "controlDict" file. But I'm guessing that you have the "startFrom" option set to "latestTime". Best regards, Bruno |
2 Attachment(s)
Hi Bruno
I changed it to startTime but still each time step that is calculated is over written on previous value and replaces it. |
Hi Ehsan,
What you have is this:
So, I did some tests with the "cavity" test case I did the other day for "execFunctionObjects". And the conclusions were as follows:
Bruno |
Bruno I used this but like before it only writes one time step
Code:
mpirun -np 4 execFlowFunctionObjects -parallel -time '0.005598:' |
Ooops... sorry, I've been using OpenFOAM 2.2.x. There have been two major bugs fixed in "execFlowFunctionObjects".
Let me think... OK, let's see if this works for you and do one line at a time: Code:
sudo su -c "source $(foamEtcFile bashrc); bash" |
You mean these?
https://github.com/OpenFOAM/OpenFOAM...ctionObjects.C |
Thaaaaaaaaaanks dear Bruno,now it works fine. :)
|
Hi Joachim,
Quote:
Best regards, Bruno |
it was good if funkyDoCalc can be used for writing in folders after run,but its not possible yet as discussed in another thread.
------------------------------ I noticed now that even Swak4Foam postProcessing dictionaries have worked with execFlowFunctionObjects! its very good but how?is it implemented in execFlowFunctionObjects to be compatible by Swak functions? |
Hi
I wanted to plot the case now but some fields (p,T,h) are constant in different times.:confused::( Code:
0.005598 1.2e-05 486033.899292 1098.46445791 1.54114791625 865682.237678 (14.7827374175 -0.784703849386 0) Code:
faceSource n1_Average output: ------------------------ how can download patches from github? |
Hi Ehsan,
Quote:
Quote:
Quote:
Because this seems to be a symptom of not being able to load the fields for the current iteration, for which the "-noFlow" option should be able to do a better job with. Quote:
The steps on post #13 already give you the latest code for execFlowFunctionObjects. Best regards, Bruno |
I used -noFlow but didn't take effect:
Code:
Time = 0.005702 Quote:
|
All times are GMT -4. The time now is 12:58. |