Rescaling velocity inlet conditions read from .fld files
******************* This email originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list https://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address. ******************* 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: 1. Find area of the inlet boundary 2. Take dot product of area normal and velocity vectors 3. 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
Hi Vishal, Sorry not to respond sooner. Things have been busy. Mohammad, has spent some time debugging this feature to add termperature field. @Mohammad can you see if you can help Vishal? Cheers Spencer. Spencer Sherwin FREng, FRAeS Head of Aerodynamics Section, Director of Research Computing Service, Professor of Computational Fluid Mechanics, Department of Aeronautics, s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> South Kensington Campus, Phone: +44 (0)20 7594 5052 Imperial College London, Fax: +44 (0)20 7594 1974 London, SW7 2AZ, UK http://www.imperial.ac.uk/people/s.sherwin/ On 1 Jun 2020, at 19:25, Vishal Saini <vishal.saini.nitj@gmail.com<mailto:vishal.saini.nitj@gmail.com>> wrote: This email from vishal.saini.nitj@gmail.com<mailto:vishal.saini.nitj@gmail.com> originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list<https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address. 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: 1. Find area of the inlet boundary 2. Take dot product of area normal and velocity vectors 3. 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 _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
participants (2)
-
Sherwin, Spencer J
-
Vishal Saini