You can use this type of structure:

object "VAR" class string
 "Mass Density"
 "Gas Pressure"
 "X-Velocity"
 "Y-Velocity"
 "Z-Velocity"
 "X-Bfield"
 "Y-Bfield"
 "Z-Bfield"
 "Energy Loss"

After that you import the variable VAR and use it as input to a selector.
After you use the output of the selector (name) as the input of an import
module (variable). This way you can import one variable at a time.

Jose' Chambel Leitao
|||||||||||||||||||||||||
HIDROMOD, Modelacao em Engenharia, Lda. (http://www.hidromod.pt/)
TAGUSPARK - Nucleo Central, no 349, 2780-920 OEIRAS, PORTUGAL
Tel: (351) 21 421 1373 - Fax: (351) 21 421 1272 - Movel: (351) 91 938 0629
Celular no Brasil: (021) 9101 6669
email: [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Thomas A.
Gardiner
Sent: terca-feira, 1 de Maio de 2001 15:02
To: [email protected]
Subject:


Hi,

I have what I hope will be a simple question.  I have constructed a .dx
file which describes data stored in another file for a MHD simulation
code.  I have a number of objects such as density, pressure, etc. and at
the end of the .dx file collect them into a group.  I'm finding, however,
that the group and size of the simulation are tasking the amount of memory
I have available.  Is it possible to extract the names of the objects in
the .dx file for use in a selector so that I only import one object at a
time and can purge them as necessary?

for example:

object "Mass Density" class field
component "positions" value 1
component "connections" value 2
component "data" value 3

object "Gas Pressure" class field
component "positions" value 1
component "connections" value 2
component "data" value 4

... snip ...

object "Data File" class group
member "Density" value "Mass Density"
member "Pressure" value "Gas Pressure"
member "Vx" value "X-Velocity"
member "Vy" value "Y-Velocity"
member "Vz" value "Z-Velocity"
member "Bx" value "X-Bfield"
member "By" value "Y-Bfield"
member "Bz" value "Z-Bfield"
member "Radiation" value "Energy Loss"


Thanks!

Tom

Reply via email to