

# get color transfer function/color map for 'p'

RenderView1 = GetActiveViewOrCreate('RenderView')Ī3D_Case20_halfGeom_70_FlR_0_0009631_WaterOpenFOAMDisplay = Show(a3D_Case20_halfGeom_70_FlR_0_0009631_WaterOpenFOAM, renderView1, 'UnstructuredGridRepresentation')
Openfoam paraview update#
# update animation scene based on data timestepsĪnimationScene1.UpdateAnimationUsingDataTimeSteps() # disable automatic camera reset on 'Show'
# import the simple module from the paraview #script to automate the process of calculating volume fraction (also called as void fraction) alpha Paraview python script, creating data using only CLI, saving in csv/excel file #!usr/bin/python
