|
[Sponsors] |
Difference between 'internalField' and 'boundaryField'? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2014, 00:36 |
|
#21 |
Member
CHARLES
Join Date: May 2013
Posts: 46
Rep Power: 13 |
Thank you very much Armin! You solved my problem!
|
|
September 20, 2016, 07:29 |
Accessing nu and nut vales
|
#22 |
Member
Suman Chakraborty
Join Date: Sep 2014
Location: Mumbai, India
Posts: 42
Rep Power: 12 |
Hi there,
I am currently running a flow over backward facing step (using LES) in OpenFAOM 2.4.0. I want access to the kinematic viscosity. So in a ".H" file which I include in pisoFoam.C, I write the following just to see if I have access to nu (kinematic viscosity) value: Code:
double k_viscosity; const scalarField& nuCells = nu().internalField(); forAll(mesh.cells(), celli) { k_viscosity = nuCells[celli];; Info<< "nu = " << k_viscosity << endl; } I also want to access the nut values calculated by openFoam. Is there a function to access it ? Thanks in advance. |
|
Tags |
boundaryfield, internalfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
boundary conditions for simpleFoam calculation | foam_noob | OpenFOAM Running, Solving & CFD | 8 | July 1, 2015 09:07 |
boundaryField vs. internalField | sebonator | OpenFOAM | 10 | January 24, 2011 17:43 |
solidWallHeatFluxTemperature at the solid solid interface in chtMultiRegionSimpleFoam | maddalena | OpenFOAM Running, Solving & CFD | 43 | January 11, 2011 03:39 |
buoyantSimpleRadiationFoam | msarkar | OpenFOAM | 0 | February 15, 2010 07:22 |
pipe flow with heat transfer | Fabian | OpenFOAM | 2 | December 12, 2009 05:53 |