comsol_exe: Function to execute Comsol Modell with defined parameters

View source: R/comsol_exe.R

comsol_exeR Documentation

Function to execute Comsol Modell with defined parameters

Description

Function to execute Comsol Modell with defined parameters

Usage

comsol_exe(
  modelname,
  input_pars = NULL,
  outfile_new = NULL,
  outfile_raw = "CO2_flux_prod.txt",
  COMSOL_progammpath = COMSOL_progammpfad,
  COMSOL_exepath = COMSOL_exepfad,
  job = "b1",
  overwrite = F
)

Arguments

modelname

name of the Comsol Modell without .mph ending

input_pars

named vector or dataframe where names represent Parameter names as defined in Comsol

outfile_new

name that the COMSOL outputfile is changed to from this function

outfile_raw

name that COMSOL gives the outputfile

COMSOL_progammpath

path to COMSOL project file

COMSOL_exepath

path to comsolbatch.exe

job

name of the job that is defined in the COMSOL project file

overwrite

should existing modellresults be overwritten or not

Examples

comsol_exe(model="Produktionseimer",input_pars=input_pars_9,outfile="CO2_flux_prod_9.txt")

laurin-f/pkg.WWM documentation built on July 19, 2023, 12:04 a.m.