FSFW (Simple Fluid Solver Wind) Module †[edit]
- This is a Wind module for OpenSim
- Project Manager is H.Nishimura
- System Constructor is Fumi.Iseki (Fumi.Hax)
- This module uses Simple Fluid Solver program code by Jos Stam
- This module uses AForge.NET for FFT
Theory of Simple Fluid Solver for Wind †[edit]
Theory and Original Source Code †[edit]
DownLoad †[edit]
Binary DLL †[edit]
Source Code †[edit]
Subversion Repository †[edit]
Compile Source Code (Linux) †[edit]
[Download WindModule-x.y.z.tgz] (x, y, z are integer number)
# cp WindModule-x.y.z.tgz [OpenSim directory]/bin
# cd [OpenSim directory]/bin
# zcat WindModule-x.y.z.tgz |tar xfv -
# cd WindModule-x.y.z
# ./build.sh (if you use 0.9.2, execute ./build.sh 0.9.2)
# cp bin/SimpleFluidSolverWind.dll ..
# cp AForge.NET/AForge.Math.dll ..
Install & Settings †[edit]
Download SimpleFluidSolverWind.dll †[edit]
- Download SimpleFluidSolverWind.dll at this page.
- Copy downloaded SimpleFluidSolverWind.dll to OpenSim bin folder or directory.
Download AForge.NET †[edit]
- Please download AForge.NET from AForget.NET Download Page. My recommendation is [ Download Libraries Only ]
- Extract downloaded zip file.
- Copy AForge.Math.dll to OpenSim bin folder or directory (only AForge.Math.dll).
Settings †[edit]
- Please Edit bin/OpenSim.ini
- Sample
[Wind]
;# {enabled} {} {Enable wind module?} {true false} true
;; Enables the wind module.
enabled = true
;# {wind_update_rate} {enabled:true} {Wind update rate in frames?} {} 150
;; How often should wind be updated, as a function of world frames.
;; Approximately 50 frames a second
wind_update_rate = 100
;; The Default Wind Plugin to load
;wind_plugin = SimpleRandomWind
wind_plugin = SimpleFluidSolverWind
..........
[XEngine]
...........
AllowOSFunctions = true
Support Script †[edit]
SFSW_controller.lsl †[edit]
Commands †[edit]
* /6000 force value †[edit]
- Set a kind of the external force
- value
- 0 : Random Wind (default)
- 1 : North Wind
- 2 : East Wind
- 3 : South Wind
- 4 : West Wind
- 5 : Rotational Wind
* /6000 period value †[edit]
- Set period of the external force
- When this Wind module is called times of this value, Wind module restarts.
- If set 0, Wind module never restart by period.
* /6000 strength value †[edit]
- Set Wind strength
- Default is 1.0
* /6000 damping value †[edit]
- Set damping rate of the external force
- Default is 0.85
* /6000 wind_visc value †[edit]
- Set (scaled) viscosity coefficient of the wind
- Default is 0.001
* /6000 wind_eps value †[edit]
- Set lower limit of the energy variation rate.
- When the energy variation rate is under this value, Wind module restarts.
- energy variation rate = (Previous Wind Energy - Current Wind Energy)/(Current Wind Energy)
- If set 0.0, Wind module never restart by energy variation rate.
- Default is 0.004
* /6000 region value †[edit]
- Set size of the region
- Normally, the region is automatically set
* /6000 stop †[edit]
* /6000 reset †[edit]
- Stop the wind and reset script
* /6000 help †[edit]