Set reference static pressure through VALUE fields in PressureOutflowBC
As of now, PressureOutflowBC and PressureOutflowNonReflectiveBC set the reference static pressure through the PARAMETER
pInf, i.e.:
in CFSBndCond.cpp
m_session->LoadParameter("pInf", m_pInf, 101325);
in PressureOuflowBC.cpp
// Get internal energy
Array<OneD, NekDouble> pressure (npts, m_pInf);
Both reflective and non-reflective routines should be modified to allow for the pressure to be passed by the VALUE
parameter, for instance:
<REGION REF="1">
<D VAR="rho" USERDEFINEDTYPE="PressureOutflow" VALUE="0" />
<D VAR="rhou" USERDEFINEDTYPE="PressureOutflow" VALUE="0" />
<D VAR="rhov" USERDEFINEDTYPE="PressureOutflow" VALUE="0" />
<D VAR="rhow" USERDEFINEDTYPE="PressureOutflow" VALUE="0" />
<D VAR="E" USERDEFINEDTYPE="PressureOutflow" VALUE="pStat1" />
</REGION>
Additionally, perhaps is worth to combine PressureOuflowBC.cpp and PressureOuflowFileBC.cpp in order to avoid code duplication.