Eilmer4 - a Computational Fluid Dynamics code in D

Peter Jacobs peterj at mech.uq.edu.au
Mon Oct 9 12:02:48 UTC 2017


On Saturday, 7 October 2017 at 09:29:42 UTC, user1234 wrote:
> On Friday, 6 October 2017 at 22:16:09 UTC, Peter Jacobs wrote:
>> Eilmer is a simulation code for studying high-speed 
>> compressible flows.  Early versions were written in C and then 
>> C++.  Version 4 is a complete rewrite in D, with Lua for 
>> configuration and run-time scripting.  Code and documentation 
>> may be found at http://cfcfd.mechmining.uq.edu.au/eilmer/
>>
>> [...]
>>
>> Cheers,
>> Peter Jacobs and Rowan Gollan
>
> After reading the pdf i have a question:
>
> Is LUA scripting too complex to be replaced by, let's say, pure 
> D code, following a compile-time interface (i.e a duck type) ? 
> I understand that existing LUA scripts must still be supported 
> but since D is also known for its good speed of compilation 
> perhaps the whole thing could be recompiled from scratch for a 
> particular set of new scripts.

We did consider having the entire application in pure D code, 
however, we find that Lua is an easier configuration language for 
our users, who are mostly non-coders.

Peter J.



More information about the Digitalmars-d-announce mailing list