finding max velocity over time
Title
Question
Good evening sir,
i watched all your tutorials and i am using openfoam. would you please tell me how to find maximum/minimum velocity over time ?
i watched all your tutorials and i am using openfoam. would you please tell me how to find maximum/minimum velocity over time ?
OpenFOAM Turbulent-Flow-in-a-Lid-driven-Cavity 10-11 min 40-50 sec
Answers:
Dear Narayana,
You can calculate the maximum and minimum velocity in Paraview by plotting 'U' or you can also use Foam object utility such as minMaxU. You can add the following lines in the controlDict file with system case file and then run your respective solver.
functions
(
minMaxU
{
type fieldMinMax;
functionObjectLibs ("libfieldFunctionObjects.so");
fields
(
U
);
mode magnitude;
outputControl timeStep;
outputInterval 1;
}
);
This will provide you with a .dat file containing the maximum and minimum velocity over time steps within postProcessing file.
Regards
Subhasree Basu
Fossee Team, IIT Bombay
Login to add comment