|
[Sponsors] |
DarcyForchheimer crashes when sudden changes in 'D' |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 10, 2023, 22:42 |
DarcyForchheimer crashes when sudden changes in 'D'
|
#1 |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Hi Foarmers,
I am running a chtmultiRegionFoam and there is a flow channel that I want to close and open time to time. And I am using OF10. After bit of survey, I thought it would be easiest to use ''explicitPorositySource'' in the fluid region with high resistance values of 'D' (D=1e20) when I want to block the flow and ''D=0'' when I want the flow to go freely. The D=1e20 stops the flow effectively and D=0 opens it and I can clearly see the changes in the velocity profile when I manually change the D value. Problem now is the solver becomes so unstable (crashes ) when I suddenly change the 'D' value from 1e20 to 0. Any ideas resolving the issue? Is there a way to change the D gradually with respect to time ? Thank you Dasith |
|
July 12, 2023, 07:36 |
timeActivatedFileUpdate
|
#2 |
Member
Roland
Join Date: Mar 2009
Location: Netherlands
Posts: 93
Rep Power: 17 |
timeActivatedFileUpdate?
https://github.com/OpenFOAM/OpenFOAM...edFileUpdate.H (BTW, 1e20 seems a bit excessive to me. A lower value might produce similar results with a more stable simulation.) |
|
July 12, 2023, 21:33 |
|
#3 | |
Senior Member
Desh
Join Date: Mar 2021
Location: Sydney
Posts: 118
Rep Power: 5 |
Quote:
Thank you very much, works perfectly well now. if anyone interested, following is what I used in the functions (in controlDict ) PHP Code:
|
||
Tags |
darcyforchheimer, explicitporositysource, unstable behaviour |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help how to meshing in sudden contraction and sudden expansion 2D geometry pipe | Khai123 | Main CFD Forum | 2 | April 24, 2022 04:15 |
fvOptions- DarcyForchheimer Modification | us7 | OpenFOAM Running, Solving & CFD | 3 | August 6, 2020 04:35 |
[ICEM] best blocking strategy for sudden expansion | pulplus | ANSYS Meshing & Geometry | 3 | August 3, 2020 12:46 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 03:05 |
flo-efd v11.0.0 crashes | YoavF | FloEFD, FloWorks & FloTHERM | 3 | June 21, 2012 13:37 |