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

How to use scaleab function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 18, 2008, 14:57
Default I had a code for 1.4.1 that us
  #1
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 80
Rep Power: 8
juho is on a distinguished road
I had a code for 1.4.1 that used "scale", but when I tried to compile it with the 1.5 I got the same error. Seems something has changed regarding it in the 1.5.

However, it's not a current problem for me anymore.
juho is offline   Reply With Quote

Old   October 18, 2008, 17:06
Default Hi, in OF1.5, the function
  #2
Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 95
Rep Power: 9
hannes is on a distinguished road
Hi,

in OF1.5, the function scale(a,b) is now called cmptMultiply(a,b).

Regards, Hannes
hannes is offline   Reply With Quote

Old   October 19, 2008, 05:10
Default Thank you Hannes! Where can I
  #3
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 207
Rep Power: 9
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Thank you Hannes!
Where can I find the other tensor algebra operators? Because I've the suspect that scale is not the only op that changed his name, also diag() do not work anymore!
In any case the Programmer's guide is not up-to-date, the reference to scale() is still there!
ivan_cozza is offline   Reply With Quote

Old   October 19, 2008, 07:33
Default Hi Ivan, found it in $FOAM_
  #4
Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 95
Rep Power: 9
hannes is on a distinguished road
Hi Ivan,

found it in $FOAM_SRC/OpenFOAM/lnInclude/VectorSpaceI.H.
I don't know where diag() is defined, but you could search for its definition in the OF1.4.1 sources and then check the OF1.5 sources.

Regards, Hannes
hannes is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
udf function!! shayej FLUENT 1 February 5, 2009 09:37
Cp as a function Mareike CFX 4 April 8, 2008 04:55
If function PANKAJ CFX 3 January 13, 2008 04:53
Stream Function - Potential Function coordinates harish Main CFD Forum 8 June 25, 2005 13:18
Max y+ as a function of Re Fred Uckfield Main CFD Forum 6 October 17, 2001 11:15


All times are GMT -4. The time now is 12:39.