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

Harmonic mean Vs Central Differencing (diffusion term- UDS)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 23, 2014, 03:51
Default Harmonic mean Vs Central Differencing (diffusion term- UDS)
  #1
New Member
 
Jacky
Join Date: Jul 2011
Posts: 24
Rep Power: 15
bharat.cmeri is on a distinguished road
Hi all,

Can someone please suggest me how to use harmonic mean for diffusion coefficient for diffusion term of a UDS equation ? Presently it uses only central differencing scheme for its discretization which uses linear average for calculating face values of diffusion coefficient.

regards,

Bharat
bharat.cmeri is offline   Reply With Quote

Old   September 23, 2014, 15:54
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Are you sure about that? I'm pretty sure Fluent uses an harmonic mean for the diffusion coefficients of the regular equations and would be strange that it does differently for the UDS. Do you have a reference on that?
sbaffini is offline   Reply With Quote

Old   September 30, 2014, 05:19
Default
  #3
New Member
 
Jacky
Join Date: Jul 2011
Posts: 24
Rep Power: 15
bharat.cmeri is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Are you sure about that? I'm pretty sure Fluent uses an harmonic mean for the diffusion coefficients of the regular equations and would be strange that it does differently for the UDS. Do you have a reference on that?

fluent theory guide: look in paragraph on spatial discretization where it says that "the diffusion terms in Equation18.2-2
are central-differenced and are always second-
18.2.2(discretized form of General UDS equation) are central-differenced and are always second order accurate ". ( 12.0 version theory guide)

I am not sure if they uses harmonic mean or not but no where it is written that they do so.... Anyhow I have written to customer portal to know how to implement/use harmonic mean for diffusion coefficients. If you know how to do so please let me know, else I will tell you what they said. Hope you are right....


Bharat
bharat.cmeri is offline   Reply With Quote

Old   October 1, 2014, 17:17
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
They clearly do not refer to the diffusion coefficient when talking about the discretization. It just appears as a numerical value (gamma_f) whose interpolation is not defined (there, at least).

I remember reading a paper from Fluent people talking about the multi-grid method for multi-material stuff, and they mention the harmonic mean. However i cannot find it now. Nonetheless, i would be surprised of anybody using the classical average.

Still, i don't think you have any choice in the selection of the diffusion part.

P.S. Good luck with the Fluent support (you better write yourself the code from scratch)
sbaffini is offline   Reply With Quote

Old   October 10, 2014, 16:38
Default
  #5
New Member
 
Jacky
Join Date: Jul 2011
Posts: 24
Rep Power: 15
bharat.cmeri is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
They clearly do not refer to the diffusion coefficient when talking about the discretization. It just appears as a numerical value (gamma_f) whose interpolation is not defined (there, at least).

I remember reading a paper from Fluent people talking about the multi-grid method for multi-material stuff, and they mention the harmonic mean. However i cannot find it now. Nonetheless, i would be surprised of anybody using the classical average.

Still, i don't think you have any choice in the selection of the diffusion part.

P.S. Good luck with the Fluent support (you better write yourself the code from scratch)
I talked to fluent guy....I dont think they will be able to help me out....If you get to remember anything about the paper you mentioned....like its author etc....then pls share with me.
Anyhow I now know I have to work on OpenFoam only.

if you have any other suggestion please give it to me. Would be helpful to me.
Thanks & Regards,

Bharat
bharat.cmeri is offline   Reply With Quote

Old   October 13, 2014, 19:22
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Dear Bharat,

i have the really bad habit of not renaming any of the paper i download (over 100 Gb right now). Thus, while i'm usually good at this (so that i clearly remember the article), it is not really straightforward to find such paper among the Others, 5+ years later.

What i can be 99.99% sure is that if the paper (as i remember) is from Fluent people, it also surely has at least one of the following authors (in order of probability):

Mathur, Murthy, Choudhury, Makarov, Caraeni, S.-E. Kim

Moreover, i also remember that the topic was about the use/development of the multi-grid for multi-material interfaces. This is all i can remember. There are chances (but i'm really guessing here) that it was an AIAA paper or similar AIAA publication. Second guess would be Numerical Heat Transfer, Part B. Just for the record.

Despite being really astonishing that nobody in the Fluent support was able to tell you "yes (no), we (don't) use the harmonic mean", that's exactly equivalent to my last experience with them (back in 2005).

Good luck with openfoam too
sbaffini is offline   Reply With Quote

Old   October 15, 2014, 00:27
Default
  #7
New Member
 
Jacky
Join Date: Jul 2011
Posts: 24
Rep Power: 15
bharat.cmeri is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
Dear Bharat,

i have the really bad habit of not renaming any of the paper i download (over 100 Gb right now). Thus, while i'm usually good at this (so that i clearly remember the article), it is not really straightforward to find such paper among the Others, 5+ years later.

What i can be 99.99% sure is that if the paper (as i remember) is from Fluent people, it also surely has at least one of the following authors (in order of probability):

Mathur, Murthy, Choudhury, Makarov, Caraeni, S.-E. Kim

Moreover, i also remember that the topic was about the use/development of the multi-grid for multi-material interfaces. This is all i can remember. There are chances (but i'm really guessing here) that it was an AIAA paper or similar AIAA publication. Second guess would be Numerical Heat Transfer, Part B. Just for the record.

Despite being really astonishing that nobody in the Fluent support was able to tell you "yes (no), we (don't) use the harmonic mean", that's exactly equivalent to my last experience with them (back in 2005).

Good luck with openfoam too
Hi,

Thanks for the information.

Regards,

Bharat
bharat.cmeri 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
Problem of SOURCE term gradient in UDS wind Fluent UDF and Scheme Programming 6 December 1, 2022 15:21
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
turbulent diffusion term in transport equation for additional variables Raijin Thunderkeg CFX 2 May 17, 2014 23:53
UDS Diffusion Term Johannes FLUENT 0 April 4, 2007 06:32
Central Differencing Scheme in Fluent alice FLUENT 2 March 21, 2004 08:30


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