Jump to content
pelliaz

Spars solver rest position?

Recommended Posts

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!

 

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

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.

image.thumb.png.d0c0a7c2d62f9058aa26c4432c7e0c06.png

image.thumb.png.23eba5325cc128b53d78bbcbf569226c.png

Edited by garf

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×