When you make your own solver, and you want all/the most of fields to resize.
node = hou.pwd().parent() obj = node.simulation().objects()[0] subDatas = obj.subData().keys() exclude = ["Geometry", "Solver", "Visualization", "Forces", "SourceObject", "collisionindex", "pumpindex", "init"] fieldlist = '' for data in subDatas: if data not in exclude: fieldlist += data + ' ' return fieldlist
If you write above on "Extra resize Fields" on Gas Resize Fluid Dynamic to resize fields created by smoke object,
you get:
collision pump temperature density source fuel vel tempdiv collisionvel burn divergence pressure sourceindex confinement sink heat
タグ
コメントをかく