creating a large system of similar eq... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » creating a large system of similar equations « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this 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!
Top of pagePrevious messageNext messageBottom of page Link to this message

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.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration