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

UDS help?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2012, 02:40
Unhappy UDS help?
  #1
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
hi
I am beginner in fluent. I have a problem that have a convective B.C in outlet as follows:
000.png


that is a independent variable p,v and T.
can anyone help me for this case??
thanks ..
eh65 is offline   Reply With Quote

Old   July 26, 2012, 02:42
Default
  #2
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
sorry . the equation is :

000.png
eh65 is offline   Reply With Quote

Old   July 26, 2012, 03:42
Default
  #3
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Dear friend,

you can consider phi as a scalar and solve a modified UDS equation for that easily and set a Dirichlet BC instead, but I think you meant that phi is a dependent variable.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   July 26, 2012, 05:19
Default
  #4
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
thanks amir
but phi is a independent variable. but i dont know that what to do and begin from which step?
this is the problem of channel that air passes through it.
eh65 is offline   Reply With Quote

Old   July 26, 2012, 05:22
Default
  #5
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by eh65 View Post
thanks amir
but phi is a independent variable. but i dont know that what to do and begin from which step?
this is the problem of channel that air passes through it.
What's the governing equations and what is phi variable?!
__________________
Amir
Amir is offline   Reply With Quote

Old   July 26, 2012, 05:41
Default
  #6
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
(d/dt)(phi)+ U(d/dx)(phi)= 0
phi is pressure, tempreture and avreaged x-velocity (U)
eh65 is offline   Reply With Quote

Old   July 26, 2012, 05:51
Default
  #7
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by eh65 View Post
(d/dt)(phi)+ U(d/dx)(phi)= 0
phi is pressure, tempreture and avreaged x-velocity (U)
Ah, sorry I think this is sth different at first. Ok, here note that for some BCs you cannot set both velocity and pressure. But you have 2 choices:
1) using a separate UDS equation but it may face some difficulties in its own BCs
2) write a UDF like this:
phi_new=phi_old-U(d/dx phi)*dt
which is a approximation.

Bests,
__________________
Amir
Amir is offline   Reply With Quote

Old   July 26, 2012, 06:04
Default
  #8
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
thanks
in situation 2 i have to use flux uds?
eh65 is offline   Reply With Quote

Old   July 26, 2012, 06:17
Default
  #9
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 23
Amir is on a distinguished road
Quote:
Originally Posted by eh65 View Post
thanks
in situation 2 i have to use flux uds?
No! in this situation you wouldn't need any UDS. you're setting phi directly. (note that you can access gradient operator in UDF)
__________________
Amir
Amir is offline   Reply With Quote

Old   July 26, 2012, 12:57
Default
  #10
New Member
 
ebadi
Join Date: Jul 2012
Posts: 7
Rep Power: 14
eh65 is on a distinguished road
thanks amir
eh65 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
UDS stored to UDM do not show the same values swati_mohanty FLUENT 0 December 3, 2010 04:46
Doubts UDS Flux, UDS Unsteady for VOF model kel85uk FLUENT 0 March 17, 2010 09:53
A good question about UDS Z FLUENT 1 March 31, 2005 16:14
UDS David FLUENT 1 March 21, 2005 12:31
ODD: no UDS flux across interior boundary Bob FLUENT 1 February 25, 2002 20:15


All times are GMT -4. The time now is 22:39.