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

adapt viscous resistance based on velocity / UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2009, 11:30
Default adapt viscous resistance based on velocity / UDF
  #1
New Member
 
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17
Häwimeddel is on a distinguished road
I am new here, so hi everyone!

I am currently simulating the
(laminar) flow through a filter medium / porous zone. After an initial
state (viscous resistance of filter is homogeneous) I want to adapt
(increase) the viscous resistance of the filter based on the magnitude
of the velocity (~ flow) in each cell of the porous zone. This will
lead to a new solution of the problem. Now the viscous resistance can
be again adjusted etc.

Now I have some questions related to my work:

a)
Can I access (meaning read/write) the viscous resistance of a cell
somehow OUTSIDE of the DEFINE_PROFILE macro hooked to the viscous
resistance of the porous zone?

b) If I use the unsteady state
solver, I can set the iteration intervals at which the UDFs shall be
updated. Is there any way to tell FLUENT only to update the UDFs every
time step (regardless of the iterations)?

c) In general: How
could I approach the "stepwise" nature of the problem best? Meaning:
calculate a solution -> adjust the boundary conditions in this case
viscous resistance) using the solution -> calculate the new solution
-> adjust again etc.

Any help will be greatly appreciated!
Häwimeddel is offline   Reply With Quote

Old   April 20, 2009, 07:12
Default
  #2
New Member
 
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17
Häwimeddel is on a distinguished road
a) Still not sure if / how that works

b) One can use the variable first_iteration, which is true only at the first iteration of every time step

But I have another question: How can I display the cell values of the viscous resistance? I not only want to look at the velocities inside my porous zone, but also at the viscous resistances of the cells.
Häwimeddel is offline   Reply With Quote

Old   April 20, 2009, 10:08
Default
  #3
New Member
 
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17
Häwimeddel is on a distinguished road
Ok, just write it to UDM and FLUENT will be able to display it. Question remaining: a).
Häwimeddel 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
viscous resistance coefficients in Porous media choyong FLUENT 9 December 15, 2014 20:01
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Multi step transient UDF velocity profile problem William177 FLUENT 1 February 3, 2008 06:47
is there any method give node based velocity BC? daniel FLUENT 2 July 18, 2006 21:21
Time based udf, step gust CJ FLUENT 3 April 9, 2005 07:59


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