Closed vcoralic closed 1 year ago
As of d7f7e55e
, CAPE should raise an exception if reference area, reference length, or moment reference point are missing during the writing of triload.<comp>.i
files
Added support for searching namelist in 9534285
. I still recommend putting these quantities in the "Config"
section of the JSON file (you can put a global "RefArea": 5.0
that will apply to all components unless overwritten), but the namelist idea has been added anyway (obviously a FUN3D-only capability).
When the reference length and area are defined in the FUN3D namelist file and not in the
Config
section of the master JSON, line loads fail to generate. The issue seems to be that CAPE simply does not look in the namelist file when it fails to grab those values fromConfig
, and so populates those variables asNone
. This leads to a silent failure mode (which should probably be caught explicitly) that actually suggests the line load generation operation was carried out correctly, e.g.,However, when the user looks in the databook line load directory, it is empty.