OpenFOAM sample utility
could anybody give me an hint how to use sample utility correctly for all time steps?
I only would like to sample Ux from the velocity field U.
The help menu offers the option -time <range>.
sample -time :0.1-1.5: (and similar versions) don't work.
A few questions:
As for running for all time steps, I think is should be something like ("1.5" is the last time step):
sample util works well if I sample U for all time steps or a range of time steps. All your recommended commands are fine.
I am not able to extract only Ux of velocity field U.
I have tried Ux, U(x), UX, U(1) and U.component(1) but do not receive the required result.
OpenFOAM version 2.1.1
Do you know the solution for my problem?
Thanks a lot!
You have to create your components of the velocity vector before running sample utility with this command:
foamCalc components U
This will create Ux, Uy, Uz folders in your time directories. After that you can run the sample utility
|All times are GMT -4. The time now is 23:16.|