CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Problem of calculating divergence due to wrong boundary vaule of finite area mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lzhou

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 24, 2015, 08:25
Default Problem of calculating divergence due to wrong boundary vaule of finite area mesh
  #1
New Member
 
Lu ZHOU
Join Date: Jul 2014
Location: Lyon, France
Posts: 12
Rep Power: 11
lzhou is on a distinguished road
Hi,

I am using Finite area method to simulate the scour on river bed.

When calculating the divergence of an "areaVectorField" Qsa (fac::div(Qsa)), I found out that the program suppose the Qsa value at the boundary of the finite area mesh is (0 0 0), even though I set the boundary condition of Qsa as zeroGradient in file 0/Qsa. So the divergence calculated is not correct at the boundary of finite area mesh.

I would like to ask how to solve this problem ? Or is there a way to get the label of the face cell at the boundary of the finite area mesh and correct it ? Thanks !

Lu ZHOU
Attached Images
File Type: jpg 1.jpg (15.5 KB, 58 views)
File Type: jpg 2.jpg (13.7 KB, 48 views)
scleakey likes this.
lzhou is offline   Reply With Quote

 


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
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
[ICEM] Problem making structural mesh on a surface froztbear ANSYS Meshing & Geometry 1 November 10, 2011 08:52
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


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