mode=0 means #288
              
                
                  
                  
                    Answered
                  
                  by
                    janbender
                  
              
          
                  
                    
                      BoyuanTang331
                    
                  
                
                  asked this question in
                Q&A
              
            
            
              mode=0 means
            
            #288
          
          
        -
| hi, 
 in this code the initial condition of fluid is defined in fluidBlocks, what is the mode here means, Best, | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            janbender
          
      
      
        Nov 9, 2023 
      
    
    Replies: 1 comment 1 reply
-
| is that represent for the sampling rate, how will this behaviour influence the simulation? denseMode (int): | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Yes, it just defines how the fluid block is sampled. If you have a sparser sampling, then at the beginning of the simulation the block will be compressed a bit until you reach the rest density. So that is the only difference.