Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - boa7128

Pages: [1]
1
I can not download your attachments, could you please send it to me? jianye_chen@hust.edu.cn. Thx very very much!
You will need to save the data files at regular time intervals, say after every 5 time steps. Now we may at times need to find the "average solution" for the past "n" timesteps from the data files that have already been saved.

The attached User Defined Function (UDF) and Scheme utility will help you to do this.

Example Problem:
The user has iterated the case till timestep no. 200, saving files after every 10 timesteps. Now if the user wants to see the average solution for timesteps 50 to 120 then the attached Scheme utility will load the appropriate data files, call the UDF to find the average of velocity, pressure and turbulence parameters and pass them on to FLUENT. The user will have to save this new averaged data with a new name in order to avoid overwriting the last data.

To use this Scheme utility and UDF, you need to ensure that the data files are saved with appropriate name. A correct naming convention would be "string-x.dat.gz"

std-00020.dat.gz
std-00030.dat.gz
std-00040.dat.gz

Here "std-" is the initial string in the file name, "00x" is the timestep number added as an extension, so that the Scheme utility can recognize the appropriate data file.The usage instructions can be found in the "scm-file.scm" file which you can read using notepad or any text editor.

Pages: [1]