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

Question about Fluent monitor and input parameter

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2014, 04:30
Question Question about Fluent monitor and input parameter
  #1
Senior Member
 
Anna Tian's Avatar
 
Meimei Wang
Join Date: Jul 2012
Posts: 494
Rep Power: 15
Anna Tian is on a distinguished road
Hi,

Two questions:

1. How to set tan(15 degrees) as the value of the input parameter? Fluent tells that it only accept a real value. CFX can do this easily. So I guess there should be a way for Fluent to do this.

2. I'd like to set a input parameter as a force vector in the Fluent monitor. But fluent also doesn't accept it. May I ask how to set it?
Attached Images
File Type: jpg Untitled.jpg (39.5 KB, 20 views)
File Type: jpg Untitled2.jpg (41.0 KB, 13 views)
__________________
Best regards,
Meimei
Anna Tian is offline   Reply With Quote

Old   January 27, 2014, 18:15
Default
  #2
Senior Member
 
Andrew Kokemoor
Join Date: Aug 2013
Posts: 122
Rep Power: 13
Kokemoor is on a distinguished road
1.) As far as I know, Fluent isn't able to do this directly, but Workbench can. You can define your input parameter in Fluent, then go back to Workbench and give it an expression rather than a value. This can also be a function of other parameters.

2.) I'm not sure about this, besides the possibly inconvenient solution to calculate it yourself from the components after the fact.
Kokemoor is offline   Reply With Quote

Old   January 28, 2014, 02:12
Default
  #3
Senior Member
 
Join Date: Aug 2011
Posts: 421
Blog Entries: 1
Rep Power: 21
blackmask will become famous soon enough
If you use TUI (text user interface) you could use scheme to do that.
Code:
> (define rad (lambda (x) (* (atan 1) (/ x 45))))
> (define tand (lambda (x) (tan (rad x))))
> (tand 15)
0.26794919
blackmask is offline   Reply With Quote

Old   March 19, 2015, 08:32
Question
  #4
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
Quote:
Originally Posted by Kokemoor View Post
1.) As far as I know, Fluent isn't able to do this directly, but Workbench can. You can define your input parameter in Fluent, then go back to Workbench and give it an expression rather than a value. This can also be a function of other parameters.

2.) I'm not sure about this, besides the possibly inconvenient solution to calculate it yourself from the components after the fact.
I tried Workbench to achieve this. But I'm still not able to give any expression to Force Vector as indicated in the attached figure.
Attached Images
File Type: jpg figure.jpg (54.5 KB, 13 views)
Pierre1 is offline   Reply With Quote

Old   March 19, 2015, 09:43
Default
  #5
Senior Member
 
Andrew Kokemoor
Join Date: Aug 2013
Posts: 122
Rep Power: 13
Kokemoor is on a distinguished road
My suggestion would be to create multiple output parameters from Fluent, one for each coordinate direction (F_X, F_Y, F_Z), then create another parameter in Workbench that calculates the vector in the desired direction from those components. e.g. in 2D, F_X*cos(theta)+F_Y*sin(theta), where theta is another input parameter.
Kokemoor is offline   Reply With Quote

Old   March 19, 2015, 09:49
Default
  #6
Member
 
Pierre
Join Date: Mar 2015
Posts: 37
Rep Power: 11
Pierre1 is on a distinguished road
Quote:
Originally Posted by Kokemoor View Post
My suggestion would be to create multiple output parameters from Fluent, one for each coordinate direction (F_X, F_Y, F_Z), then create another parameter in Workbench that calculates the vector in the desired direction from those components. e.g. in 2D, F_X*cos(theta)+F_Y*sin(theta), where theta is another input parameter.
I see. So you compute the vectors all in Workbench.
Pierre1 is offline   Reply With Quote

Old   March 19, 2015, 10:17
Default
  #7
Senior Member
 
Andrew Kokemoor
Join Date: Aug 2013
Posts: 122
Rep Power: 13
Kokemoor is on a distinguished road
Yeah, I think that's probably the simplest way. I'm pretty sure you could do it in scheme, maybe even in a single output parameter, but doing it in Workbench would be straightforward and reliable.
Kokemoor 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



All times are GMT -4. The time now is 04:07.