|
[Sponsors] |
June 17, 2012, 13:58 |
Writing data file for specified variables
|
#1 |
Member
Soroush
Join Date: Mar 2010
Posts: 52
Rep Power: 16 |
Hello friends,
I am doing a transient simulation on a large mesh resulting in large data files. Is there any way to reduce data files size. The only quantities that I need are velocity and pressure, However fluent write many others which are of no use for me and I could not dis-select the default variables in data file quantities window. Please help me. my thesis depends on this simulation an I really can not handle such huge amount of data. Thanks in advance. |
|
June 18, 2012, 13:20 |
|
#2 |
Member
Soroush
Join Date: Mar 2010
Posts: 52
Rep Power: 16 |
Someone told me that there must be a way to write a UDF in order to specify variables to write. Does anyone know how to do this? I want my .dat file be connected to .cas file with less variable.
SO the question is how to write a output file (with UDF maybe) with the same format as the original fluent data file which is connected to the corresponding case file ? Thanks. |
|
June 19, 2012, 03:21 |
|
#3 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Maybe writing an interpolation-file (file/interpolate) will do the trick for you. Test it for a given solution-time and if it works fine (check if your velocity and pressure fields are the same as in the corresponding .dat) use a macro to save an interpolation file at specified intervals during the simulation.
cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
wmake compiling new solver | mksca | OpenFOAM Programming & Development | 14 | June 22, 2018 06:29 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 09:50 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |