|
[Sponsors] |
September 3, 2013, 02:52 |
How to distinguish multiple inlets
|
#1 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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? |
|
September 3, 2013, 08:50 |
|
#2 |
Member
Akash Chaudhari
Join Date: Dec 2012
Location: Pune, India
Posts: 31
Rep Power: 14 |
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) INLET_TYPE= TOTAL_CONDITIONS % % Inlet boundary marker(s) with the following formats (NONE = no marker) % Total Conditions: (inlet marker, total temp, total pressure, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. % Mass Flow: (inlet marker, density, velocity magnitude, flow_direction_x, % flow_direction_y, flow_direction_z, ... ) where flow_direction is % a unit vector. MARKER_INLET= ( NONE ) |
|
September 6, 2013, 07:35 |
|
#3 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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
|
|
September 12, 2013, 04:39 |
|
#4 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
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 |
|
September 24, 2013, 03:33 |
|
#5 |
Member
Sreekanth
Join Date: Jun 2013
Location: India
Posts: 30
Rep Power: 13 |
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? |
|
October 3, 2013, 15:24 |
|
#6 | |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
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 |
||
October 19, 2018, 09:54 |
|
#7 |
Member
Join Date: Mar 2017
Posts: 61
Rep Power: 9 |
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. |
|
November 1, 2018, 07:39 |
|
#8 |
Member
Join Date: Mar 2017
Posts: 61
Rep Power: 9 |
Edit: I guess Riemann BCs will solve the problem
Last edited by atelcikti1; November 1, 2018 at 10:33. |
|
Tags |
multiple injections, multiple inlets |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Multiple inlets problem | Jeff | Main CFD Forum | 2 | August 17, 2005 11:48 |
Multiple Inlets | Charlie V | FLUENT | 0 | May 28, 2001 03:29 |
multiple inlets | Bob Haase | Main CFD Forum | 1 | January 19, 2001 21:57 |