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

Different face normals for internal faces

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 3, 2023, 05:41
Default Different face normals for internal faces
  #1
New Member
 
Join Date: Jul 2021
Posts: 10
Rep Power: 4
Leoma is on a distinguished road
Hello,


I am currently facing the following problem. I have a body with many channels, where air is flowing around/through it. I want to determine the massflow inside the body, hence I made a named selection of the opening of the channels (internal surfaces). Due to the missing symmetry I cannot create a plane in Post. However, I noticed that the massflow was too little and saw that some faces of the named selection had a different face normal vector (1,-1), which resulted into the wrong massflow. I tried the following ways to calculate the massflow:


=areaInt(Density*Velocity u)
=areaInt(Density*Velocity u * step(Normal X))+=areaInt(Density*Velocity u * step(-Normal X))


and a variation where I calculate the Vdot (u*X+v*Y+w*Z) and then again the areaInt.


These calculations are about 3% off from the ideal massflow (which I got from a toycase, where I can just create a plane and calculate the massflow). Can you help me find my error or do you know a way to direct all face normals in a named selection in one direction?


Thanks in advance!
Best,
Leo
Leoma is offline   Reply With Quote

 

Tags
areaintegrate, face normals, massflow


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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 07:56
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[Gmsh] Vertex numbering is dense KateEisenhower OpenFOAM Meshing & Mesh Conversion 7 August 3, 2015 10:49
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


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