How to distinguish multiple inlets
Hi,
My problem involves a primary flow and a secondary cross flow, i.e i have two inlets at different locations. How do I implement this in the configuration file. The file shows "inlet marker(s)" , so there should be a way to give multiple inlet markers. Please tell me what is the synatax for this. Also I want the both the inlet velocities to be different. How do I implement this? |
Refer to the template configuration file provided with the latest version of SU2. It goes by the name config_template.cfg. I found the following in it which might be useful in your case:
Code:
% Inlet boundary type (TOTAL_CONDITIONS, MASS_FLOW) |
Thanks a lot Akash. I think the inlet_type option will help me out. I did not know of the config_template.cfg file either. Now that I find it, i see that there is a short explanation of how to give the options. I
|
Yep, you guys have it... you can specify as many inlets as you would like if you simply continue the list with the proper inputs. For instance, something like the following would give you two inlets with different prescribed inputs:
MARKER_INLET= ( inlet_1, 300.0, 100000.0, 1.0, 0.0, 0.0, inlet_2, 310.0, 110000.0, 0.0, 1.0, 0.0 ) Cheers, Tom |
Hi,
I found this method useful. But there is something more I want to do. I read , SU2 has multi phase simulations. In my problem, I have air in the primary inlet and a different gas in the secondary inlet. I need to analyze the mixing of the two and get the concentration profiles at different locations. For this I need to specify that the gas at secondary inlet is different from the primary fluid. Can I do this problem in SU2? |
Quote:
Yes, multiphase is an active research part of SU2 (in particular multiphase research). We are using Level Set, and we are migrating from a segregated strategy to a fully coupled method. So, our recommendation is to fork the https://github.com/su2code repository and update the solver frequently. In order to specify what you propose, for the time being we are using the subroutine void CEulerSolver::SetInitialCondition(CGeometry **geometry, CSolver ***solver_container, CConfig *config, unsigned long ExtIter) { in solver_direct_mean.cpp And the boundary conditions are updated in situ in void CEulerSolver::BC_Inlet(CGeometry *geometry, CSolver **solver_container, CNumerics *conv_numerics, CNumerics *visc_numerics, CConfig *config, unsigned short val_marker) and void CEulerSolver::BC_Outlet(CGeometry *geometry, CSolver **solver_container, CNumerics *conv_numerics, CNumerics *visc_numerics, CConfig *config, unsigned short val_marker) same file. My recommendation is to follow the boolean freesurface to understand how the air/water case works and the introduce the modifications that you need for your problem. Best, Francisco |
Hi guys,
How can I define two separate inlet which are defined by pressure inlet (total condition) and velocity inlet (mass flow). As far as I try SU2 does not allow you to define two inlet type. Thanks. |
Edit: I guess Riemann BCs will solve the problem
|
All times are GMT -4. The time now is 20:34. |