SGREEN-INPUT(5) File Formats Manual SGREEN-INPUT(5)

sgreen-inputsettings description for sgreen(1)

sgreen-input is the format used by the sgreen(1) program to describe settings when applying a Green function. It relies on a line-based ad-hoc syntax.

A settings file is composed of lines of text, each one describing the settings to apply for a Green function call. Each line contains variable = value pairs in any number (at least one pair for a line to be meaningful). A list of all legit variable names can be found in the Green function summary, as produced by sgreen(1) option -s. Except the name AMBIENT, that refers to the ambient radiative temperature and is always a legit name in settings, the list of names that can be used to form settings is the list of medium and boundary case-sensitive names defined in the stardis-input(5) files used when creating the Green function applied to the settings.

In what follows, text introduced by the sharp character (#) is a comment and is not part of the description. Any physical quantity involved in settings files is expected in the International System of Units (metre, kelvin, Watt).

The file format is as follows:

settings ::= [⟨affectation⟩ ...] [⟨comment⟩]
...
affectation ::= val=value
var ::= description-name.field
| # Ambient radiative temperature
description-name ::= string # No space allowed
field ::= # temperature
| # flux
| # volumic power
value ::= real
comment ::= string

Apply a Green function with AMBIENT radiative temperature set to 0 K:

AMBIENT = 0

First apply a Green function with volumic power in medium "AL" set to 100 W/m^3 and temperature of the "Left" boundary set to 300 K. Then apply it with the same variables set to 120 and 350 respectively. Finally, apply it with the same variables set to 140 and 360 respectively and temperature of the "Right" boundary set to 380 K:

AL.VP=100 Left.T=300
AL.VP=120 Left.T=350
AL.VP=140 Left.T=360 Right.T=380

sgreen(1), stardis-input(5)

April 26, 2024 UNIX