Jump to content

Pyro initial state density loss


glassman3d

Recommended Posts

Hi all

I am using the pyro tools to generate clouds. I am having a problem with the initial state on the low res pyro object.

I am looking to sim from an initialstate without emiting anymore density into the sim. Ultimatlty i aim to get a whispy cloudiness similar to sirrus clouds

I have cached out a pyro sim to get the initial state that i wanted. I have brought this into a geo node, then I have used VOPs to add a vignette to the density field (purely for asthetic reasons) and then delete sops to seperate each relevant volume primitive or primitives to plug into the relevant initial data slots on the pyro node in DOPS ie density, fuel, temp, and vel.

as soon as i sim, the density falls by 90% between frames 1 and 2 then the density holds at that level throughout the sim. I have even tried scaling up the density by a factor of ten to make up for this loss but the density loss becomes greater. I'm not using combustion in my sim and diffusion is set very low. I am also using the BFECC advection type as i have heard that this is better for holding density.

is there a fundamental step i have missed in my setup somewhere? It would be fantastic if i could prevent or limit this initial density loss - it only happens on the first frame then levels out.

Has anyone had any similar problems? please see attached hipfile for details

thanks in advance

densityLoss_odForce.hip

Link to comment
Share on other sites

Hi,glassman3d,

This problem should suffer from the operation between the density field and sink field inside the pyro solver which actually confine the density field range to be less than or equal to one. so no matter how large it was, it will be modified at the initial stage of pyro solve that is when you jump from frame 1 to frame 2.

So I guess sidefx add scale option to the intial density data of smoke is a weak point to pyro solver.

Hope it helps :P

Cheers

Link to comment
Share on other sites

Hi,glassman3d,

This problem should suffer from the operation between the density field and sink field inside the pyro solver which actually confine the density field range to be less than or equal to one. so no matter how large it was, it will be modified at the initial stage of pyro solve that is when you jump from frame 1 to frame 2.

So I guess sidefx add scale option to the intial density data of smoke is a weak point to pyro solver.

Hope it helps :P

Cheers

Hi ~nature~

thanks! that has saved me days of testing! It does definately seem a bit strange that you can scale density to values over 1 that then get overridden instantly by the sink mask :huh:

Maybe a better scale operation on the pyro density data field would raise the average values yet keep them clamped at 1. any ideas anyone how to acheive this?? I'm gonna have a look now

cheers

Edited by glassman3d
Link to comment
Share on other sites

you can update the apply sink stage with a simple gasfield vop.

density = clamp(density-sink,0,1000) > just to make sure the density values are positive

densityLoss_odForce_2.hip

or disable the sink if you don't need it...

:)

Hi ~nature~

thanks! that has saved me days of testing! It does definately seem a bit strange that you can scale density to values over 1 that then get overridden instantly by the sink mask :huh:

Maybe a better scale operation on the pyro density data field would raise the average values yet keep them clamped at 1. any ideas anyone how to acheive this?? I'm gonna have a look now

cheers

Link to comment
Share on other sites

Again,the houdini11 new "source apply" HDA suffers the same problem, the "emission amount" parameter takes no effect when the value is greater than 1, because the source field can never be greater than 1 in pyro solver, but the density field can be scaled up above 1, the "smoke amount" parameter is the multiplier of source field before it is added to the density field. Hope sidefx can look into it.

Edited by ~nature~
Link to comment
Share on other sites

  • 9 months later...

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...