|
[Sponsors] |
March 16, 2005, 12:14 |
Try DB() -> db()
|
#1 |
New Member
Chris Greenshields
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
Try DB() -> db()
|
|
March 16, 2005, 12:16 |
To clarify, I mean:
replace D
|
#2 |
New Member
Chris Greenshields
Join Date: Mar 2009
Posts: 28
Rep Power: 17 |
To clarify, I mean:
replace DB() with db() |
|
March 16, 2005, 12:19 |
Also you might find it useful
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Also you might find it useful to read the ReleaseNotes that are provided with 1.1
|
|
March 17, 2005, 05:00 |
replacing DB with db is not wo
|
#4 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
replacing DB with db is not working, fortunately I got the right corrections from Hrvoje.
Thanks again... I have another question, I have another application that is not working on 1.1 I get the following error message: GradU.C: In function `int main(int, char**)': GradU.C:104: error: 'struct Foam::volTensorField' has no member named 'xy' make: *** [Make/linuxOpt/GradU.o] Error 1 it refers to the line: volTensorField GradU ... GradU.xy() Can somebody help me? Daniele |
|
March 17, 2005, 05:02 |
Try:
gradU.component(tensor
|
#5 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33 |
Try:
gradU.component(tensor::XY) Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
March 17, 2005, 05:07 |
Did you application work in 1.
|
#6 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
Did you application work in 1.0.2? volTensorField has never had a member function xy() so it should fail to compile in all versions of FOAM.
|
|
March 17, 2005, 05:16 |
the modification
gradU.comp
|
#7 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
the modification
gradU.component(tensor::XY) is working, thanks again!! Yes, my application was working well in 1.0.2, I am sure. Daniele |
|
March 17, 2005, 05:19 |
It doesn't make any sense to m
|
#8 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
It doesn't make any sense to me that the .xy() function call for volTensorField would work in 1.1 but not in 1.0.2 given that the function isn't in eitehr version of the code. Do you still have a working installation of 1.0.2? Could you try compiling that piece of code and send me the details?
|
|
March 17, 2005, 05:31 |
I apologize,
I tryed to reco
|
#9 |
Senior Member
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17 |
I apologize,
I tryed to recompile my application in 1.0.2 and it is not working.. Since I used that application to get results before, the only explanation for my mistache could be that I changed the source file in that way without recompiling it. I am very sorry. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Coordinate conversion | Sae woong Kil | CFX | 2 | November 28, 2008 10:32 |
conversion | hari | Main CFD Forum | 0 | December 5, 2007 23:26 |
Conversion 13 14 of dynamicBodyFvMesh | lr103476 | OpenFOAM Running, Solving & CFD | 2 | June 19, 2007 05:38 |
conversion to iges | buildmesher | CFX | 0 | May 6, 2003 17:51 |
tet to hex conversion? | Henry | Main CFD Forum | 10 | June 8, 2001 07:03 |