|
[Sponsors] |
get value of surfaceScalarField by polyMesh face-index on boundaries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 24, 2017, 06:20 |
get value of surfaceScalarField by polyMesh face-index on boundaries
|
#1 |
Member
Join Date: Mar 2015
Posts: 36
Rep Power: 11 |
Dear Foamers,
at the moment I am in trouble with the split of surfaceScalarFields into internalField and BoundaryField. For writing an own pointInterpolation I need to get access to the value of this field on the surrounding faces. To do this I can use the pointFaces-List, where to each mesh point all faces are listed, that are using this point. Code:
forAll (pointFaces[actualPoint], faceI) { InterpolatedField[actualPoint] += weight[pointFaces[actualPoint][faceI]]*faceValue[pointFaces[actualPoint][faceI]] } How can I get this value? My ideas: -Can I look up for a specific face-Index, which boundary contains this face? Then go to this BoundaryField with BoundaryField[faceI - patch.start()] -Is there a "complete" field that list all values of my surfaceScalarField without splitting into internalField and BoundaryField? Thanks for any reply. Regards, K.C. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simulating fire in a tunnel | luca1992 | OpenFOAM | 14 | August 16, 2017 14:50 |
[snappyHexMesh] snappyHexMesh and cyclic boundaries | Ruli | OpenFOAM Meshing & Mesh Conversion | 2 | December 9, 2013 07:51 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
OpenFOAM install on Ubuntu Natty 11.04 | bkubicek | OpenFOAM | 13 | May 26, 2011 06:48 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |