|
[Sponsors] |
October 21, 2012, 17:23 |
elemenst of surface scalerfield
|
#1 |
Member
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14 |
HI FOAMERS
I have a surface scaler field named glS which is equal to surfaceScalarField gLS = fvc::interpolate(gL); wher gL in volscalerfield. The loop for all (celli,gl) can check all the element of gL, is there a similar command to check the elements of surfacesclar field, gLS? TNX for your help! |
|
October 22, 2012, 04:06 |
|
#2 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
Hey,
it works absolutely the same: forAll(mySurfaceScalarField, faceI) forAll(list, i) is just a function wrapping for (Foam::label i=0; i<(list).size(); i++) its defined in UList.H it works for all containers having a .size() function! Best Kathrin |
|
October 24, 2012, 10:30 |
Thanks
|
#3 |
Member
,...
Join Date: Apr 2011
Posts: 92
Rep Power: 14 |
kathrin, thanks for the comment!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] Error : Self intersecting surface mesh, computing intersections & Error : Impossible | velan | OpenFOAM Meshing & Mesh Conversion | 3 | October 22, 2015 12:05 |
import solids | Alessio85 | STAR-CCM+ | 5 | November 11, 2011 14:16 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 13:43 |
Patran Volume Meshing | Deb | CFX | 19 | April 17, 2003 11:56 |
free convection heat transfer from a heated horizontal surface through a liquid to a thin cooled fin | Kaushik | FLUENT | 1 | May 8, 2000 07:47 |