|
[Sponsors] |
March 6, 2015, 06:13 |
Reading .dat file
|
#1 |
Senior Member
Join Date: Mar 2013
Location: B'lr
Posts: 130
Rep Power: 13 |
Hi,
How the connectivity between cells/nodes in the output ASCII file of fluent.? Is it one after the another or random?. In mesh file, cells/ nodes arranged in random. I needed this solution information for further coding.. Any help would be appreciated. Thanks Shivakumar |
|
March 6, 2015, 16:37 |
|
#2 |
New Member
Jacob
Join Date: Oct 2014
Location: Washington State
Posts: 6
Rep Power: 11 |
I had issues with this when i was looking at data. I had a structured mesh from ICEM. I found the cells/nodes are ordered in accordance with the blocking. Had to create a MatLab code to work with the data properly.
|
|
March 12, 2015, 03:01 |
|
#3 |
Senior Member
Join Date: Mar 2013
Location: B'lr
Posts: 130
Rep Power: 13 |
I am also not understanding the arrangements of cells/nodes in output file. Have you solved your issue?. I am planning to code in C.
Thanks |
|
March 12, 2015, 05:34 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
What data are you trying to record? Alternatively, you could write a UDF to save information to a data file in a format of your choice.
|
|
March 12, 2015, 05:56 |
|
#5 |
Senior Member
Join Date: Mar 2013
Location: B'lr
Posts: 130
Rep Power: 13 |
I need to find out the neighbours of each cell. Later, applying Least square method to calculate gradients
|
|
March 12, 2015, 06:07 |
|
#6 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
You could list the neighbouring cells (with a UDF using F_C0 and F_C1 macros) in a data file and do all of your post processing outside of Fluent. Alternatively, a simpler method would be to evaluate the gradients within Fluent, save them in User-Defined Memory and then export this data to a text file. Here is a thread discussing a method for the neighbouring cells problem.
|
|
March 12, 2015, 09:42 |
|
#7 |
Senior Member
Join Date: Mar 2013
Location: B'lr
Posts: 130
Rep Power: 13 |
Thank you very much.. You're awesome.. I will work on it..
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 10:03 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |