write_t2d: Write TELEMAC-2D files

Description Usage Arguments Value Note

View source: R/t2d.R

Description

Writes all input files of a TELEMAC-2D project setup.

Usage

1

Arguments

x

An object of class t2d.

Value

Returns input x invisibly.

Note

This function is basically a wrapper around other write_* functions of the telemac package.

The associated file of x$res will replace entry RESULTS FILE in the steering parameters.

If x$wdir does not exist, it will be created.

If x$wdir is a relative path it will be considered relative to the current working directory.

All t2d_* objects will be written to the associated filenames into directory wdir (element of x). In case the associated filenames contain a relative path the files will be written relative to wdir.

Existing files will be silently overwritten!

Parameters BOUNDARY CONDITIONS FILE, GEOMETRY FILE, RESULTS FILE, and TITLE will be adapted to the current setup.


telemac documentation built on Feb. 7, 2022, 5:06 p.m.