CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Sintax conversion from 102 to 11

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By hjasak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2005, 12:14
Default Try DB() -> db()
  #1
New Member
 
Chris Greenshields
Join Date: Mar 2009
Posts: 28
Rep Power: 17
chris is on a distinguished road
Try DB() -> db()
chris is offline   Reply With Quote

Old   March 16, 2005, 12:16
Default To clarify, I mean: replace D
  #2
New Member
 
Chris Greenshields
Join Date: Mar 2009
Posts: 28
Rep Power: 17
chris is on a distinguished road
To clarify, I mean:
replace DB() with db()
chris is offline   Reply With Quote

Old   March 16, 2005, 12:19
Default Also you might find it useful
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
Also you might find it useful to read the ReleaseNotes that are provided with 1.1
henry is offline   Reply With Quote

Old   March 17, 2005, 05:00
Default replacing DB with db is not wo
  #4
Senior Member
 
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17
panara is on a distinguished road
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
panara is offline   Reply With Quote

Old   March 17, 2005, 05:02
Default Try: gradU.component(tensor
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,906
Rep Power: 33
hjasak will become famous soon enough
Try:

gradU.component(tensor::XY)

Hrv
atulkjoy likes this.
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 17, 2005, 05:07
Default Did you application work in 1.
  #6
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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.
henry is offline   Reply With Quote

Old   March 17, 2005, 05:16
Default the modification gradU.comp
  #7
Senior Member
 
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17
panara is on a distinguished road
the modification

gradU.component(tensor::XY)

is working, thanks again!!

Yes, my application was working well in 1.0.2, I am sure.

Daniele
panara is offline   Reply With Quote

Old   March 17, 2005, 05:19
Default It doesn't make any sense to m
  #8
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 22
henry is on a distinguished road
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?
henry is offline   Reply With Quote

Old   March 17, 2005, 05:31
Default I apologize, I tryed to reco
  #9
Senior Member
 
Daniele Panara
Join Date: Mar 2009
Posts: 101
Rep Power: 17
panara is on a distinguished road
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.
panara is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 16:23.