CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Problem with Minimum Face angle output using Macro

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Lance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2013, 00:23
Default Problem with Minimum Face angle output using Macro
  #1
Member
 
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 74
Rep Power: 16
pavitran is on a distinguished road
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");
pavitran is offline   Reply With Quote

Old   November 15, 2013, 02:29
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
For some reason the macro outputs the degree in [radians] instead of [°].
0.488*180/pi = 27.96°
pavitran likes this.
Lance is offline   Reply With Quote

Old   November 15, 2013, 03:24
Default Thank you
  #3
Member
 
Dynampally Pavitran
Join Date: Mar 2010
Location: India
Posts: 74
Rep Power: 16
pavitran is on a distinguished road
Quote:
Originally Posted by Lance View Post
For some reason the macro outputs the degree in [radians] instead of [°].
0.488*180/pi = 27.96°

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.
pavitran is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
udf problem.. output data comes out to "zero" startup0820 Fluent UDF and Scheme Programming 3 August 15, 2012 23:09
Tide angle problem when meshing Tudor Miron CFX 4 March 22, 2004 17:24


All times are GMT -4. The time now is 13:13.