|
[Sponsors] |
February 14, 2008, 07:26 |
How can I construct a vector o
|
#1 |
New Member
Bassem Girgis
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
How can I construct a vector of arbitrary length? Will it have all the available options like ordinary field<type>, fvMatrix, etc..??
|
|
February 16, 2008, 15:01 |
Your question sounds like you
|
#2 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
Your question sounds like you expect single vector to be a field!
|
|
February 16, 2008, 15:56 |
I want to construct a vector f
|
#3 |
New Member
Bassem Girgis
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
I want to construct a vector filed that is of arbitrary length not just 3.
|
|
February 17, 2008, 01:21 |
Hi,
if the array is not too
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi,
if the array is not too big, you can follow these hints: http://www.cfd-online.com/OpenFOAM_D...tml?1202063931 If you want to store a bigger, or arbitrary (unknown a priori) sized arrays, you need to think to something smarter :-) Regards, Alberto
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vector devide by vector | bhuve | OpenFOAM Running, Solving & CFD | 2 | June 2, 2008 08:14 |
Arbitrary lagrangianeulerian ALE | chegdan | OpenFOAM Running, Solving & CFD | 2 | March 12, 2008 20:29 |
Arbitrary cyclic patch | luca | OpenFOAM Running, Solving & CFD | 5 | December 21, 2006 18:50 |
matching arbitrary meshes | oulebsir redouane | Main CFD Forum | 5 | July 18, 2006 05:06 |
Arbitrary Lagrangian-Eulerian | Cristian Orozco | Main CFD Forum | 1 | June 15, 2001 06:21 |