Physics-Based Algorithm To Simulate Tree Dynamics Under Wind Load 1
Physics-Based Algorithm To Simulate Tree Dynamics Under Wind Load 1
Abstract: Rapid development in the different computer science fields during the recent decades has facilitated the creation of
new applications in the area of dynamic simulation of plant development. Among these new applications, simulation of trees
swaying in the wind is of great importance, as those computer graphics related areas, e.g., computer games, tree cultivation and
forest management simulations, help a lot in revealing the mechanisms of tree dynamics under wind load. However, it is a big
challenge to balance the effect of visualization in real time and calculation efficiency for any simulation algorithm. A
physics-based algorithm to simulate tree dynamics under wind load was proposed in this study. A mechanistic model
simulating the bending of a cantilever beam was used within the algorithm to simulate deformation of stems, and the algorithm
was integrated with a landscape model in which different types of trees were constructed with an L-system-based formalism.
Simulation results show that realistic dynamic effects can be achieved with reasonably high computational efficiency.
Keywords: physics-based algorithm, tree model, L-system, Cantilever beam
DOI: 10.25165/j.ijabe.20201302.4967
Citation: Xu L F, Yang Z Z, Ding W L, Buck-Sorlin G. Physics-based algorithm to simulate tree dynamics under wind load.
Int J Agric & Biol Eng, 2020; 13(2): 26–32.
method, the wind field was simulated relatively faithfully, but there A ternary formula can be used to represent the syntax of an
was not enough space for the spring model to move with the rigid L-system[25], as follows:
body, rendering the simulated effect far from elaborated. Akagi et G = < V, ω, P >
al.[15] developed a wind model using the Navier-Stokes equation, where, V is the alphabet; ω is the axiom or start word, i.e. a symbol
and used the “boundary condition map” method to analyze the or string from V+ (the set of all not empty words that can be
occlusion of the foliage. Hu et al.[16] presented an interactive generated with the alphabet) which represents the initial state of the
approach for the modelling and animation of outdoor trees from tree model; P represents the set of growth or production rules of
photographs and videos. The fast Fourier transform was used in trees, as in the following example:
that study to estimate physical parameters of branches and leaves, V : {A, B, C}
which were then applied to a simplified physics-based model to ω:A
generate animations of trees. In the simulation of a large-scale P1 : A BC
scene, Fan et al.[17] used empirical equations from meteorology P2 : B AC
instead of physical equations to accelerate the computing process. P3 : C B
Different kinds of trees could be simulated by changing There are three symbols in the alphabet V. The object A is a
coefficients in the equations. Ancelin et al.[18] introduced a model start word. Three rules (P1, P2 and P3) are defined in this
of wind damage using the Transfer Matrix Method of beams. L-system rule set: A will be replaced by BC, B be replaced by AC,
This model could be used to explore how damage is related to wind and C be replaced by B. The rule set will be applied repeatedly
speed. For the uncertainty about the appropriate exponent and and in parallel to a series of strings (ω – σ1 – σ2 – …– σn), which
reliability of the conventional form, Cullen[19] reported on can be further interpreted with Turtle geometry[26], thereby
modeling of aerodynamic drag equation forms and concluded that rendering a developmental series of a virtual tree.
conventional form could be appropriate for trees. Gaffrey et 2.2.1 Surface modeling
al.[20,21] developed a complete 3D model to simulate the elastic To enhance the realism of the tree model, Bezier surfaces[27]
mechanical behavior of trees under wind and gravity. The stress were used to simulate the trunk surface. The Bezier surface was
and strain distribution at the surface of stem could be estimated defined as:
using this model. Sellier et al.[22] presented a dynamic model to m n
analyze the mechanical response of trees in turbulence. The 3D P(u, v) Pij Bi , m (u ) B j , n (v) u , v [0,1] (1)
i 0 j 0
description of tree architecture was integrated in this finite-element
model. Bi , m (u) Cmi ui (1 u)mi (2)
n j
In this study, we proposed a new physics-based approach for Bj , n (v) C v (1 v)
n
j j
(3)
calculating deformation of trees subject to different ranges of wind where, Pij is the space point range; u and v are the parameters of the
loads. Furthermore, a method to develop a 3D scene within the Bezier surface. Equations (2) and (3) are the Bernstein basis
simulation was introduced, as well as a modeling method for functions. The space grid (also called feature grid) is formed by
different types of trees. The deformation algorithms proposed connecting the two adjacent points in Pij. The matrix of the
were implemented and realized together with the modeling Bezier surface is calculated with Equation (4), as follows:
approach in a landscaping context for validation.
P00 P01 P0 m B0, m (v)
P P P B (v )
2 Materials and methods 1, m
P(u, v) B0, n (u ), B1, n (u ), , Bm, n (u )
10 11 1m
directions for the branches were needed. Three turtle commands, velocity in this direction. The output wind velocity V1 could be
named RU(a1), RH(a2), RL(a3) applying geometry interpretation obtained after calculating the changes of Vn.
based on Turtle geometry[28], were used to accomplish this task.
2.2.3 Branch modeling
The tree model established with L-systems has a modular
structure that is recursively generated from simple structures
according to the growth and development rules of the tree in
question. Taking advantage of this, calculation and realization of
deformation for the branches under wind load can be made with
low cost by an algorithm representing the relationship between a. Quadrangle in the middle of the voxel b. Circle as the cross section of the
wind forces and branch bending. In this algorithm, a single as a projection of a branch segment, on stem within the voxel, with the
which S represents the direction of the arrows representing the wind
branch was divided into multiple segments that were connected
branch segment and N perpendicular to S velocities around the circle
with several joints. Each segment was considered as a rigid body.
Figure 4 Diagram of a voxel with branch segment and wind load
Therefore, the bending of the branches can be obtained by
upon the stem
calculating the deflection angle of the nodes. A schematic
diagram of the branch model is shown in Figure 2. Calculation of Vn can be transformed into calculation of a
cylinder with circular cross-section (Figure 4b). Ideal fluid
around the cylinder is composed of uniform flow and doublet flow.
The complex potentials of the uniform flow and doublet flow (W1
and W2, respectively) could be calculated with Equations (6) and
(7):
W1 Vn r (cos i sin )
M (r r0 ) (6)
W2 (cos i sin )
2 r
Figure 2 Schematic diagram showing the structure of a branch
and its reaction to the wind force in the model. Points refer to M 2 r02Vn (7)
joints connecting different segments, while arrows represent the where, M is the dipole moment, and r represents the distance
wind force, which has an impact on the joint to bend the branch between P(x, y) and the origin O. The radius of the cylinder is r0.
θ is the angle between OP and the X axis. According to the
2.3 Wind
principle of superposition of potential flows, the complex potential
The wind field was simulated as a uniform flow field.
W of a new flow formed by the superposition of uniform flow and
Movement of deformable solid with the effect of fluid loads could
doublet flow could be obtained as follows:
exert an effect on the uniform flow field to change the distribution
of fluid loads. This phenomenon was named fluid-structure W = W1 + W2 (8)
interaction[29]. Interactions between wind load and trees were Then the velocity potential function Φ and the stream function
considered as a similar phenomenon. Thus, a similar approach[30] ψ can be calculated as:
M x
V1 x 2 x y
could be used to simulate the effect on trees from different wind
directions and speeds. Two modules, branch and leaf, were 2 2
(9)
designed in this study, both were considered within the calculation V1 y M y
of interaction between tree modules and wind load. 2 x2 y2
The virtual 3D space was divided into many voxels to calculate The velocity components at position P in the flow field are:
the influence of tree modules on the wind field. Assuming the
entering wind velocity is V, then it would decay to Vi after having Vx x
travelled through i continuous voxels (Figure 3). (10)
V y
y
Vn1 is obtained from Equation (10) and then combined with Vs1 to
get the output wind velocity V1.
2.3.2 Occlusion of leaves
Figure 3 Diagram of squares each represents a voxel. The wind Compared to the rigidity of the branches, the rigidity of leaves
velocity V decays to V1 after having crossed the first voxel. As is low and the variation in the wind is rather complicated. In this
before, V1 decays to V2 after having crossed the second voxel study, a simplified method was used to approximately simulate the
effect of the blade on the wind.
2.3.1 Occlusion of branches
As shown in Figure 5, the two-dimensional projection of the
Only one single branch segment was considered per voxel
blade in the direction of the wind was calculated first; then the
(Figure 4a). The particles of the fluid around a branch, which
input wind velocity V of the voxel interacts with the blade. The
latter was regarded as a cylinder, were disturbed. The input wind
output wind velocity V1 was calculated as follows:
velocity V of this voxel was decomposed into two components (Vs
S S
being parallel to the direction of that branch, Vn perpendicular to V1 1 sin l V k sin l V , 0 k 1 (11)
the direction of that branch). Since Vs was not obstructed by the Sv Sv
branches, the component Vs1 of the output wind velocity in this Sl is the area of the leaf in the voxel in question. Sv represents the
direction would be equal to the component Vs of the input wind projected area of the voxel in the direction of the wind velocity.
March, 2020 Xu L F, et al. Physics-based algorithm to simulate tree dynamics under wind load Vol. 13 No.2 29
[20] Gaffrey D, Kniemeyer O. The elasto-mechanical behaviour of Douglas [27] Hu S, Zuo Z, Sun J. Approximate degree reduction of triangular bezier
fir, its sensitivity to tree-specific properties, wind and snow loads, and surfaces. Tsinghua Science and Technology, 1998; 3(2): 55–58.
implications for stability - a simulation study. Journal of Forest Science, [28] Prusinkiewicz P. Graphical applications of L-systems. Proceedings -
2002; 48(2): 49–69. Graphics Interface, 1986; pp. 247–253.
[21] Gaffrey D, Sloboda B. Modifying the elastomechanics of the stem and [29] Pei J, Yuan S, Yuan J. Fluid-structure coupling effect on periodically
the crown needle mass distribution to affect the diameter increment transient flow of a single-blade sewage centrifugal pump. Journal of
distribution: A field experiment on 20-year old Abies grandis trees. Mechanical Science and Technology, 2013; 27(7): 2015–2023.
Journal of Forest Science, 2004; 50(5): 199–210. [30] Li F. Realistic Simulation of three-dimensional trees swaying in the wind.
[22] Sellier D, Brunet Y, Fourcaud T. A numerical model of tree aerodynamic Computer Science, 2012; 39(11): 254–260.
response to a turbulent airflow. Forestry, 2008; 81(3): 279–297. [31] Concepts R. Wood handbook - wood as an engineering material.
[23] Ping S, Tao Y. Research and realization of modeling method for virtual Agriculture handbook / United States. Dept. of Agriculture (USA). No. 72.
geographic scenes. International Conference on Information Science and 2013, 1.
Engineering, 2011; pp. 2297–2299. [32] Dupont S, Pivato D, Brunet Y. Wind damage propagation in forests.
[24] Kolivand H, Rhalibi A, Sunar M, Saba T. ReVitAge: Realistic virtual Agricultural and Forest Meteorology, 2015; 214-215(3): 243–251.
heritage taking shadows and sky illumination into account. Journal of [33] Kennethr J, Nicholas H, Peterk A. Mechanical stability of trees under
Cultural Heritage, 2018; 32: 166-175. dynamic loads. American Journal of Botany, 2006; 93(10): 1522.
[25] Prusinkiewicz P, Lindenmayer A. The algorithmic beauty of plants. [34] Nikolov N, Massman, W, Schoettle A. Coupling biochemical and
New York: Springer-Verlag, 1990. biophysical processes at the leaf level: an equilibrium photosynthesis
[26] Abelson H, Disessa A. Turtle geometry. MIT Press, Cambridge, model for leaves of C3 plants. Ecological Modelling, 1995; 80(2-3):
Mass.-London, 1980. 205–235.