|
[Sponsors] |
What are the differences between F_AREA and F_AREA_CACHE ? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 23, 2017, 12:34 |
What are the differences between F_AREA and F_AREA_CACHE ?
|
#1 |
Senior Member
Join Date: Jun 2014
Location: Taiwan
Posts: 100
Rep Power: 12 |
Hi~
I found F_AREA in ANSYS Help. It's F_AREA(A,f,t) with A[ND_ND], face_t f, and Thread *t. A is a vector. However, I didn't find F_AREA_CACHE in ANSYS Help. I found it on the internet, but I don't know the differences between F_AREA and F_AREA_CACHE. The example use for F_AREA is as follows: real A[ND_ND], area; real area; F_AREA(A, f, t); area = NV_MAG(A); The example use for F_AREA_CACHE is as follows: area = NV_MAG (F_AREA_CACHE (f, t)); It seems that they are the same? What are the differences? Thank you! |
|
March 24, 2017, 06:53 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
In Fluent 17.1, metric.h contains the following line:
Code:
#define F_AREA(A,f,t)NV_V(A, =, F_AREA_CACHE(f,t)) Code:
F_AREA(A,f,t); area=NV_MAG(A); Code:
NV_V(A, =, F_AREA_CACHE(f,t)); area=NV_MAG(A); Code:
area=NV_MAG(F_AREA_CACHE(f,t)); |
|
|
|