pelliaz Posted February 5, 2021 Share Posted February 5, 2021 Hi, I'm trying to export rest attribute from pyro(Sparse) sim, but it looks like Sparse solver doesn't have rest/dual rest anymore. Have anyone tried it? How can I get rest position if I'm using sparse solver? Thanks! Quote Link to comment Share on other sites More sharing options...
bunker Posted February 5, 2021 Share Posted February 5, 2021 Rest isn't in the sparse pyro solver. You'll have to add that yourself. you can copy the nodes from the non-sparse pyro solver if you look inside: /obj/geo/dopnet1/pyrosolver1/smokesolver_build2 there is a compute_rest box, and you'll need the advect_rest node too. You need to create rest/rest2 fields too in the smoke object obviously hope that helps. 1 Quote Link to comment Share on other sites More sharing options...
pelliaz Posted February 6, 2021 Author Share Posted February 6, 2021 Thank you! I will try that. Quote Link to comment Share on other sites More sharing options...
garf Posted December 3, 2021 Share Posted December 3, 2021 (edited) Hi @bunker, Where do you insert the compute_rest netbox stuff? I've tried to copy the legacy pyro as closely as possible by wiring it into the FIRST FRAME and gas substep dops. Wired the advect rest into the ADVECTION merge and created rest and rest2 fields in the pyro object. But not having much luck with it. Edited December 4, 2021 by garf Quote Link to comment Share on other sites More sharing options...
bunker Posted December 17, 2021 Share Posted December 17, 2021 rest2 gets created with the gasrest2 node Seems like you forgot to resize the rest fields? Have a look at the attached file. I hard-coded the "Frames between solve" for simplicity but you can keep the expressions. sparse_rest.hip 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.