tyFlow Forum
Particles Export Error - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: Particles Export Error (/thread-3289.html)



Particles Export Error - yamen3d - 09-01-2022

I have problem with export particles, with low number of particles, I've turned of Ram cache and Surface cache but did not compete .. 3ds max closed Application Error message.
I don't know if this is bug or I've made mistake
3ds max 2020
tyFlow 1.009
Pc memory 128 gr


RE: Particles Export Error - tyFlow - 09-01-2022

Can you send the scene please?


RE: Particles Export Error - yamen3d - 09-01-2022

(09-01-2022, 03:57 PM)tyFlow Wrote: Can you send the scene please?
Thank you
I'll send max file but I can't send Phoenix fd Cache its about 60GB
https://drive.google.com/file/d/1zXDmVAvkEm5sqz9Z5OhfAhWtfnP_qBNR/view?usp=sharing


RE: Particles Export Error - tyFlow - 09-01-2022

Can you also post the minidump from the crash? Instructions for finding it are in the sticky post.


RE: Particles Export Error - yamen3d - 09-01-2022

(09-01-2022, 05:14 PM)tyFlow Wrote: Can you also post the minidump from the crash? Instructions for finding it are in the sticky post.

https://drive.google.com/file/d/1GTdQq40avipuS11dWxxt2ZOd9rgC_ax-/view?usp=sharing


RE: Particles Export Error - yamen3d - 09-01-2022

start: MTf: &copyFn
    end: MTf: &copyFn
start: SimulateParticles
    start: calcSimValidity
        end: calcSimValidity
    start: StartSimulation
        start: operators
            end: operators
        end: StartSimulation
    start: StepSimulation
        start: MTf: &clearParticleFlags
            end: MTf: &clearParticleFlags
        start: getLastTimestepData
            start: MTf: &getLastTimestepData
                end: MTf: &getLastTimestepData
            end: getLastTimestepData
        start: operators
            start: Birth Fluid
                start: PreStepSimulation
                    end: PreStepSimulation
                start: update phx object
                    end: update phx object
                start: birth phx particles
                    start: initDiffuseParticles
                        start: MTf: lambda
                            end: MTf: lambda
                        end: initDiffuseParticles
                    start: extractDensityGrid
                        start: MTf: lambda
                            end: MTf: lambda
                        end: extractDensityGrid
                    start: convertDensityToSDF
                        end: convertDensityToSDF
                    start: computeCurvature
                        end: computeCurvature
                    start: computeGradient
                        end: computeGradient
                    start: analyzeSDF
                        start: MTf: lambda
                            end: MTf: lambda
                        start: removeInteriorSamples
                            end: removeInteriorSamples
                        end: analyzeSDF
                    start: extractSDFData
                        start: MTf: lambda
                            end: MTf: lambda
                        end: extractSDFData
                    start: findDiffuseParticleBirthPoints
                        start: MTf: lambda
                            end: MTf: lambda
                        end: findDiffuseParticleBirthPoints
                    start: generateDiffuseParticles
                        start: MTf: lambda
                            end: MTf: lambda
                        start: MTf: &resetParticles
                            end: MTf: &resetParticles
                        start: MTf: lambda
                            end: MTf: lambda
                        end: generateDiffuseParticles
                    end: birth phx particles
                end: Birth Fluid
            start: Fluid Force
                start: PreStepSimulation
                    end: PreStepSimulation
                start: updatePhxObject
                    end: updatePhxObject
                start: MTf: &phxForceParticles


RE: Particles Export Error - tyFlow - 09-02-2022

The issue is related to parsing the PhoenixFD cache, but it's hard to tell if it's memory-related or something else.

When the crash occurs, is your RAM full?


RE: Particles Export Error - yamen3d - 09-02-2022

(09-02-2022, 03:32 AM)tyFlow Wrote: The issue is related to parsing the PhoenixFD cache, but it's hard to tell if it's memory-related or something else.

When the crash occurs, is your RAM full?
I've tried to use Re Simulation in Phoenix fd to simulate Foam,Splash its worked perfect for all frames 
but I'll try to open task manager and record screen or watching when tyFlow Export particles


RE: Particles Export Error - tyFlow - 09-02-2022

Ohhh you’re doing a foam sim.

Yea you’re probably running out of RAM due to the way the Birth Fluid operator caches the surface analysis to speed up calcs for fast setting iterations. Just disable the cache in the Birth Fluid operator.

I hope to improve this in the future.