CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

The direction of fixedgradient at boundary patch

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By nwpukaka

Reply
 
LinkBack Thread Tools Display Modes
Old   August 27, 2014, 21:15
Default The direction of fixedgradient at boundary patch
  #1
Member
 
Kan
Join Date: Feb 2014
Location: Australia
Posts: 48
Rep Power: 3
nwpukaka is on a distinguished road
Hi,

Can anybody tell me the direction of fixedgradient at boundary interface, I understand that the normal vector at boundary interface points outward, does that mean the direction of fixedgradient also points outward?

Thank you
Kan
nwpukaka is offline   Reply With Quote

Old   August 28, 2014, 01:53
Default
  #2
Member
 
Kan
Join Date: Feb 2014
Location: Australia
Posts: 48
Rep Power: 3
nwpukaka is on a distinguished road
Quote:
Originally Posted by nwpukaka View Post
Hi,

Can anybody tell me the direction of fixedgradient at boundary interface, I understand that the normal vector at boundary interface points outward, does that mean the direction of fixedgradient also points outward?

Thank you
Kan
To make more clear, I have tried to simulation a simple heat conduction problem, just 2 dimensional, the north boundary is fixed value, while fixedgradient for south boundary.
I thought the definition of fixedgradient should be (T_c-T_i)/(p_c-p_i), subscript c means cell centre, while i for boundary patch, p_c is larger than p_i at south boundary patch, when I set a negative fixedGradient, then I thought I should get T_c < T_i, but what I actually get is T_c > T_i. could the definition of my fixedgradient is wrong, can anyone clarify the definition of fixedgradient?

Thank you
Kan
nwpukaka is offline   Reply With Quote

Old   August 28, 2014, 02:51
Default
  #3
Member
 
Kan
Join Date: Feb 2014
Location: Australia
Posts: 48
Rep Power: 3
nwpukaka is on a distinguished road
Quote:
Originally Posted by nwpukaka View Post
To make more clear, I have tried to simulation a simple heat conduction problem, just 2 dimensional, the north boundary is fixed value, while fixedgradient for south boundary.
I thought the definition of fixedgradient should be (T_c-T_i)/(p_c-p_i), subscript c means cell centre, while i for boundary patch, p_c is larger than p_i at south boundary patch, when I set a negative fixedGradient, then I thought I should get T_c < T_i, but what I actually get is T_c > T_i. could the definition of my fixedgradient is wrong, can anyone clarify the definition of fixedgradient?

Thank you
Kan
I've found the definition of fixedGradient from http://www.foamcfd.org/Nabla/guides/...Guidese11.html
That solved my question
wyldckat likes this.
nwpukaka is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About groovyBC to set distributed fixedGradient values for each cell boundary patch nwpukaka OpenFOAM 6 August 12, 2014 06:34
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Fluent3DMeshToFoam simvun OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 May 14, 2012 05:20
StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 05:38
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


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