|
[Sponsors] |
May 23, 2019, 15:08 |
CFX- Dynamic Porous Settings
|
#1 |
New Member
Engineer
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
Is there any way to adjust the porous domain parameters iteratively using cel to reach the target pressure loss ?
For example: Target pressure loss = 20 mbar Assumption: Pressure loss only due to linear coefficient (Porous domain) To avoid user input , can one use a cel script inside a porous domain to iteratively change the linear coefficient used in Direction/Loss model ? Any input would be helpful! Cheers ! |
|
May 23, 2019, 19:48 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
You cannot do iterations in CEL.
I would do this by solving it at several coefficient values and plot the function to estimate the correct coefficient. It won't take long to do and it is simple - your suggestion will introduce new stability problems and is potentially quite difficult to keep stable.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 24, 2019, 02:34 |
|
#3 |
New Member
Engineer
Join Date: Mar 2013
Posts: 27
Rep Power: 13 |
If the geometry was simpler, i could have done what you have suggested. I am trying to compute the flow behaviour inside a fuel cell stack (around 300 plates). The steady state simulation is computationally intensive and it takes about 48 Hours for a simulation to finish.
Currently, there is no testbench data for the simulated model. Rather a pressure drop is measured for a certain volumetric flow.Trying to do a parameter study is not feasible. If there is a way to change the porous coefficients dynamically during the simulation, the periodicity of change would only occur every 50 iterations or more and certainly not every iteration |
|
May 24, 2019, 07:44 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
nnprashant - You appear to be forgetting that iterating for your porosity parameter is not a trivial exercise. You will need to make it numerically stable and converge. And you say you can do that inside a model which appears to be large and takes 48 hours to converge to steady state? You and making a simulation which is challenging because it is large and making it challenging squared by trying to iteratively solve a numerical problem inside it.
If you do it the simple way I recommend then yes, you are going to have to run it a few times. But you are going to have to run it MORE with your approach, so your approach will be slower. And that is assuming you can get your approach working - which is challenging in itself. Why not just do the simple way and you can be confident you will have a result in a week or two, compared to your complex approach and I guarantee you won't have it finished in a month
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic mesh motion using CFX | Anant | CFX | 13 | November 6, 2016 05:39 |
Is there a way to change settings in CFX pre file or play sessions on it without open | Pierre1 | CFX | 4 | March 13, 2015 16:38 |
Dynamic mesh settings? | Whitworth | ANSYS | 2 | February 20, 2012 08:48 |
CFX 4.4 - Porous Model | Joan | CFX | 0 | October 6, 2005 15:12 |
Does CFX support LES, local dynamic mdoel | JJ | CFX | 0 | August 28, 2003 22:15 |