|
[Sponsors] |
November 26, 2021, 07:09 |
To declare a field of vector type
|
#1 |
New Member
Mk
Join Date: Sep 2021
Posts: 5
Rep Power: 4 |
I want to create a volvectorfield in the solver. Please find the code belwo, this will be more clear.
I have tried it like this: volvectorfield phi(h, 0 ,0); where 'h' is another scalar field already defined. But this throws an error. Can anyone help me with this? Thanks in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
potential flows, helmholtz decomposition and other stuffs | pigna | Main CFD Forum | 1 | October 26, 2017 08:34 |
Steady simulation does not iterate in Time=1 | agustinvo | OpenFOAM Running, Solving & CFD | 3 | November 19, 2015 04:57 |
[General] How to create an additional vector with {Field 4, Field 5, Field 6} | Bombacar | ParaView | 1 | August 15, 2015 18:05 |
Sgimpi | pere | OpenFOAM | 27 | September 24, 2011 07:57 |
Ld_library_path | scottneh | OpenFOAM | 9 | November 21, 2009 09:15 |