Author |
Message |
Igor Bolotnov (boloti)
New member Username: boloti
Post Number: 1 Registered: 12-2007
| Posted on Tuesday, December 18, 2007 - 09:54 pm: | |
Dear Robert, I'm planning to use FlexPDE to model turbulence. I actually work on a model which solves a non-linear system of quite a few PDE's. I want to solve 24 equations (+ 2 flow equations). These 24 equations a very similar in structure. I was wondering if it is possible to define such a system in a REPEAT operator? I was searching help and this forum and did not find a way to define the variables as an array... If this is possible it would make my code more readable and much more "debuggable". Thanks a lot! |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 1033 Registered: 06-2003
| Posted on Wednesday, December 19, 2007 - 12:44 am: | |
The REPEAT facility is handled by the upper-level parser, not by a string preprocessor. This is to allow access to the symbol tables for definition of loop variable names. As a result, the allowable positions for a REPEAT must be individually entered into the script grammar. Unfortunately, we have not implemented REPEAT in the VARIABLES and EQUATIONS sections. Sorry.
|
|