Calculate a new filed from variables in the controldict
I would like to calculate the absoulute presssure starting from the cinematic pressure given from a simpleFoam simulation.
I know that it is possible to do in paraview, but how can be done in openFOAM directly? something like #calc pAbs=p*1.2+101.325 How can be written in the controldict as functionObject? |
|
For me it is not a version problem, I can use both.
If I understood correctly, I have to put this lines in the controlDict, correclty? Quote:
Then scale 1.2 but for the absolute pressure? (+101325) Should go in the offset? Thanks a lot! |
All times are GMT -4. The time now is 23:14. |