|
[Sponsors] |
February 22, 2021, 09:22 |
How to properly read mean data / time statistics from Fluent cases with ParaView
|
#21 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7 |
Hi,
now I want to post process Fluent data acquired by data sampling for time statistics with ParaView. When I read the case into Fluent/CFX Post everything is fine. However, using ParaView I have the problem that the Mean and RMS values do not make sense. E.g. The Temperature ranges from 200 to 400K in my simulation. The available cell arrays are e.g. Temperature, Temperature_M1, Temperature_M2, Temperature_Mean, and Temperature_RMS. I think that M1 and M2 are the fields needed for the second order time integration. Those values range from 200 to 400K which is good. Looking at the Temperatur_Mean scalars there are values around 8-9 . The Temperature_RMS has a value of 1000-4000. One would expect a Temperature_mean in the range from 200 to 400K and RMS values of maybe 0-50K. Just from looking at the Mean field it looks like an average field but the values are somehow messed up. Does anyone know how to handle this? |
|
April 30, 2021, 09:24 |
|
#22 |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7 |
I ended up using the ensight-gold format as well.
My summary of what I am doing: I have a script called Journal_Ensight_Script which starts fluent in the shell and reads a journal (.jou) file. In this .jou file there are the command to export the data in ensight-gold format. Afterwards the file is renamed to .case. Note, that all " symbols have to vanish in the .case file so that Paraview has no error: Content of the script: Code:
# run Fluent /home/software/ansys_inc/v201/fluent/bin/fluent 3ddp -g -i Journal_Ensight.jou mv encase_files/encase_format.encas encase_files/encase_format.case Code:
file read-case /home/C12_FS/C12_FS.cas file read-data /home/C12_FS/C12_FS_result-2-20000.dat file/export/ensight-gold /home/C12_FS/encase_files/encase_format mean-x-velocity mean-y-velocity mean-z-velocity rmse-x-velocity rmse-y-velocity rmse-z-velocity mean-temperature rmse-temperature q yes yes exit ok |
|
May 19, 2021, 14:07 |
|
#23 | |
New Member
Hamed
Join Date: Jul 2012
Posts: 16
Rep Power: 13 |
Quote:
|
||
September 17, 2021, 02:57 |
|
#24 | |
Senior Member
Lukas Fischer
Join Date: May 2018
Location: Germany, Munich
Posts: 117
Rep Power: 7 |
Quote:
I have adjusted the script to automatically create the postprocessing folder, run the postprocessing, rename the file extension from .cas to .case and to remove the symbol (") from the case file so that ParaView can work with the file. Code:
mkdir encase_files # run Fluent /home/software/ansys_inc/v211/fluent/bin/fluent 3ddp -g -i Journal_Ensight_UNSTEADY.jou # rename file so that paraview knows the file extension mv encase_files/encase_format.encas encase_files/encase_format.case # delete symbols from encase file which prevent paraview to read the file sed 's/"/ /' encase_files/encase_format.case > encase_files/remove_strings_encase sed 's/"/ /' encase_files/remove_strings_encase > encase_files/encase_format.case |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to open Icem mesh in Ansys Fluent? | emmkell | FLUENT | 27 | February 6, 2018 03:34 |
Fluent to Paraview | Lilly | FLUENT | 2 | September 19, 2012 12:40 |
Fluent 6.3 32bit vs Fluent 12.0 64bit | ibex7 | FLUENT | 7 | April 18, 2011 02:44 |
From FLUENT data to Paraview | bart weisser | FLUENT | 1 | July 16, 2010 04:41 |
Master node in parallel computing only distirubtion | syadgar | FLUENT | 1 | September 8, 2009 16:41 |