Announcement

Collapse
No announcement yet.

spherical force with negative vaule

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • spherical force with negative vaule

    Hi,

    I was trying to create water explosion with PhoenixFD nightly. Since nightly does not support max standard force like gravity, I could only use plainforce or object force. What I need is a force with Omni-direction and negative value that can push my liquid away from the center.

    What I fund:
    1. plainforce is only directional. it's not like 3dsmax wind or gravity having options to switch from directional to spherical
    2. with PHX objectforce, I can not make negative values. The force only can be use for attraction, not repulsion.


    Rgds,



    Chen

  • #2
    I think you can get around this by having an object which you want to repel the liquid from and just flip the normals of that object. Use body force helper then. Will try this my self as be interest to see if it works!
    Adam Trowers

    Comment


    • #3
      without being 100% sure, i suppose the restiction is only in the UI (my bad), try to use the listener to set the desired negative value

      btw, for explosions the usual way is to create animated source
      ______________________________________________
      VRScans developer

      Comment


      • #4
        tks, I will try those methods!

        BTY, here is the screenshot I created with Realflow
        http://2.bp.blogspot.com/-nCgSkNaWus...erBlast_02.jpg

        I only animate the noise force
        http://3.bp.blogspot.com/-pQDD7GJUZu...erBlast_12.jpg

        Comment


        • #5
          Originally posted by Ivaylo Katev View Post
          without being 100% sure, i suppose the restiction is only in the UI (my bad), try to use the listener to set the desired negative value

          btw, for explosions the usual way is to create animated source
          Hi Ivaylo,

          Could you explain a little more about the maxscript listener, how I can use it for this task?

          Comment


          • #6
            You can select the body force and type in the Listener

            $.strength = -100

            The limitation is only in the UI but you can still override it.

            In the next nightly you should be able to use negative values in the UI as well.
            Last edited by georgi.zhekov; 10-05-2016, 06:54 AM.
            Georgi Zhekov
            Phoenix Product Manager
            Chaos

            Comment


            • #7
              I put a circular mesh on the surface of water, with negative value of bodyforce emulating Realflow's crowns daemon , it's working but I can't remove the noise around grid boundaries. Also this setup is very sensitive to grid resolution, any suggestions?

              Click image for larger version

Name:	bodyforce_crown.jpg
Views:	1
Size:	437.2 KB
ID:	862019

              Comment


              • #8
                Seems like the resolution is kind of low, also check if raising the SPF or the scale would help.
                Svetlin Nikolov, Ex Lead Phoenix developer

                Comment


                • #9
                  is the force range adjusted to not affect the liquid away from the sphere?
                  ______________________________________________
                  VRScans developer

                  Comment


                  • #10
                    Originally posted by Ivaylo Katev View Post
                    is the force range adjusted to not affect the liquid away from the sphere?
                    Higher grid resolution seems to weaken the effect of Bodyforce. Yes, the circular mesh has to place on or inside of water, otherwise not affecting the liquid.

                    Comment


                    • #11
                      Here is my setup reference:
                      https://vimeo.com/125644763

                      And this is my goal:
                      https://vimeo.com/157887391

                      https://vimeo.com/79746496

                      Comment

                      Working...
                      X