|
[Sponsors] |
November 14, 2024, 08:37 |
Update Boundary Condition every 50 Iteration
|
#1 |
New Member
Join Date: Oct 2023
Posts: 1
Rep Power: 0 |
Hi,
I want to simulate a centrifugal compressor for a turbocharger. In my simulation domain I have a CAVITY which I model as a mass flow outlet that depends on the mass flow of the INLET with the formula MassFlowCavity = massFlow()@INLET*0.0004 in some cases this will lead to an oscillating mass flow at the INLET (and OUTLET) of the main flow. So I have the idea to only update the CAVITY mass flow outlet every 50 Iteration. MassFlowCavity = if(mod(citern, 50) == 0, massFlow()@INLET*0.0004, *DONT CHANGE*) I dont quite know what to put for *DONT CHANGE*. |
|
November 14, 2024, 17:12 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
There is no simple way of doing this in CFX.
If you have specified the mass flow rate through the device, then just specify the mass flow rate in the cavity directly (not as a function of another boundary).
__________________
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 |
Windkessel boundary implementation | Filippo70 | OpenFOAM Programming & Development | 0 | November 7, 2024 12:04 |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
UDF for Automatic Solution Initialization for previous case data file | gartz89 | Fluent UDF and Scheme Programming | 6 | March 30, 2020 08:38 |
Out File does not show Imbalance in % | Mmaragann | CFX | 5 | January 20, 2017 11:20 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |