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

expression error in parametric set

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2012, 04:43
Default expression error in parametric set
  #1
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
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, 04:52
Default
  #2
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
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, 05:02
Default
  #3
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
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, 05:04
Default
  #4
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
keeper is on a distinguished road
concerning the second question any ideas pls?
keeper is offline   Reply With Quote

Old   February 14, 2012, 05:07
Default
  #5
Senior Member
 
Join Date: Jul 2011
Location: Berlin, Germany
Posts: 173
Rep Power: 14
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, 05:20
Default
  #6
Senior Member
 
Join Date: Jul 2010
Posts: 152
Rep Power: 15
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, 10:22
Default
  #7
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
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


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
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 20: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 01:40
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 13:29


All times are GMT -4. The time now is 15:48.