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

CFX- Dynamic Porous Settings

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nnprashant

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2019, 14:08
Default CFX- Dynamic Porous Settings
  #1
New Member
 
Engineer
Join Date: Mar 2013
Posts: 18
Rep Power: 13
nnprashant is on a distinguished road
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 !
nnprashant is offline   Reply With Quote

Old   May 23, 2019, 18:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,727
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   May 24, 2019, 01:34
Default
  #3
New Member
 
Engineer
Join Date: Mar 2013
Posts: 18
Rep Power: 13
nnprashant is on a distinguished road
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
Goenitz likes this.
nnprashant is offline   Reply With Quote

Old   May 24, 2019, 06:44
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,727
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks 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
Dynamic mesh motion using CFX Anant CFX 13 November 6, 2016 04: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 15:38
Dynamic mesh settings? Whitworth ANSYS 2 February 20, 2012 07:48
CFX 4.4 - Porous Model Joan CFX 0 October 6, 2005 14:12
Does CFX support LES, local dynamic mdoel JJ CFX 0 August 28, 2003 21:15


All times are GMT -4. The time now is 19:54.