Hi Freddie, That's a very useful feature. It covers the units question, for sure. A new section could contain something along the lines of:
[input-scaling] scaleFactor_length = "..." scalefactor_mass = "..." scalefactor_time = "..." Then a reader could make calculations such as: length(in original unit) = PYFR_length*scaleFactor_length. Regards, Paul. On Tuesday, 2 February 2016 12:17:01 UTC, Freddie Witherden wrote: > > Hi Paul, > > On 02/02/16 12:15, Paul Garlick wrote: > > On the subject of the structure of the .ini file, a related question is; > > is it possible to include variables in the [constants] section that are > > not used in the simulation? > > > > I think in the cylinder case, the variable M (Mach number) is in this > > category--the velocity is used directly. Perhaps this mechanism could > > be used for storing the scale factors, should the user wish. They would > > not be used in the simulation itself but would serve as a record for any > > conversion to or from non-dimensional units that might be needed > > subsequently. > > You can indeed use the constants section to define additional variables. > Or, if you prefer, you can create your own section > > [my-section] > foo = "some text" > bar = "some other text" > > to record anything you wish. > > Regards, Freddie. > > -- You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. Visit this group at https://groups.google.com/group/pyfrmailinglist. For more options, visit https://groups.google.com/d/optout.
