|
[Sponsors] |
adapt viscous resistance based on velocity / UDF |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2009, 12:30 |
adapt viscous resistance based on velocity / UDF
|
#1 |
New Member
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17 |
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! |
|
April 20, 2009, 08:12 |
|
#2 |
New Member
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17 |
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. |
|
April 20, 2009, 11:08 |
|
#3 |
New Member
Join Date: Apr 2009
Location: KA, Germany
Posts: 20
Rep Power: 17 |
Ok, just write it to UDM and FLUENT will be able to display it. Question remaining: a).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
viscous resistance coefficients in Porous media | choyong | FLUENT | 9 | December 15, 2014 21:01 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
Multi step transient UDF velocity profile problem | William177 | FLUENT | 1 | February 3, 2008 07:47 |
is there any method give node based velocity BC? | daniel | FLUENT | 2 | July 18, 2006 22:21 |
Time based udf, step gust | CJ | FLUENT | 3 | April 9, 2005 08:59 |