sebkaine Posted February 17, 2016 Author Share Posted February 17, 2016 (edited) Thanks again for your help Paul ! But after watching the test , i am not that convinced by the technic. Of course when you have Jerry Tessendorf at Home that cook this with love for you , i'm sure it's impressive ... But the test post , has this fume fx aspect , kinda too swirly that feel unatural to me , sur it looks nice , but like marty say going higher in res should give you better outpout. I'm quite sure you can get stellar outpout if you really understand pyro. But like always with fluid solver , it takes lot of time and trials ... I already have a lot to do with all those damn gaz solver ... Edited February 17, 2016 by sebkaine Quote Link to comment Share on other sites More sharing options...
paulh Posted February 17, 2016 Share Posted February 17, 2016 Yes, just pushing the solver resolution often seems to be the best bet. What Jerry says in his post about using advection in a fraction of a step, rather than across multiple steps, to give the sim an extra bit of smoothness makes a lot of sense. Use it as a bit of extra seasoning, not as your main ingredient. Quote Link to comment Share on other sites More sharing options...
bunker Posted February 18, 2016 Share Posted February 18, 2016 something like this? left:lowres right:upres 2 Quote Link to comment Share on other sites More sharing options...
sebkaine Posted February 18, 2016 Author Share Posted February 18, 2016 Exactly Julien ! you are very close but still not enough detail. a - Did you push your container res ? or b - Do you use a post - process op like gridless advection ? in case b i would be happy to see a little playblast , cause those post process tricks often introduce some weird stuff in the sims ? Cheers E Quote Link to comment Share on other sites More sharing options...
bunker Posted February 18, 2016 Share Posted February 18, 2016 It's pretty much just a standard upres. In the upres sim, I multiplied the density field's divsize by 0.4 so there is even less detail loss from advection. This is quick to sim, so I could push the res a lot more. I didn't take any time to add diffusion since it's very tricky, but I boosted the low density values in post, that helps keep the very thin density. lowres divsize: 0.1 upres divsize: 0.025 upres density field divsize : 0.01 bunker_upres.mov 1 Quote Link to comment Share on other sites More sharing options...
bunker Posted February 18, 2016 Share Posted February 18, 2016 I pushed the res a bit more: lowres: 0.07 , upres: 0.0175, upres density: 0.007 and it looks sharper when rendered. sim 10mins for 60 frames on 40 cores HP Z840, max ram 54GB (in interactive mode, not batch)Upres is definately a good option I think, the lowres sim runs almost real time so you can get quick feedback. Quote Link to comment Share on other sites More sharing options...
sebkaine Posted February 18, 2016 Author Share Posted February 18, 2016 (edited) That looks really better Julien ! would it be possible to share a simple hip that describe how you do your up-rez ? To be sure i get things correctly when you are saying "upres" you mean by that, the process to add detail to a low-res sim with a post treatment noise advected on this low res-sim, like the wavelet - turbulence process ? So basically this ? http://www.sidefx.com/docs/houdini15.0/nodes/dop/gasupres Thanks again for your help ! ps : i would be curious to see a blast of the last sims to see how it handle collision. cause you're img is very close to my goal , i'm just afraid that the fluid doesn't look to slide on the pyramide. Edited February 18, 2016 by sebkaine Quote Link to comment Share on other sites More sharing options...
bunker Posted February 18, 2016 Share Posted February 18, 2016 (edited) gasupres DOP yes, you can even get it from the shelf tools. I use curl as a mask for noise, the default is constant for some reason but that won't get you anywhere...You have to make sure the "curl" values are re-mapped (ramp) on the edges of the smoke, just turn on the visualization tab. The collisions are only as good as your lowres sim so if the smoke doesn't slide perfectly, you can control the velocity near the collision boundaries. you get a nice SDF field for free: f@collision, the values are inverted though, negative values outside. I used it to add extra disturbance near the collision. Also there is no need for temperature. I'll try to render and create a HIP if I have time tomorrow. Edited February 18, 2016 by bunker 2 Quote Link to comment Share on other sites More sharing options...
Atom Posted February 18, 2016 Share Posted February 18, 2016 Can anyone provide an example file using the Gas UpRes node? The help card is incredibly long but there is no example file provided by SideFX. Quote Link to comment Share on other sites More sharing options...
Popular Post bunker Posted February 18, 2016 Popular Post Share Posted February 18, 2016 I created a basic upres example. simple_upres_bunker.hipnc 13 Quote Link to comment Share on other sites More sharing options...
sebkaine Posted February 18, 2016 Author Share Posted February 18, 2016 Thanks a lot for your advise Julien ! You really look to have give some loves to the Pyro solver ... Very informative ! and i really like this idea of paying the "paté" price and get "foie gras" instead ! Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted February 18, 2016 Share Posted February 18, 2016 The update sidefx did to the help style seems to have vanished a lot of the examples. There is an upres example that can be found in $HFS/houdini/help/examples/nodes/dop/gasupres/ Quote Link to comment Share on other sites More sharing options...
Atom Posted February 18, 2016 Share Posted February 18, 2016 Thanks for the example file, that helps a lot. Quote Link to comment Share on other sites More sharing options...
bunker Posted February 19, 2016 Share Posted February 19, 2016 @sebkaine check out the render. I must have got my memory numbers really wrong last time, I disabled a few things in DOPs (caching turned off, no rest, no temperature, ...) and ran the sim with Hbatch. 60 frames sim in 10 mins 20s, including the lowres, max RAM 5.2GB. Have fun with your sim! bunker_upres2.mov 2 Quote Link to comment Share on other sites More sharing options...
Juraj Posted February 20, 2016 Share Posted February 20, 2016 Hi, thanks for great example. How would you simply describe how upresing works? The only thing that is needed from low res sim is vel field and source. Is it basically advecting higher resoultion source density with low res vel field? And adding turbulence to upsampled vel field to introduce smaller detail. (with high frequency so that overall shape is the same). Does this step even need non divergent projection? (vel field from low res sim should be divergence free, but new vel with turbulence may not be divergence free) So if I understood it right then it is the most efficient way of doing simulations? Because the most computation heavy tasks are non divergence projection and advection. And if divergence projection is computed on low res sim then it is quite optimized workflow. Juraj 1 1 Quote Link to comment Share on other sites More sharing options...
bunker Posted February 21, 2016 Share Posted February 21, 2016 (edited) @Juraj you’re correct, the lowres velocity is up-sampled, curl noise is added to it so it’s still divergence free, density is sourced into a hires field and advected using the hires vel - the projection is done in the lowres sim. It’s a much more efficient way of working but it requires a good looking lowers sim first of course. You’ll also need a lowers density field for the upses to work if you’re using density to remap the turbulence. I would recommend creating you’re own upres solver or at least tweaking the default one, that way you’re not limited to one frequency of curl noise and you can add disturbance (random noise per voxel) and get even finer details, it's not divergence free but the amount is negligible. Edited August 24, 2018 by bunker 5 1 Quote Link to comment Share on other sites More sharing options...
cwalrus Posted March 17, 2016 Share Posted March 17, 2016 On this topic - what is the difference between using "Make Collide" and using "Static Object" for a pyro sim? Quote Link to comment Share on other sites More sharing options...
m-egger Posted August 22, 2018 Share Posted August 22, 2018 I really have to bump this thread - I found this particular example of the up-res-setup to be one I will be using in any pyro I do from now on I think. I think it's amazing! Thanks so much Julien! Also played around with comparing it to a sim that is the same size as the up-res initially. The up-res-method has a speed gain of about 30% from my test. The file is attached! That's the compare after 100 frames. Geo 2 is the sim that is high-res initially. Cheers, Martin simple_upres_bunker_comparison.hipnc 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.