outlet-vent pressure adaption
following case (see: http://www.cfd-online.com/Forums/flu...daption.html):
I do have 3 pressure-vent outlets. At the end I want to have a specific mass flow rate at each outlet (-+5%). If I use target mass flow rate my calculations crash (pressure is adapted every time step, right?)
So I want somehow a function (UDF?) which check the mass flow after 1000 iterations. If it is within a limit its fine, if not the pressure should be adapted (lets say old_pressure - 1000) ... and this gain every 1000 iterations ...
Can you help me with this? I had no experience with UDF so far and I just did it manually (stop after 1000 iterations, check mass flow, change pressure) ...
|All times are GMT -4. The time now is 10:07.|