|
[Sponsors] |
July 26, 2011, 23:21 |
Access dimensions of model geometry
|
#1 |
New Member
N/A
Join Date: May 2011
Posts: 14
Rep Power: 15 |
Hi Fluent Gurus,
Is there a way to access (call) dimensions of your geometry, eg. radius of an inlet section, from within the udf? I have searched the entire UDF manual and found nothing. Thanks in advance. Regards, John |
|
July 31, 2011, 22:44 |
|
#2 |
Senior Member
Join Date: Feb 2010
Posts: 164
Rep Power: 17 |
No direct macro to return inlet radius, but you can loop all the node on inlet and calculate the maximum distance between two nodes. This is just the inlet width.
|
|
August 1, 2011, 02:11 |
Thanks...
|
#3 |
New Member
N/A
Join Date: May 2011
Posts: 14
Rep Power: 15 |
Hi Ji,
Thanks for the reply. I went ahead and calculated the radius from the area by adding up the face areas within the inlet face thread (I was performing an area-weighted average of pressure and velocity at the inlet). I initially thought of your idea, but my code is already bogged down with multiple loops and I didn't want to slow it down any further with additional loop and condition statements. Thanks for you input thought, I appreciate it. Cheers, John |
|
Tags |
fluent, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
LES and combustion model | Margherita Cadorin | CFX | 0 | October 29, 2008 06:24 |
Fluent: changing dimensions of a geometry genetaed | Madhukar Rapaka | FLUENT | 3 | October 12, 2005 12:40 |
how to model geometry of plume from chimney in 3D | dave | FLUENT | 1 | July 19, 2005 17:34 |
Advanced Turbulence Modeling in Fluent, Realizable k-epsilon Model | Jonas Larsson | FLUENT | 5 | March 13, 2000 04:27 |