OpenFLUID.setGeneratorParamsR Documentation

Sets values of generator parameters

Description

Sets values of generator parameters

Usage

OpenFLUID.setGeneratorParams(ofblob, unitclass, varname, paramvals)

Arguments

ofblob

the simulation definition blob

unitclass

the unit class to which the generator is applied

varname

the variable name to which the generator is applied

paramvals

the value of the parameters in a data.frame, with parameters names as columns names

See Also

OpenFLUID.setModelGlobalParams

OpenFLUID.setObserverParams

OpenFLUID.setSimulatorParams

Examples

## Not run: 
OpenFLUID.setGeneratorParams(
  ofsim,
  "SU", "var.flux",
  data.frame("min"=0.0, "max"=1.0)
)

## End(Not run)