public void setViscosity(float viscosity) {
        this.viscosity = viscosity;
    }
Sets the viscosity of the simulated fluid.

@param viscosity
                     the viscosity of the fluid
jme3-terrain/src/main/java/com/jme3/terrain/heightmap/FluidSimHeightMap.java