12.01.2013 Views

OpenFOAM postprocessing and advanced running options

OpenFOAM postprocessing and advanced running options

OpenFOAM postprocessing and advanced running options

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

POLITECNICO DI MILANO CHALMERS<br />

Visualizing Lagrangian<br />

To visualize the Lagrangian particle tracking the case must be converted into paraview<br />

format<br />

The user should run the application foamToVTK on the case containing the Lagrangian<br />

particle tracking (in our case the aachenBomb tutorial for the dieselFoam application)<br />

foamToVTK . aachenBomb<br />

This comm<strong>and</strong> will generate an additional folder named VTK inside the case directory<br />

The user must start paraview typing the following comm<strong>and</strong>:<br />

paraview<br />

The case can be opened clicking on the file menu, open, <strong>and</strong> selecting the VTK<br />

directory. By clicking on the *.vtk file the case will be opened<br />

The user may load all the time steps by clicking on the timesteps button <strong>and</strong> selecting<br />

the Add all choice on the new window<br />

The use must then open the files contained in the lagrangian directory inside the VTK<br />

folder<br />

Gianluca Montenegro/ <strong>OpenFOAM</strong> <strong>postprocessing</strong> <strong>and</strong> <strong>advanced</strong> <strong>running</strong> <strong>options</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!