|
[Sponsors] |
temperature data of symetry plane (symetric BC) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 28, 2018, 07:36 |
temperature data of symetry plane (symetric BC)
|
#1 |
New Member
christoph irrenfried
Join Date: Feb 2014
Posts: 8
Rep Power: 12 |
Hi,
I would like to write the temperature distribution of the symetric plane used for the symetric boundary condition to a file. Fluent employes the boundary condition as volume. My UDF looks like this: Code:
d = Get_Domain(1); t = Lookup_Thread(d, 145); size=THREAD_N_ELEMENTS_INT(t); array = (real *)malloc(4* size * sizeof(real)); begin_c_loop_int(c, t) { C_CENTROID(position, c, t); vol = C_VOLUME(c,t); temp = C_T(c, t); x = position[0]; y = position[1]; z = position[2]; array[c]= x; array[c+size]= y; array[c+size*2]= z; /* array[c+size*3]= temp; */ } end_c_loop_int(c, t) Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] How to get the coordinates of velocity data at all cells and at all times | vidyadhar | ParaView | 9 | May 20, 2020 20:06 |
Sampling data over a plane | harsha_kulkarni | OpenFOAM Post-Processing | 0 | March 11, 2017 22:32 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
chtMultiRegionFoam - exchange data between flow field and temperature | phsieh2005 | OpenFOAM Running, Solving & CFD | 0 | February 7, 2012 09:16 |