|
[Sponsors] |
Error with the calculation of boundary cell face area magnitude in axisymmetric solve |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 22, 2021, 07:50 |
Error with the calculation of boundary cell face area magnitude in axisymmetric solve
|
#1 |
New Member
Join Date: Jan 2021
Posts: 14
Rep Power: 5 |
Dear colleagues and seniors, Good Day. It is my first post about a very simple error, which i recently encountered during my udf modelling.
I am currently solving a 2D axisymmetric model with hemispherical (quater Circle) boundary at which i want to calculate the magnitude of face area by using the following Macros: F_AREA(A,f,t); Area=NV_MAG(A); However, the area magnitude does not agree to the grid, which i have manually designed using fixed divisions at boundary. However, when i changed my solver setting from axisymmetric space to 2D Planer, the problem is solved and i can get the required area magnitude corresponding to my grid design. So problem is with the axisymmetric consideration. I further dig out the UDF manual and found the following solution: "For axisymmetric models in ANSYS FLUENT are made on a 1 radian basis. Therefore, when you are utilizing certain data access macros (e.g., F AREA or F FLUX) for axisymmetric flows, your UDF will need to multiply the result by 2*PI (utilizing the macro M PI) to get the desired value." You can also find in the picture from CFD post, for axisymmetric solver, there is a non uniform thickness slice considered. I modify it as: Area = NV_MAG(A)*2.0*M_PI; However, following this does not make any change to my results and only solution seems to solve the problem in Planer space, which i do not want. Please give me some handy solution to solve this problem, while using axisymmetric solver setting. I am indebted to you for reviewing my error. Danny Last edited by Danny_cfd; January 22, 2021 at 08:29. Reason: Adding pic |
|
April 15, 2021, 08:37 |
|
#2 |
Member
Join Date: Nov 2017
Posts: 54
Rep Power: 9 |
hello Danny
I Have a same problem. I couldn't calculate the area of a boundary in my axisymmetric model. when i changed the model to planar, fluent accurately calculate the area. can I ask you to help me for this problem? |
|
April 15, 2021, 11:01 |
|
#3 | |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Quote:
__________________
"The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform" is NOT the error after compiling. It is the error after loading. To see compiler errors, look at your screen after you click "build". |
||
May 11, 2021, 04:10 |
|
#4 | |
Member
xingangzheng
Join Date: Jul 2009
Posts: 40
Rep Power: 17 |
Your modification for the axisymmetric problems are right. It's likely that you are using this area to calculate the mass flow through certain face. The problem may be in programming it.
Quote:
|
||
Tags |
face area magnitude |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? | Sorabh | OpenFOAM Meshing & Mesh Conversion | 1 | August 3, 2021 07:35 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |