CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Exit Profile BC (https://www.cfd-online.com/Forums/su2/243714-exit-profile-bc.html)

jyotir July 2, 2022 09:09

Exit Profile BC
 
Hi,

I wish to apply a static pressure profile BC at the outlet (which I am having from experiment). Is there anything similar to the 'specified inlet profile' option?
Thank you.

Regards,
Jyoti

bigfootedrockmidget July 7, 2022 02:08

No, at the moment you cannot specify a profile at the outlet.



If you are in for some small programming you can do this:
In the function BC_Outlet in the file CIncEulerSolver for incompressible flow, it checks if you have a pressure outlet. You could replace the constant value of outlet pressure in the line
Code:

P_Outlet = config->GetOutlet_Pressure(Marker_Tag)/config->GetPressure_Ref();

with some array with values that you define, or a function depending on the coordinates.

jyotir July 7, 2022 23:26

Quote:

Originally Posted by bigfootedrockmidget (Post 831144)
No, at the moment you cannot specify a profile at the outlet.



If you are in for some small programming you can do this:
In the function BC_Outlet in the file CIncEulerSolver for incompressible flow, it checks if you have a pressure outlet. You could replace the constant value of outlet pressure in the line
Code:

P_Outlet = config->GetOutlet_Pressure(Marker_Tag)/config->GetPressure_Ref();

with some array with values that you define, or a function depending on the coordinates.

Thank you for your kind response.
I was going through the CTurbSSTSolver and CTurbSASolver routines, as my problem is a viscous, compressible one. I was going through the inlet profile portion therein and found that a bit involved and was so wondering about the possibility of any pre-existing exit profile BC.
Thanks again.

Regards,
Jyoti


All times are GMT -4. The time now is 07:01.