Learn R Programming

RandomFields (version 3.0.10)

RMkolmogorov: Identical Model

Description

RMkolmogorov corresponds to a vector-valued random fields with covariance function $$\gamma_{ij}(h) = \|h\|^{2/3}\left(\frac43 \delta_{ij} - \frac13\frac{h_ih_j}{\|h\|^2}\right)$$

Usage

RMkolmogorov(var, scale, Aniso, proj)

Arguments

var,scale,Aniso,proj
optional parameters; same meaning for any RMmodel. If not passed, the above covariance function remains unmodified.

Value

References

The above formula is from eq. (6.32) of section 6.2 in Pope, S.B. (2011) Turbulent Flows. Cambridge: Cambridge University Press.

See Also

RMmodel, RMcurlfree, RMdivfree, RMvector,

Examples

Run this code
RFoptions(seed=0)
x <- y <- seq(-2, 2, len=if (interactive()) 20 else 2)
model <- RMkolmogorov()
simu <- RFsimulate(model, x, y, z=0, grid=TRUE)
plot(simu, select.variables=list(c(1,2)), col=c("red"))
RFoptions(seed=NA)

Run the code above in your browser using DataLab