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

Right way to compute boundary diffusion term

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2014, 06:46
Default Right way to compute boundary diffusion term
  #1
bou
New Member
 
bou
Join Date: May 2014
Posts: 10
Rep Power: 12
bou is on a distinguished road
Dear,

I am looking for a way to compute diffusion term (see Jasak PHD, 3.59 section 3.3.3.1) through a boundary. I have read in other posts that I should use snGrad(T) method instead of simple grad(T) method at the boundary. Indeed, I only managed to use grad(T) and the results seem not to be good.

The problem is that snGrad method cannot be applied to a patchField that results from the method boundaryField()[patchID]...

Actually I am not sure to understand the type of object returned by snGrad method, it seems not to be a vectorField and this is what I would need to compute the diffusion term through the boundary.

I found this that could be related to my problem but I did not manage to make it work: http://www.cfd-online.com/Forums/ope...tions-how.html.

Can you please help me with this?

Best regards,

Bou
bou is offline   Reply With Quote

Old   May 29, 2014, 09:48
Default
  #2
Member
 
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 13
Thamali is on a distinguished road
refer following presentation.think it might help you.
http://powerlab.fsb.hr/ped/kturbo/Op...niteVolume.pdf
Thamali is offline   Reply With Quote

Old   May 29, 2014, 12:21
Default Right way to compute boundary diffusion term
  #3
bou
New Member
 
bou
Join Date: May 2014
Posts: 10
Rep Power: 12
bou is on a distinguished road
Thank you for your reply and the provided presentation.

Unfortunately, it seems there is not so much practical details about the way to proceed using the C++ code. I think that trying to reconstruct the gradient value from fundamental notions is not a good idea. It must exist a way to that using predefined methods.

Thank you anyway,

Bou
bou 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
outflow boundary in a steady state 1D convection diffusion eq. hans-186 Main CFD Forum 2 October 14, 2012 18:39
New topic on same subject - Flow around race car Tudor Miron CFX 15 April 2, 2004 07:18
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23


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