Jump to content
TUFLOW FV
Sign in to follow this  
Guest Chris Nielsen

fvc command line syntax

Recommended Posts

Guest Chris Nielsen

What are the general syntax rules for inserting commands into the TUFLOW FV fvc input file?

Share this post


Link to post
Share on other sites
Guest Chris Nielsen

Each command line entry is defined by a descriptor, followed by a “==”, followed by the specified value (or values) for the particular command line. For example, the line "time format == hours" has a descriptor (time format) which is assigned a value of (hours).

 

For command lines that have a series of values to specify, a “,” separator is specified in the syntax. For example, “Timestep Limits == 0.1, 10.0” is a command line that requires specification of two values.

 

 

Some command lines specify an “on or off” switch for a particular parameter. In such cases a “1” means “on” (or TRUE) and a “0” means “off” (or FALSE).

 

When specifying file names in the fvc file it is recommended that relative file paths are specified. This will make the TUFLOW FV simulation files more portable (it’s easier to move an entire folder structure in this way). However, a full path name can also be inserted if preferred (a common example is when output files are written to a separate folder on another disk drive).

 

Strictly speaking, TUFLOW FV inputs are entered as integers (whole numbers), reals (float, or decimal numbers) and characters (text). The command line entries in the following tables adhere to this syntax, although real numbers can be inserted as integers. For example, the default “CFL == 1.0” can also be entered as “CFL==1”.

 

Finally, not all command lines have to be included in an fvc file. A simple model setup often requires only a small list of command lines, while the remaining model parameters etc are either unused or remain as the default value.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...