Hi all,
I have a little query regarding reading time varying turbulent BC from .fld files in IncNSSolver. With Dave 's helping hand I am now able to read in the .fld BC files. However, to reduce pressure fluctuations at the inlet, I'd like to rescale the inlet flow-rate to a required flow-rate for every time-step. This would typically include the following steps:
- Find area of the inlet boundary
- Take dot product of area normal and velocity vectors
- Multiply the velocity vector with a correction factor (Q_ideal/Q_calculated)
In this regard, the function VelocityCorrectionScheme::MeasureFlowrate looks interesting. However, I have little idea where to start with. Could someone drop any hints on where can I start with this in the code?
BR,
Vishal