nanoFluidX Auxiliary Tools for ParaView
Read in the post-processing state files and learn material library loading and how to install the nanoFluidX toolbar plugin.
Exporting State Files
- particles.py: This state file uses raw field data
(particles) and may be slow. This state file will be loadable in ParaView
5.9.1.
- Loads OUTPUT/particles.pvd and renames it to case name
- Adds a Threshold filter per FLUID phase and renames them to the phase name
- Adds an SPH Volume Interpolator per FLUID phase and sets spatial steps and resolution to dx and interpolation volume extents to domain size of the case.
- Loads MOTION/motion_movingwalls.cfg UTM file, renames it to MOVINGWALLS and activates Ignore Time
- Adds an Extract Block filter to allow selective visualization of MOVINGWALL phases
- Loads MOTION/motion_walls.cfg UTM file, renames it to WALLS and activates Ignore Time
- Adds an Extract Block filter to allow selective visualization of WALL phases and hides them
- MOTION/*.cfg files load relevant UTM and STL files.
- preview.py and PostJobName.py:
These state files use interpolated field data and are the recommended state
files for most post-processing needs. Thes state files will be loadable in
ParaView 5.9.1.
- Loads interpolated data:
- nanoFluidX: Loads PREVIEW/particles.pvd and renames it to case name
- nFX[c]: Loads PostJobName/AllVars/interpData.pvd and renames it to PostJobName
- Loads MOTION/motion_movingwalls.cfg UTM file, renames it to MOVINGWALLS and activates Ignore Time
- Adds an Extract Block filter to allow selective visualization of MOVINGWALL phases
- Loads MOTION/motion_walls.cfg UTM file, renames it to WALLS and activates Ignore Time
- Adds an Extract Block filter to allow selective visualization of WALL phases and hides them
- MOTION/*.cfg files load relevant UTM and STL files.
- Loads interpolated data:
- phaseinfo_*.py: This state file is intended for quick
reference to phaseinfo files. It plots most frequently used variables and
may be used to follow the progress of a simulation during runtime. Using
this file circumvents the need to import data in Microsoft Excel. Note: All other variables not plotted by default are also accessible from the pipeline. Usable as of ParaView 5.9.0.
- Loads all files under PHASEINFO and renames them to phasename Data
- Adds a Plot Data filter per file and renames them to phasename Plot
- Assigns a color to each variable in all phaseinfo files on a round robin basis. This is intended to reduce the chances of repeating colors on the same variable of different phaseinfo files.
- Assigns a legend name to each variable as columnname phasename to help with distinguishing the lines in plot layouts.
- Adds a spreadsheet layout
- Adds the following layouts and sets the relevant axes titles per
FLUID phaseinfo:
- Fluid CoM: FLUID phase center of mass in X, Y and Z
- Fluid nRho: number of particles satisfying ρ/ρ0>1.1 and ρ/ρ0>1.2 conditions for each FLUID phase
- probeinfo_*.py: This state file is intended for quick
reference to probeinfo files. It plots most frequently used variables and
may be used to follow the progress of a simulation during runtime. Using
this file circumvents the need to import data in Microsoft Excel. Note: All other variables not plotted by default are also accessible from the pipeline. Usable as of ParaView 5.9.0.
- Loads all files under PROBE and renames them to probename_probetype Data
- Adds a Plot Data filter per file and renames them to probename_probetype Plot
- Assigns a color to each variable in all probeinfo files on a round robin basis. This is intended to reduce the chances of repeating colors on the same variable of different probeinfo files.
- Assigns a legend name to each variable as columnname probename_probetype to help with distinguishing the lines in plot layouts.
- Adds a spreadsheet layout
- Adds the following layouts and sets the relevant axes titles per
volume probe:
- Volprobe Pressure: pressure versus time for each volume probe
- Volprobe Density: density versus time for each volume probe
- Adds the following layouts and sets the relevant axes titles per
surface and floowrate probes:
- Srf/flrprobe nPart: number of sampled particles versus time per probe
- Srf/flrprobe Velocity: average velocity of the sampled particles versus time per probe
- Srf/flrprobe Flowrate: total volume flowrate for all phases versus time per probe
- Adds the following layouts and sets the relevant axes titles per
solid probe:
- Sld probe Force: force versus time for each solid probe
- Sld probe Torque: torque versus time for each solid probe sampling a MOVINGWALL phase
Auxiliary Tools
ParaView is a powerful post-processing tool and in its open-end generality, it exposes a large number of tools which exceed typical use of nanoFluidX users. This was clearly a hurdle to a smooth post-processing experience and the nanoFluidX team felt that it needed to be addressed. To that goal, starting with version 2020.1, nanoFluidX install package contains a ParaView Plugin for exposing nanoFluidX post-processing tools.
This Plugin, when enabled, exposes two nanoFluidX-dedicated toolbars and allows for easier post-processing as you no longer need to worry which filters can or should be used, and also conveniently removes the need for filter searching through the drop-down menus.
Starting with the version 5.6, ParaView features Intel OSPRay ray-tracing engine as a part of the default installation. The OSPRay engine in ParaView is conveniently exposed in the filter properties menu. Combined with already powerful and intuitive camera and animation capabilities of ParaView, it is now possible to create high-quality rendered images and videos with tremendous ease.
With ParaView version 5.8, general performance and the OSPRay capabilities have been significantly improved. One example of this is making use of advanced algorithms for denoising so it is now possible to create stunning rendered visuals in under an hour on very modest hardware.
However, one noticeable drawback in the OSPRay application under ParaView is severe lack of material library items which can be assigned to the geometry on screen.
To improve on this issue, nanoFluidX is now shipped with a substantial material library covering various metals, five colors of oil (light, medium, dark, Altair orange and Altair blue) and other colors with matte, glossy or transparent variants. Certainly, it is not on a “dedicated ray-tracing software” level, but it is sufficient for engineering purposes, impressing management, or creating some eye-catching marketing material.