1

Previous: Mesh refinement using refineMesh Up: Test case modification Next: Watching phase volumes in

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

43 Watching phase volumes in the domain

  • For interFoam solvers is useful to watch fraction of phases volumes

     

  • Liquid phase volume fraction is part of solver output

     

  • Write small gnuplot script showing Liquid phase volume fraction during computation

     

  • Create file named volumePhaseFraction:

     

 

# Gnuplot script file for plotting data from file "log"
set title "Convergence process"
set xlabel "Iterations"
set ylabel "Liquid phase volume fraction"
set grid
plot '< cat log | grep "Phase-1" | cut -d " " -f5 ' with lines title 'Liquid phase volume fraction'
pause mouse
reread
  • Run gnuplot with volumePhaseFraction file on log-file named log:

    # gnuplot volumePhaseFraction

volumePhaseFraction

Figure: Water fraction in domain