|
[Sponsors] |
September 20, 2005, 06:10 |
accessing UDS face variable
|
#1 |
Guest
Posts: n/a
|
I am trying to access UDS value on faces. The function F_UDSI(c,t,i) proposed by Fluent returns always 0 (as if the value were not kept in memory). Has anybody some experience in using this function?
Thanks in advance. |
|
September 20, 2005, 07:55 |
Re: accessing UDS face variable
|
#2 |
Guest
Posts: n/a
|
Are the face variables available ONLY at exterior boundaries?
|
|
September 20, 2005, 09:37 |
Re: accessing UDS face variable
|
#3 |
Guest
Posts: n/a
|
yes face variables are only available on domain boundaries. For interior cells face values are given by (c0 + c1)/2 where c0 and c1 are the cell values on either side of the face.
|
|
September 20, 2005, 10:27 |
Re: accessing UDS face variable
|
#4 |
Guest
Posts: n/a
|
thanks. This method is certainly not very accurate for unstructured mesh.
I have tried to evaluate the UDSI variable on the face using the gradient C_UDSI_G. But, some face values get out of the range defined by the surrounding cells. Apparently, Fluent does not provide Reconstruction Gradient for UDSI variable. Do you know whether there is a simple method to calculate them ? |
|
September 20, 2005, 11:33 |
Re: accessing UDS face variable
|
#5 |
Guest
Posts: n/a
|
there is no easy way to compute the graident but it is possible. have a look at section 5.2.3 on Cell Grid Definitions in the UDF manual. lots of info on getting gradients and face values on unstructured grids. best of luck!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 05:50 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |