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

how transport polynomial is called?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2021, 19:10
Default how transport polynomial is called?
  #1
New Member
 
jackjiang
Join Date: Feb 2020
Posts: 2
Rep Power: 0
jackjiang1989@gmail.com is on a distinguished road
Hi All,
I'm trying to understand how viscosity is calculated in chtMultiRegionFoam with transport as polynomial.

I saw in the chtMultiRegionFoam - createfluidfield.h, it's using rhoReactionThermo, it's initialized as follows,
thermoFluid.set(i, rhoReactionThermo::New(fluidRegions[i]).ptr())

Then I'm looking into rhoReactionThermo, so it's from
rhoReactionThermo - rhoThermo - fluidThermo - basicThermo

There is a function tmp<volScalarField> mu() defined in fluidThermo
And there is some initial operation defined in basicThermo

But I can't find there is any relationship between "xxxThermo" and "polynomialTransport"
In polynomialTransportl.H, mu() is defined with polynomial function. And one more thing strange is that the return type is a scalar?? instead of a volScalarField?)

Anyone got any idea how/where this polynomialTtransport is used to calculate the viscosity in chtMultiRegionFoam?
I think it should be called like
Foam:olynomialTransport<xxxThermo, somepolynumber> mypolynomialtransport(xxxThermo, mucoeff, kappacoeff)
mypolynomialtransport.mu(p, T)

Thanks!
Attached Images
File Type: png thermophysicalProperties.PNG (66.5 KB, 3 views)
File Type: png createfluidfield.PNG (164.5 KB, 3 views)
jackjiang1989@gmail.com is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: GENERAL CAR CDR - User-Defined-Material-Database EvaKn FLUENT 0 December 21, 2020 09:01
Add piecewise polinomial material property EvaKn FLUENT 0 December 21, 2020 07:03
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 05:37
polynomial BC from 3d vector data map OpenFOAM Programming & Development 0 March 30, 2015 09:48
Degree/size of polynomials for thermo and transport (OF 2.2) markusrehm OpenFOAM Pre-Processing 0 September 12, 2013 05:46


All times are GMT -4. The time now is 19:48.