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

Design points using UDF and time variable outputs

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2019, 08:34
Question Design points using UDF and time variable outputs
  #1
New Member
 
Henrique Carneiro
Join Date: May 2019
Posts: 2
Rep Power: 0
henrique_car is on a distinguished road
Hello guys,

I am running a transient simulation on a eel whose movement and dynamic mesh is done via UDF. My run time is one period of the wave, after which it just starts over.
As I have many parameters I would like to test out, I thought about using the design points feature to vary the parameters and let it run for days without having to manually do each simulation with a specific combination of parameters.

I have not been able to do this and I have some questions regarding the design points feature that I hope you can shed some light in.
  1. Is it possible to use design points feature with an UDF?
  1. How does the output of design points work when using transient simulation and your desired output varies with time? As far as I know it gives a constant value for each DP.
  1. If this design feature can't be used/is not the best strategy to my problem, what do you recommend?

Thank you in advance and have a great day!
henrique_car is offline   Reply With Quote

Old   May 17, 2019, 01:09
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 33
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
easiest way is to use workbech and Parameters.
In UDF you may use RP_Get_Input_Parameter("variable name") macro to access parameter values

best regards
AlexanderZ is offline   Reply With Quote

Old   May 17, 2019, 08:28
Default
  #3
Member
 
ssixr's Avatar
 
sudhir
Join Date: Mar 2009
Location: india
Posts: 65
Rep Power: 17
ssixr is on a distinguished road
you could simply read a file and store the values in an array.

Quote:
Originally Posted by henrique_car View Post
Hello guys,

I am running a transient simulation on a eel whose movement and dynamic mesh is done via UDF. My run time is one period of the wave, after which it just starts over.
As I have many parameters I would like to test out, I thought about using the design points feature to vary the parameters and let it run for days without having to manually do each simulation with a specific combination of parameters.

I have not been able to do this and I have some questions regarding the design points feature that I hope you can shed some light in.
  1. Is it possible to use design points feature with an UDF?
  1. How does the output of design points work when using transient simulation and your desired output varies with time? As far as I know it gives a constant value for each DP.
  1. If this design feature can't be used/is not the best strategy to my problem, what do you recommend?

Thank you in advance and have a great day!
ssixr is offline   Reply With Quote

Old   May 18, 2019, 09:05
Default
  #4
New Member
 
Henrique Carneiro
Join Date: Jan 2019
Posts: 4
Rep Power: 7
henriquecar is on a distinguished road
Quote:
Originally Posted by ssixr View Post
you could simply read a file and store the values in an array.
What do you mean? How would I do it? Could you please elaborate?
henriquecar is offline   Reply With Quote

Old   May 21, 2019, 11:59
Default
  #5
Member
 
ssixr's Avatar
 
sudhir
Join Date: Mar 2009
Location: india
Posts: 65
Rep Power: 17
ssixr is on a distinguished road
please have a look at this link https://www.sharcnet.ca/Software/Fluent6/html/udf/node260.htm
ssixr is offline   Reply With Quote

Reply

Tags
design points, transient, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A variable expressing time steps in UDF? lcw FLUENT 6 March 28, 2020 04:07
User defined time step - Possible to put variable time stepping in it? maccheese Fluent UDF and Scheme Programming 19 June 4, 2018 10:49
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:56
UDF extern variable - mean time moment coefficient enry Fluent UDF and Scheme Programming 0 November 14, 2009 07:51


All times are GMT -4. The time now is 06:43.