Hello, I want to use an integrated variable as an input for further calculations for CFD postprocessing (FVM method). The steps are described below:
- Create a Slice.
- Apply filter Cell Size to the slice, to obtain individual mesh cell areas and individual velocities.
- Integrate over entire Slice to obtain total area of the slice & average velocitiy through the slice and store it as a callable variable, say Slice_Area, and U_Avg.
- Use the above stored variables in a separate (upstream) calculator applied to Cell Size filter, to calculate this factor:
INDEX = [(U_Avg - “Individual Cell Velocities”)/U_Avg] * [“Individual Cell Areas”/Slice_Area] - Apply Integrate Variable filter to INDEX.
I am considering using Python Calculator or Programmable Filter, but haven’t found good examples of how to go about step 3 in particular. Advice is greatly appreciated, thanks!