How to define a global array with length of ncelet?

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Yuan Huang

How to define a global array with length of ncelet?

Post by Yuan Huang »

hi, everyone

How to define a global array with length of ncelet?

thanks very much!

Yuan Huang
Yvan Fournier

Re: How to define a global array with length of ncelet?

Post by Yvan Fournier »

Hello,
For Code_Saturne 2.0 or 2.1 ?
  Yvan
Yuan Huang

Re: How to define a global array with length of ncelet?

Post by Yuan Huang »

For   Code_Saturne 2.0, by the way,  is there a d ocument of i ntroduction of the difference between  Code_Saturne 2.0 and 2.1? thanks! Yuan Huang
Yvan Fournier

Re: How to define a global array with length of ncelet?

Post by Yvan Fournier »

Hello,
For a global array, you need to use the ituser or rtuser global user arrays with Code_Saturne2.0 (search for rtuser in the user documentation, though it is light on details)
With version 2.1, this is replaced by the cs_user_modules.f90 file (which allows defining arrays with your own choice of name).
Regarding changes between versions 2.0 and 2.1, you have the NEWS page linked to through the "announces" section of this Forum, which is very coarse-grained, and the ChangeLog in the code's sources which is very detailed. There is no "intermediate detail" document that I can think of.
Best regards,
  Yvan
Yuan Huang

Re: How to define a global array with length of ncelet?

Post by Yuan Huang »

thanks!
Post Reply