|
[Sponsors] |
Could Fluent initialize flow from time-average field data? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 25, 2016, 23:21 |
Could Fluent initialize flow from time-average field data?
|
#1 |
New Member
Howard Zhang
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
Hi all,
Could Fluent initialize flow from time-average field data and how? Thanks |
|
February 9, 2017, 11:05 |
|
#2 |
New Member
Howard Zhang
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
no one help me?
|
|
February 10, 2017, 05:31 |
|
#3 |
Member
Join Date: Jun 2016
Posts: 66
Rep Power: 11 |
You can initialize a case with any data if you have them in an appropriate format. If you want someone to give you a more specific answer, you should mention whether you already have the time-averaged data and if yes, how you obtained them and thus in which format they are.
|
|
February 10, 2017, 06:38 |
|
#4 |
New Member
Howard Zhang
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
Thanks for your reply! I have gotten the time-averaged data using the utility of Fluent (Run Calculation => Data Sampling for Time Statistics). I would like to know how can I initialize flow from this time-averaged data?
|
|
February 10, 2017, 07:35 |
|
#5 |
Member
Join Date: Jun 2016
Posts: 66
Rep Power: 11 |
Ok, I do not have a great answer since I never did this so I will just give you ideas that just pop out in my head.
You may try to open the .dat file in a text editor and locate the time-averaged data. These use to replace the instantaneous data. If you do not have any time-averaged data in the .dat file, you should go to File->Export->Solution Data... and choose the quantities you want to export in the .dat file. Alternatively, you may get to the time-averaged data through a UDF (check Time-Sampled Data chapter) and save them in the memory. It will require some time from you to understand how the .dat file is arranged. Important - when exporting the .dat file, uncheck the Binary option so the data is written in ASCII and you are able to open and modify it in a text editor. I know that this looks like a cumbersome solution. Maybe someone can come up with something smoother. |
|
February 14, 2017, 22:08 |
|
#6 |
New Member
Howard Zhang
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
Thanks again, it sounds really tedious. I am looking for a post-processing software which can import and export Fluent data. Do you have any idea?
|
|
February 15, 2017, 00:09 |
|
#7 | |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
Quote:
It requires a few steps, a little tedious but not that bad. The problem is the time-averaged data are stored in new variables, whereas the raw variables are the instantaneous quantities. Unfortunately you cannot set the instantaneous quantities equal to the time-averaged ones directly and need a workaround. Fluent does not let you patch using the time-averaged fields, but it does let you patch using a custom field function. What you need to do is define a bunch of custom field function. Make a field function for each of the time-averaged variables you need. These are just dummy functions so you can call them whatever, but define these field functions as equal the time-averaged variables that you get from your data sampling. I.e. a dummy x-velocity that will be equal to the mean x-velocity. Now after you have done this for all the variables, you can now go the initialization pane and use the patch command. You can patch custom field functions onto the instantaneous variables. So patch (or overwrite) the x-velocity using the dummy x-velocity field. For other software. Tecplot is great if you have access to it. But using the method I wrote above is much better because Fluent doesn't do any interpolation. |
||
February 15, 2017, 05:10 |
|
#8 |
New Member
Howard Zhang
Join Date: Oct 2014
Posts: 12
Rep Power: 12 |
It works! Thank you, LuckyTran!
|
|
Tags |
initialize flow, time-average field dat |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 08:31 |
[Other] dynamicTopoFVMesh and pointDisplacement | RandomUser | OpenFOAM Meshing & Mesh Conversion | 6 | April 26, 2018 08:30 |
Time Averaged Data (for flow field) TECPLOT | biancab | Tecplot | 6 | November 30, 2016 13:01 |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 14:52 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |