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

The direction of fixedgradient at boundary patch

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nwpukaka

Reply
 
LinkBack Thread Tools Search this Thread 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: 54
Rep Power: 12
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: 54
Rep Power: 12
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: 54
Rep Power: 12
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


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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
[swak4Foam] About groovyBC to set distributed fixedGradient values for each cell boundary patch nwpukaka OpenFOAM Community Contributions 6 August 12, 2014 06:34
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
[Other] StarToFoam error Kart OpenFOAM Meshing & Mesh Conversion 1 February 4, 2010 04:38
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


All times are GMT -4. The time now is 16:18.