CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

expression error in parametric set

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 14, 2012, 05:43
Default expression error in parametric set
  #1
Senior Member
 
Join Date: Jul 2010
Posts: 147
Rep Power: 7
keeper is on a distinguished road
Hello everyone.

I am trying to define expression for first layer thickness as an input parameter in CFX study. But I am not able to define function exponantion (^).

The error message is: " unsupported operand type(s) for ^: 'float' and 'float'

How can I bypass this issue? Can anyone help please?

I have also one more question. Is it possible to modify mesh during the simulation? For example to calculate first few iterations and then use Reynolds number from this simulation to define first layer thickness for "improved simulation"?

Thanks for any reply.

Regards
keeper is offline   Reply With Quote

Old   February 14, 2012, 05:52
Default
  #2
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
Have you tried ** instead of ^?
Just a guess as CFX uses a lot of FORTRAN and in FORTRAN you have to write **.
monkey1 is offline   Reply With Quote

Old   February 14, 2012, 06:02
Default
  #3
Senior Member
 
Join Date: Jul 2010
Posts: 147
Rep Power: 7
keeper is on a distinguished road
thank you for quick reply. It really works so thanks again.
keeper is offline   Reply With Quote

Old   February 14, 2012, 06:04
Default
  #4
Senior Member
 
Join Date: Jul 2010
Posts: 147
Rep Power: 7
keeper is on a distinguished road
concerning the second question any ideas pls?
keeper is offline   Reply With Quote

Old   February 14, 2012, 06:07
Default
  #5
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 120
Rep Power: 6
monkey1 is on a distinguished road
not really.
Except from running the simulation, stopping it at a special reynoldsnumber, remeshing, setting up a new file and restarting the computation...but i doubt it works automatically...

but as I said...dunno much about that...not to say nothing...never had such a problem and therefore never dealt with that subject...
monkey1 is offline   Reply With Quote

Old   February 14, 2012, 06:20
Default
  #6
Senior Member
 
Join Date: Jul 2010
Posts: 147
Rep Power: 7
keeper is on a distinguished road
ok..and is it possible to use some output parameter as a part of expression for input parameter?
keeper is offline   Reply With Quote

Old   February 14, 2012, 11:22
Default
  #7
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 236
Rep Power: 12
brunoc is on a distinguished road
I guess you're running your case in Workbench, so yes, it is kind of possible. But WB doesn't really understand circular references, so every time your simulation is run and the output parameter is refreshed you have to hit the 'Update' button on WB so it restarts and updates everything with the new input parameter.

To make relations between parameters, simply click your input parameter at the 'Parameter Set' view and at the 'Description' box write the ID of the output parameter from the other cell (P1, P2, etc).

Cheers
brunoc 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
What value shall I set for the Convergence criteria? steventay CFX 7 May 14, 2010 12:44
$FOAM_USER_APPBIN & LIBBIN variables not set rassilon OpenFOAM Installation 2 February 16, 2010 21:54
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 02:40
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 13:29


All times are GMT -4. The time now is 03:59.