|
[Sponsors] |
January 9, 2021, 19:10 |
how transport polynomial is called?
|
#1 |
New Member
jackjiang
Join Date: Feb 2020
Posts: 10
Rep Power: 6 |
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! |
|
|
|
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 |