Announcement

Collapse
No announcement yet.

Foam at front edge of ocean simulation

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

  • Foam at front edge of ocean simulation

    I am doing a ship moving through water using motion inertia but getting ripples and foam generated at the front edge of the simulator. Not sure what would cause this. It starts at the very beginning of the simulation, it is a ship moving through water in a straight line.
    Last edited by gummipolarbear; 26-07-2024, 06:52 PM.

  • #2
    I have had the same issue for years. Something to do with particles getting stuck to the grid.

    The work around has been in two parts: 1) open up more distance between the grid and front of the ship, 2) use a particle volume to prevent creation of splash and foam in areas close to the grid and wait until after those unwanted waves have settled down a bit.
    Here is my simulation rig for you and others to play with.
    Please let me know your comments and other ideas.

    Ron Porter
    Mustang, Oklahoma

    Click image for larger version

Name:	image.png
Views:	124
Size:	31.0 KB
ID:	1212949
    Click image for larger version

Name:	image.png
Views:	119
Size:	435.7 KB
ID:	1212950
    Attached Files

    Comment


    • #3
      I've tried increasing the steps per frame under Dynamics and decreasing resolution and that seems to help it a bit but still getting random foam being generated to the sides of the ship. Will be trying your particle volume to see if that solves it.

      Thanks for the input

      Comment


      • #4
        Originally posted by rporter8555 View Post
        I have had the same issue for years. Something to do with particles getting stuck to the grid.

        The work around has been in two parts: 1) open up more distance between the grid and front of the ship, 2) use a particle volume to prevent creation of splash and foam in areas close to the grid and wait until after those unwanted waves have settled down a bit.
        Here is my simulation rig for you and others to play with.
        Please let me know your comments and other ideas.

        Ron Porter
        Mustang, Oklahoma

        Click image for larger version

Name:	image.png
Views:	124
Size:	31.0 KB
ID:	1212949
        Click image for larger version

Name:	image.png
Views:	119
Size:	435.7 KB
ID:	1212950
        Hi Ron,

        What are you doing to create the white caps in the background on the wave?

        Comment


        • #5
          Use the slate material editor to examine the fluid simulator material.
          You will find a PhoenixFDFoamTex used with a VRayDistanceTex.
          I use this to keep the small foam simulations some distance from the ship hull proxy, since they do not look very real when viewed up close, but they do trigger nicely from the PhoenixFDOceanTex.

          Click image for larger version

Name:	image.png
Views:	146
Size:	110.1 KB
ID:	1212961
          Attached Files

          Comment


          • #6
            Comments and suggestions welcome.

            Comment


            • #7
              Originally posted by rporter8555 View Post
              Comments and suggestions welcome.
              Hey Rporter could you save that out as a 2023 file instead of 2025? I would love to take a closer look at that whitecap texture you made. thanks!

              Comment


              • #8
                Hey Brian,
                See if this works for you.
                Ron
                Attached Files

                Comment


                • #9
                  Originally posted by rporter8555 View Post
                  Hey Brian,
                  See if this works for you.
                  Ron
                  Hey, appreciate that! I got it downloaded and looking at it currently

                  Comment


                  • #10
                    Things are starting to look a little better.
                    This is frame 1100.

                    Ron Porter
                    Mustang, Oklahoma
                    Click image for larger version

Name:	image.png
Views:	88
Size:	562.9 KB
ID:	1215654
                    Attached Files

                    Comment


                    • #11
                      More camera angles.
                      Click image for larger version

Name:	StbdSide.1100.jpg
Views:	101
Size:	489.5 KB
ID:	1215717 Click image for larger version

Name:	StbdPassDistant.1100.jpg
Views:	90
Size:	307.6 KB
ID:	1215718 Click image for larger version

Name:	StbdPass.1100.jpg
Views:	92
Size:	813.4 KB
ID:	1215719

                      Comment


                      • #12
                        I have had the same issue ever since I made my first vessel simulation.

                        Nice renderings btw.

                        Comment


                        • #13
                          Many thanks!
                          Ron

                          Comment

                          Working...
                          X