|
[Sponsors] |
March 15, 2022, 14:07 |
reference to a velocity component
|
#1 |
New Member
Join Date: Feb 2022
Posts: 25
Rep Power: 4 |
Hello to all,
I would like to know if it is possible to get a reference to a component of the velocity. Code:
volVectorField U ( IOobject ( "U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); Code:
scalarField& Ux = U.component(0) // This does not appear to work |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 21:43 |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 13:32 |
OF211: ThirdParty and /src compiled, but not /applications... | vkrastev | OpenFOAM Installation | 8 | October 18, 2012 15:53 |
error message | cuteapathy | CFX | 14 | March 20, 2012 06:45 |
Windows Installation BugsComments on Petrbs patch | brooksmoses | OpenFOAM Installation | 48 | April 16, 2006 00:20 |