Jump to content

Particle Advection


Recommended Posts

Hi Guys,

I am new here, so excuse any "redundant" questions.

Currently I am trying to advect particles with Smoke velocity. But when I run the Simulation, the particles go zooming way to far and not actually sticking to the smoke like they are supposed to, (Please see picture below). As you can see, a lot of particles are actually behaving with teh smoke but right from the first frame, thousands go zooming out front. Not what I want, obviously.

I am still rather new at all this, so if someone could possibly give me an idea of what I am doing wrong that would be great. The file is now attached.

Look forward to your responses.

Thanks very much!

post-9349-0-49379500-1362321200_thumb.jp

Comet_11_SmokeForAdvection.hipnc

Edited by alloboy
Link to comment
Share on other sites

Can you create a very simple scene with preset like bilowy smoke and advect points by its vel.Bacause you scene give me really strange and unexpected result too.Even if I recreate all from scratch in your scene in still doesn't work right. Lets create a small test in another scene and talk us about results.

Link to comment
Share on other sites

Yes I think you are correct there. Just created a test Billowy smoke and advected, it worked well. But I just put the velocity up for the emitter up to 100, same as the other file and hte particles behaved in teh same way.

I want my smoke to come towards the camera quite fast, so how else can I acheive this efftect, without puttuing the velocity of the smoke so high, in order to advect the particles?

Link to comment
Share on other sites

I've run into this before as well and here's an example file that will fix it: http://forums.odforc...es/#entry102768

It uses gas advect in a dop sim to move points instead. The way it traces the vel field is more accurate than the way the sampling works in sops on a vel field with those large velocities.

Edited by Solitude
Link to comment
Share on other sites

  • 5 months later...

Hi,

I have a similar problem with particles not behaving correctly.

I've attached a very simple scene. The particles get advected, but not entirely correct. I am not sure why it happens.

The particles basically move away from the fluid simulation, instead of staying "inside" and just being affected by it.

I can't figure out what I did wrong or which attribute I missed to change.

If someone can have a quick look at it (I am pretty sure its quick, the scene consists only basic stuff), that would be great!

Thank you,

Chris

advectedParticles_01.hipnc

Link to comment
Share on other sites

Done you a quick one in DOPs in your scene.

There's lot of things you can add on top of this (like curl, dissipation etc), but this is the basic one.

Just copy velocities from your volume to the points, either in a SopSolver in DOPs, or post solve.

Loads of ways to do this, but this is the simplest.

advectedParticles_01_fixed.hipnc

  • Like 1
Link to comment
Share on other sites

Thanks ChristianW,

That works great! I'll look a bit more inside your dopnet node to understand what actually is going on.

I got it working as well, by using shelf-tools (which I actually don't really like) and the only difference I could find to my manual setup and the shelf tool setup is basically the Velocity Volumes input field. In my setup I just assigned the "import_smokefields" node, which apparently is wrong. I thought it would recognize the velocity by itself. While the shelf tool setup uses "/obj/AutoDopNetwork:`arg(dopobjscreatedby("/obj/AutoDopNetwork/pyro1"), 0)`/vel" as Velocity Volumes input. It looks like you have to specify exactly where to get the velocity from. I am not sure though and don't know how to get to such input via the select-options.

I guess the /vel specifies the attribute to look after (in that case, velocity)?

Thanks!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...