|
[Sponsors] |
June 20, 2011, 05:32 |
An unknown array definition in fortran
|
#1 |
Senior Member
Morteza
Join Date: May 2010
Location: Iran,Islamic Republic of
Posts: 161
Rep Power: 16 |
Hi all
I have encountered a problem in a cfd code(GENMIX by Splading). In this code, the computational domain is 20*92 ---------------------------------------------- An array is defined in the code as below: F(20,9) ,,,real type It is declared inside code that: F(20,a1)=temperature F(20,a2)=enthalpy . . . F(20,a9)=pressure --------------- It means the second dimension of the array is related to a specific property. but the problem is here: each one of a1,a2,...,a9 parameters refers to a seies of data for 92 point. for example : write(*,*) F(4,a2) prints 92 real numbers for the 4th row of the domain. ========== generally, ai (i=1 to 9) is not a number. it is a 92 numbers. ---- i have learnt , in a two dimensional array, each element refers to a number not to a series of numbers. ================== by the way, if anybody has a tutorial for the GENMIX code please send me if possible or send me a link to download. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] fluent3DMeshToFoam | bego | OpenFOAM Meshing & Mesh Conversion | 31 | August 16, 2023 10:04 |
dsmcInitialise - dsmcFoam | archymedes | OpenFOAM Pre-Processing | 94 | July 15, 2016 17:14 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |