Gas Linear Combination for multiple field pairs

   2393   1   0
User Avatar
Member
1694 posts
Joined: March 2020
Offline
Hi,

I'm working on an asset that interpolates/blends between frames of a pyro sim, using the fields and velocities of the “current” and “next” frame. I'm doing the actual work within a DOP network, where I have two bunch of fields, called <density/heat/…>_current and <density/heat/…>_next.

Now, what I want to do is run a Gas Linear Combination microsolver on these field pairs (see screenshot). The only problem is that I don't just have a density current/next pair, but other fields as well (and using multiple nodes with hardcoded names is not an option).

I looked at the “Gas Each Data” solver which would almost be useful, except that I have to work with field pairs.

I have an ugly last-resort solution in mind that involves python, but I'd be happier if I could achieve this without resorting to trickery

Any ideas are appreciated

cheers,
imre

Attachments:
gaslinearcombination.png (69.1 KB)

Imre Tuske
FX Supervisor | Senior FXTD @ Weta FX

qLib -- Houdini asset library
http://qlab.github.io/qLib/ [qlab.github.io]
https://www.facebook.com/qLibHoudini [www.facebook.com]
User Avatar
Staff
6243 posts
Joined: July 2005
Offline
Maybe a copydata DOP with appropriate dophassubdata() to control copy count and stamp names?
  • Quick Links