CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

Define Paramenter in ANSYS Workbench and use it as a UDF Variable

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 29, 2014, 16:16
Default Define Paramenter in ANSYS Workbench and use it as a UDF Variable
  #1
New Member
 
Rafael Cerqueira
Join Date: Mar 2012
Posts: 10
Rep Power: 5
rafacerq is on a distinguished road
Hello,

Is there a way to load a parameter defined in the ANSYS Workbench into my UDF?

There's a function called "RP_Get_Real()" that returns a "Scheme variable".What's this "Scheme variable?"

Thanks!
rafacerq is offline   Reply With Quote

Old   April 1, 2014, 10:30
Default
  #2
New Member
 
Join Date: Apr 2014
Posts: 1
Rep Power: 0
SmallEddy is on a distinguished road
Hi
I have the same problem ;/. Rafacerq, have you found any solution ??
SmallEddy is offline   Reply With Quote

Old   April 1, 2014, 11:10
Default
  #3
New Member
 
Rafael Cerqueira
Join Date: Mar 2012
Posts: 10
Rep Power: 5
rafacerq is on a distinguished road
No, i haven't found a solution.

I abandoned the Ansys workbench for my parametric study and created a script with the journal files.
rafacerq is offline   Reply With Quote

Old   June 25, 2015, 15:14
Default Found this
  #4
Member
 
pranab_jha's Avatar
 
Pranab N Jha
Join Date: Nov 2009
Location: Houston, TX
Posts: 83
Rep Power: 7
pranab_jha is on a distinguished road
Guys,

I found this article, might be just what you are looking for.

http://www.computationalfluiddynamic...sys-workbench/
pranab_jha is offline   Reply With Quote

Old   June 26, 2015, 05:24
Default
  #5
New Member
 
Join Date: Nov 2014
Posts: 27
Rep Power: 2
maverick123 is on a distinguished road
Hi,

If you want to use WB parameters as input to fluent, you need to use command "Register Startup Scheme file" (Right click on the setup in fluent module in WB schematic). eg. a.scm

In a.scm you need to initialize variable and update value from WB.
maverick123 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



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