|
[Sponsors] |
November 10, 2008, 11:31 |
I used cof(T) (from the progra
|
#1 |
Senior Member
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18 |
I used cof(T) (from the programming guide) where T is volTensorField and I got:
error: 'cof' was not declared in this scope I'm using V1.3. Any idea if such a function was implemented? Thanks. |
|
November 10, 2008, 19:40 |
Hi Maka,
Use Foam::cof(T)
Ma
|
#2 |
Member
M. Mahdi Salehi
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 50
Rep Power: 17 |
Hi Maka,
Use Foam::cof(T) Mahdi |
|
November 11, 2008, 07:36 |
I tried it but I got:
error:
|
#3 |
Senior Member
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18 |
I tried it but I got:
error: 'cof' is not a member of 'Foam' Did such call work for you? Thanks Mahdi. |
|
November 30, 2008, 08:32 |
I did
henrik@machine> egrep
|
#4 |
Senior Member
Henrik Rusche
Join Date: Mar 2009
Location: Wernigerode, Sachsen-Anhalt, Germany
Posts: 281
Rep Power: 18 |
I did
henrik@machine> egrep cof $FOAM_SRC/OpenFOAM/lnInclude/* /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/SymmTensorI.H://- Return the cofactor tensor of a symmetric tensor /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/SymmTensorI.H:inline SymmTensor<cmpt> cofactors(const SymmTensor<cmpt>& st) /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/TensorI.H://- Return the cofactor tensor of a tensor /home/foam/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/TensorI.H:inline Tensor<cmpt> cofactors(const Tensor<cmpt>& t) and would suggest to try cofactor(T), but you already got the asnwer here http://www.cfd-online.com/cgi-bin/Op...126&post=28783 I would be very grateful if everybody could close their threads by posting the answers to save the time of other people. Henrik |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tensor mathematics forAll macro combination tensors with vectors | olesen | OpenFOAM Running, Solving & CFD | 4 | February 25, 2009 06:03 |
tensors cofactors | maka | OpenFOAM Bugs | 5 | November 17, 2008 09:31 |
No matching function multiplying tensors for BC | Erik | OpenFOAM | 3 | March 20, 2008 14:05 |
Surface interpolation scheme with tensors as weighting factors | jutta | OpenFOAM Running, Solving & CFD | 1 | August 27, 2007 12:00 |
Surface interpolation of tensors | andebjor | OpenFOAM Pre-Processing | 2 | August 23, 2007 04:08 |