|
[Sponsors] |
Problem with Minimum Face angle output using Macro |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 15, 2013, 01:23 |
Problem with Minimum Face angle output using Macro
|
#1 |
Member
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 74
Rep Power: 16 |
I am facing a weird problem and unable to understand it. When I try to calculate the Minimum face angle of domain using Function calculator in CFD post GUI, it returns the value.
minVal(Minimum Face Angle)@sp 27.9536 [degree] where domain is "sp" The same, when I am trying to extract through a macro, I defined it as: ! $spminangle = minVal("Minimum Face Angle", "sp"); The output is : 0.488, what could be the problem? Rest of the values extraction works well, like areaAve("Pressure","inflow"); |
|
November 15, 2013, 03:29 |
|
#2 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
For some reason the macro outputs the degree in [radians] instead of [°].
0.488*180/pi = 27.96° |
|
November 15, 2013, 04:24 |
Thank you
|
#3 | |
Member
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 74
Rep Power: 16 |
Quote:
Thank you very much Mr.Lance for your quick reply and keen observation. Frankly speaking I banged my head three times to my computer, because the answer was too obvious. I think I need to increase my frequency of coffee. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
udf problem.. output data comes out to "zero" | startup0820 | Fluent UDF and Scheme Programming | 3 | August 16, 2012 00:09 |
Tide angle problem when meshing | Tudor Miron | CFX | 4 | March 22, 2004 18:24 |