The simHollow() function is used to simulate the movement of the mould during production of hollow figures

Function

Below the sintax of the function simHollow():

simHollow(g=matrix(c(0,-1,0), ncol=1), rpm1=1, rpm2=6, rpm3=0, sim=120, step=1, seq = F, d3=T){

where:

g       :   define gravity vector
rpm1    :   asse x - 0= no rotazione >0 rotazione oraria <0 rotazione antioraria              1
rpm2    :   asse z - 0= no rotazione >0 rotazione oraria <0 rotazione antioraria              6
rpm3    :   asse y - 0= no rotazione >0 rotazione oraria <0 rotazione antioraria              0
sim     :   integer, total simulation time in minutes                                       120
step    :   integer, simulation step in minutes                                               2
seq     :   boolean, if True plot 'sequential' graph if False plot 'stellar' graph            F
d3      :   boolean, if True plot 3d graph if False plot 2d graph                             T

3D Movements

As you could see below:

knitr::include_graphics("disegno_stampo.png")

Examples

In the following graph we could compare the melting point of three differnt chocolate:

library(tecTools)
simHollow()
simHollow(d3=F, seq=T)
simHollow(d3=F, seq=F)

Reference

The function simHollow() is based on the following article/video ^[available in internet]:

https://en.wikipedia.org/wiki/Rotation_matrix

https://www.youtube.com/watch?v=kjBOesZCoqc&list=PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab



dan2cil/tecTools documentation built on Dec. 19, 2021, 8:04 p.m.