Annon Posted March 14, 2012 Share Posted March 14, 2012 Is it possible to do a heat transfer on a FLIP fluid in DOPs without SOPs? Basically I want a small sphere moving through a big sphere, it'll heat it up (just colour at the minute) and then it'll cool down. I've managed to do this with a SOP solver and attribute transfer etc, but they generally slow things down a bit and I'd like to expand my knowledge of DOPs a bit more. I'm thinking it's possible to maybe create a scalar field from the affectorSOP and using something like gasCalculate blend between the two and have it fade off over time etc... I've never done anything with the gas microsolvers though and am finding it a bit hard to work out where to go with it. Any advice on how to approach this out of the SOP solver would be greatly appreciated. Thanks Christian P.s. I've just attached a base scene to give you a better idea of what I'm getting at. It doesn't do anything, but is all setup to work on. heatFLIP_base.hip Quote Link to comment Share on other sites More sharing options...
mawi Posted March 14, 2012 Share Posted March 14, 2012 Dont know how much faster this is then SOP solution, but it works with a GAS-fieldToParticle set to add and then pre-multiply on the destination to get cooling. heatFLIP_base.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Annon Posted March 15, 2012 Author Share Posted March 15, 2012 (edited) Hey mawi, thank you so much for the scene, it's been very helpful today for having a mess around with the gas microsolvers. I hope you don't mind me batting it back with another question... So your setup was working how I wanted and I just had to add a blur to the heat attribute, which I did in SOPSolver. Unfortunately I just had to look up too many points for my liking to get a nice blur. I'm sure it's probably better to do this kinda thing with a scalar field, so I had a go but just couldn't figure out how to get it to work properly. My idea was to have the affector field update another field so I can use gasBlur or gasCalculate to get fading and blurring on the field then move it over to the particles using the gasFieldToParticle node like you showed me. This seems like it'd be much faster than looking up 5k particles per particle to get a nice blur (heat spread). I've included a modified scene with the gist of what I was trying to do (spent hours trying so many different ways, but this seemed like it might be 'nearly' there where as others just failed). It's got a comment in the DOPs with what I'm trying to do. Thanks for the help so far, it's very much appreciated! Christian heatFLIP_feildBlend.hipnc Edited March 15, 2012 by ChristianW 1 Quote Link to comment Share on other sites More sharing options...
mawi Posted March 15, 2012 Share Posted March 15, 2012 (edited) Hey mawi, thank you so much for the scene, it's been very helpful today for having a mess around with the gas microsolvers. I hope you don't mind me batting it back with another question... So your setup was working how I wanted and I just had to add a blur to the heat attribute, which I did in SOPSolver. Unfortunately I just had to look up too many points for my liking to get a nice blur. I'm sure it's probably better to do this kinda thing with a scalar field, so I had a go but just couldn't figure out how to get it to work properly. My idea was to have the affector field update another field so I can use gasBlur or gasCalculate to get fading and blurring on the field then move it over to the particles using the gasFieldToParticle node like you showed me. This seems like it'd be much faster than looking up 5k particles per particle to get a nice blur (heat spread). I've included a modified scene with the gist of what I was trying to do (spent hours trying so many different ways, but this seemed like it might be 'nearly' there where as others just failed). It's got a comment in the DOPs with what I'm trying to do. Thanks for the help so far, it's very much appreciated! Christian You could blur the heat field in SOPs with one of the volume SOPs before bringing it into DOPs. Edited March 15, 2012 by mawi Quote Link to comment Share on other sites More sharing options...
rtarantino Posted March 15, 2012 Share Posted March 15, 2012 Hi, I am not sure your final goal though, What about this?? I attached file. I guess you wanna do something like this don't you?? I didn't put to much stuff not to make things too confused. I hope it helps!! Cheers Quote Link to comment Share on other sites More sharing options...
rtarantino Posted March 15, 2012 Share Posted March 15, 2012 sorry I forgot to click "Attach This File" Here you go. heatFLIP_feildBlend_vel.hipnc Quote Link to comment Share on other sites More sharing options...
rtarantino Posted March 16, 2012 Share Posted March 16, 2012 One thing if you wanna make something like that Vimeo, I did not test but I think that You can use other field which can be just blured of your heat field but inverted one to blur vel field. Sorry for not testing this so may not work though.... Cheers 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.