|
[Sponsors] |
September 5, 2007, 10:53 |
Yes - you are taking a referen
|
#1 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Yes - you are taking a reference to a temporary, which is wrong - time to look into a C++ book. Try:
vectorField test = UNull.boundaryField()[patchI].snGrad(); Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
September 7, 2007, 09:09 |
Thank you very much!
kind r
|
#2 |
New Member
Stefan Furtlehner
Join Date: Mar 2009
Location: Vienna, Austria
Posts: 7
Rep Power: 17 |
Thank you very much!
kind regards, stefan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Visualisation of components of a vectorField | nico | ParaView | 2 | September 19, 2021 00:42 |