CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

An unknown array definition in fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 20, 2011, 04:32
Default An unknown array definition in fortran
Senior Member
morteza08's Avatar
Join Date: May 2010
Location: Iran,Islamic Republic of
Posts: 161
Rep Power: 9
morteza08 is on a distinguished road
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:
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.
morteza08 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
dsmcInitialise - dsmcFoam archymedes OpenFOAM Pre-Processing 94 July 15, 2016 16:14
fluent3DMeshToFoam bego OpenFOAM 27 May 29, 2013 13:08
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 18:56
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32

All times are GMT -4. The time now is 10:21.