CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Multiplying elements of geometricFields (https://www.cfd-online.com/Forums/openfoam/84806-multiplying-elements-geometricfields.html)

sepp February 9, 2011 05:18

Multiplying elements of geometricFields
 
hey
I'm new at openFoam and got some troubles with it.
I got a geometricField GeometricField<Type, fvsPatchField, surfaceMesh>& a , which contains vectors of velocity for all faces. It's no problem to access the vectors by face, but I need to get access to each separate element of these vectors. This doesn't work. I I want to multiply the elements each with a different coefficient and the existing operators don't support things like this. I even tried all things I know, but everytime there's a failure.
Can you help me

thanks
sepp


All times are GMT -4. The time now is 13:57.