|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Jul 2010
Posts: 52
Rep Power: 16 ![]() |
Hi!
In kEpsilon.C, G is defiened as: Code:
volScalarField::Internal G ( this->GName(), nut.v()*(dev(twoSymm(tgradU().v())) && tgradU().v()) ); volScalarField G1= this->nut_*(dev(twoSymm(tgradU())) && tgradU()); Thanks, Mary |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6 ![]() |
I got the same question lately. Did you get an answer for your question?
Regards, |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 ![]() ![]() |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 185
Rep Power: 10 ![]() |
This is what I have understood.
The volScalarField is a typedef of GeometricField<>. So volScalarField contains an internal field a boundaryfield etc. Now, the volScalarField::Internal is the 'type' of the internal field in the volscalarField. It's defined by typedefing of Diemnsionedfield. For volScalarField the 'Internal' translates to: Code:
typedef DiamensionedField<Scalar, volMesh> Internal; Code:
volScalarField::Internal G ( this->GName(), nut.v()*(dev(twoSymm(tgradU().v())) && tgradU().v()) ); Code:
DimensionedField<scalar, volField> G ( this->GName(), nut.v()*(dev(twoSymm(tgradU().v())) && tgradU().v()) ); |
|
![]() |
![]() |
![]() |
Tags |
kepsilon, volscalarfield |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compressible 2D airfoil rhoSimpleFoam fatal error volScalarField none | jfournier | OpenFOAM Running, Solving & CFD | 4 | September 28, 2017 06:28 |
Adding new member function to GidaspowErgunWenYu.C of dragModel | kiang | OpenFOAM Programming & Development | 0 | June 21, 2017 05:23 |
execFlowFunctionObjects - unknown field problem | Toorop | OpenFOAM Post-Processing | 16 | March 14, 2016 03:25 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 22:38 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 06:16 |