CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   How to process .usr file? (https://www.cfd-online.com/Forums/siemens/52674-how-process-usr-file.html)

Peter liang September 10, 2001 07:36

How to process .usr file?
 
I have got 3 .usr files after individual Fortran Program to calculate the Velocity n' Pressure, etc.

How to use Prostar to do post-processing about these 3 .usr result files?

peter

Philip Jones September 11, 2001 03:44

Re: How to process .usr file?
 
Peter,

you can read in the .usr files with the GETUSER command. This is fairly well documented, the parts you need to be careful on are:
  1. make sure you know if you have cell or vertex data and tell prostar which in the DATATYPE field
  2. Observe the format needed, you need one entry per line which is cell or vertex number followed by the data items. If you are writing it out from Fortran use (I9,6X,6G16.9) as a format statement, if it is from scripts it is often easier to use the free option.

By the way, what are you doing this for, Prostar has a very powerful OPERATE command that does a lot of useful things? Also, if you are starting with data in Prostar, you may find the user1.f subroutine more useful as it allows you to manipulate data within prostar itself without the need to write it down to disk, run an external program and read it back in.


All times are GMT -4. The time now is 11:34.